Home / Tutorials

Tutorials

Using a Thermocouple with Arduino

MAX6675 Thermocouple to Digital Converter

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

STM32F407VE black board features

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()

STM32F1 serial output

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

incremental rotary encoder

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

e-ink display front

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 »