Guides for building a DIY water level monitoring system using Ultrasonic Sensor and ESP32 or Arduino UNO are quite common. In real life, using an Ultrasonic Sensor for a water tank is often not practical because a water tank can have 1-2 sources of water falling to fill up the tank from the top. Also, with Ultrasonic Sensor, you need to make sure that the position of the sensor is optimum in a way … [Read more...]
How Internal Pull Up/Down Resistor Works (Arduino/ESP32)
In the context of Arduino/ESP32, we usually add a resistor to the push button to complete the setup. Instead of using a resister, we can define the resister in code. In general, pull-up resistors are the more common simply because that is a thing we need most of the time due to the nature of logic inputs. In this article, we will explain how pull-up resistors work. Pull-down resistors will work in … [Read more...]
Why ESP32 is a Popular Microcontroller Solution?
The ESP32 is a low-cost, low-power, 32-bit microcontroller family introduced in 2016 by the Chinese company Espressif. It is an open design, open-source-friendly family of microcontrollers which enable the construction and networking of network-based actuators and sensors. The GNU Compiler Collection including the toolchain is available as a free development tool. The ESP32 family has various … [Read more...]
ESP32 Arduino IoT Relay Control with Google Home, Alexa and Manual Switch
Recently I have discovered a no-code IoT platform named SirnicPro for Arduino, ESP32-based projects which offers almost everything the professional IoT devices allow. No-code platform means the Arduino sketch is automatically generated. Practically there is nothing to learn since everything is click, configure and generate. This is kind of project is quite difficult to produce with a … [Read more...]
Getting Started with Arduino IoT Cloud with ESP32
Arduino IoT platform is great particularly if you want to avoid backend configuration, and management and want a nice mobile app UI. There are certain differences with self-hosted IoT solution and platforms such as IBM Watson IoT. As it is officially from the creators of Arduino, it is easy on certain parts of the work but it is obscured too. The documentation is not easy for everyone and that is … [Read more...]
ESP32 Arduino IoT Relay Control (PHP MySQL Based Self Hosted)
This is the first guide for the series of guides to replace the setup for IBM Watson IoT based projects. If you look at our old articles and GitHub repository, you will realize that we were publishing IBM Watson IoT-centric sketches for the past 4 years. A significant time and effort were spent and our innocent readers were using them. Suddenly they came to know that IBM Watson IoT platform will … [Read more...]
How to Create Own PHP Based IoT Webserver for ESP32 Arduino
You can create your PHP MySQL-based personal IoT web server, even use WordPress or some PHP-based admin panel, toggle button, gauges etc. We can always send HTTP POST Request to a Secure Webpage with PHP, but that will need a web server which will support the protocol. You can do it with ThingsBoard, but that is not what we are talking about. We are talking about a simple setup where you … [Read more...]
Reading Voltage With Arduino
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...]