Reading voltage with Arduino is easy. You'll need only a potentiometer to adjust the resistance. Despite being easy, this project is great for kids because it explains the basics of the 5V logic of electronics. The components you need are a breadboard, an Arduino Uno R3, a potentiometer and two jumpers. With digital input, 5V is perceived as HIGH and 0V as LOW. But, electricity does not only … [Read more...]
ESP32 Arduino WS2811 Pixel/NeoPixel Programming
The WS2811, WS2812, WS2812B, WS2813, and SK6812x are known as NeoPixel or Pixel. They are RGB LEDs with a controller. Particularly WS2811 RGB LED strings are commonly sold in India during Diwali and in North America during Halloween, Christmas etc. Bhoot Chaturdashi in India and Halloween in North America are equivalent. Indian wedding typically involves a lot of lighting. These occasions … [Read more...]
What is Over-the-Air Programming (OTA Programming)?
An Over-the-Air Programming (OTA Programming) is a software update that is performed via a radio interface (typically Wi-Fi or cellular network). Over-the-air updates are mainly used on smartphones and similar mobile devices and use the devices' existing Internet connection. Delta encoding is sometimes used to drastically reduce the amount of data to be transferred. Firmware Over-the-Air (FOTA) … [Read more...]
ESP32 Arduino : Control LED with a GUI Toggle Button
Designing two buttons with separate ON/OFF functions is easy and usually, we can avoid async server or dynamic programming language. When we need a checkbox, we can use Javascript on the server side. iOS style toggle button is essentially a checkbox (or a radio button or it can be anything similar). Fundamentally toggle button is a "cheating"! You can create a toggle switch just with CSS 3. It is … [Read more...]
What are the Best Arduino Projects for Beginners?
Arduino is a platform which combines open-source software and hardware. Apart from the official Arduino, there are Arduino-compatible boards (such as ESP32) which can use the Arduino IDE to let you upload the program. The best projects for Arduino for beginners are limited to the basic projects which help the creators to understand the theory of electronics. On this website, we have over 200 … [Read more...]
Types of Flip-Flop in the Context of Arduino
Usually, by the word "flip-flop", we understand one on and another off. That is the usual reason behind searching our guide on Arduino Flip-Flop Blinking LED With Push Button. While that is true (to some extent) as a visual effect, for the advanced flip-flop, we need to know some theory. When we are programming 2-3 LEDs, the logic remains easy, hence we could avoid the theoretical … [Read more...]
ESP32 ESP Rainmaker Cloud for Arduino
Espressif is a company that has revolutionized the low-cost WiFi, BLE development. With classic ESP32 WROOM module, we have shown Controlling AC Powered Appliances With ESP32 and IBM Watson IoT with zero monthly cost. But the coding part with IBM Watson IoT was not easy. Although, we have pointed out how to use Android Apps to Control Devices Connected to IBM Watson IoT, essentially it was not … [Read more...]
How to Replace delay() with millis() : Arduino Programming
In many of the sketches shared by us have the millis() instead of delay(). Not always it is possible to explain a function within a guide on how to do a thing. In this article, we will explain about millis() and provide some easy examples so that you can reproduce yourself. It is normal that the Arduino users initially use the delay() function. The main reason is the blink example is the thing … [Read more...]
Arduino LED Candle : Some Codes to Help You
Thanks to China for making various designs of LED candles available all over the world. Indeed, most of these LED candles are not closest to the real candle, but they do give us the idea to think around playing around creating our microcontroller controlled LED candle. I was looking for a realistic feel and soon discovered that two people in project sites already worked a lot behind the creation … [Read more...]
ESP32 and Coin Vibrator Motor
Coin vibration motors or small vibration motors can be used for different purposes, such as an alert instead of a beep. A Vibration Motor Module is sold which includes the required resistors and transistors. They cost around $3-$4 per piece. 10mm and 12mm coin vibration motors are also sold as a component. If you are using the module, you can connect : ----------------------- ESP32 |Vibration … [Read more...]
Raspberry Pi Pico vs ESP32
You can get the Raspberry Pi Pico on Amazon for just under $4 plus shipping costs. The much older ESP32 you get in various forms for just under $10. You see, you get the ESP32 for a little more money with additional sensors or a display to display sensor data (or even the IP address of the microcontroller) or a camera. On the Raspberry Pi Pico, there are quite new chip RP2040 installed which was … [Read more...]