Temperature is a very common parameter in all of science and engineering. The behavior of electronic components drastically changes with temperature; storage of food and medicine relies on the correct temperature; getting the right metal type depends on how much heat is applied; fever means our body temperature goes beyond …
Read More »Sending and Receiving Data over STM32 USB
The serial port is the most usual comm channel between a microcontroller and a computer. However, the different voltage levels and loss of the RS-232 port in modern computers led to the use of USB-TLL converter chips like CH340, CP2102, etc. This is what happens in the NodeMCU ESP8266 and …
Read More »STM32F1 Serial Port and printf()
Needless to say, a serial output is a necessary tool in debugging embedded system applications. Placing the right messages in the right place will help you save hours in figuring out what went wrong in your code. Arduino programmers are very familiar with Serial.print() and its derivatives. But how can we …
Read More »Using Rotary Encoders with Arduino
There exists a sensor for almost all physical parameters. Temperature? Pressure? Weight? Gas Concentration? We’ve written a tutorial for them all on this site. This time, we will try to build a device that measures rotational position. The same device can measure rotational speed too. Of course, we’re talking about the …
Read More »Using an E-ink Display with Arduino
Ever wondered why e-book readers don't use LCDs, OLEDs, or TFT displays? This is because, with the same usage, e-paper or e-ink displays consume 0.008% power compared to a TFT display. In this article, I'll be featuring an e-ink display that can be readily used with Arduino and other microcontrollers.
Read More »Get Any Reddit Post using ESP32
Reddit's API has been piquing my curiosity for some time. However, my past experiences with APIs, especially with Twitter and Facebook have left a bad taste in my mouth. Then one day I had the courage to try it again and to my surprise, it's far easier than it looks!
Read More »Arduino Pressure Sensor Tutorial | MPS20N0040D
This site has built up a number of tutorials on how to measure almost anything. Now, we add to that list an Arduino pressure sensor featuring the MPS20N0040D and the HX710B Analog-to-Digital IC.
Read More »MAX30102: An Improved Heart Rate Sensor for Arduino
Have you read the MAX30100 tutorial and are still having trouble making that chip work? Maybe it’s time to use another Arduino heart rate sensor. The MAX30102 module has a better hardware design and software support. I’ll explain why after the jump.
Read More »Raspberry Pi Pico and HC-SR501 Motion Sensor
Now that we have set up the Raspberry Pi Pico for the Arduino environment, it’s time to build real projects. First on the list is a simple motion detector using a Passive Infrared Receiver (PIR) sensor.
Read More »Using the Raspberry Pi Pico with Arduino
In my previous post, I showed how challenging it was to build code for the Raspberry Pi Pico in C/C++. Fortunately, the microcontroller is now fully supported by the Arduino IDE! This post shows you how to program the Raspberry Pi Pico as if it’s an Arduino.
Read More »