We have published several simple articles on Arduino, LED and pushbuttons. They are a great learning tool for the children, as well as great "templates" for the adults to start a new project. Here is a list of some of the old articles: Arduino 2 Push Button One LED: Switch On/Off Make Beep Sound in Arduino Project Upon Push Button Press Arduino Blink LED Rate Depending On Push Button … [Read more...]
How to Create a PHP Installer Script to Create Tables in MySQL Database
When we need to create a small dynamic web application, using PHP and MySQL are our obvious options. When we need to create a self-hosted IoT solution like this guide ESP32 Arduino IoT Relay Control, either we need to instruct the user to create a MySQL database, create tables and populate with data or we can create an installer script so that the job is "automatically" done. When we install … [Read more...]
ESP32 Arduino Water Tank Level Monitoring Using Laser ToF Sensor
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...]