Note: The code is intended to be instructional, and the examples provided will be commented on in as much detail as possible. Your feedback is welcome. Lean-C IOT remains an evolving software solution with much room for improvement!
Note: This page is used when the counter value remains unchanged for more than 2 occurrences (2 cosecutives HTTP posts with the same values of counter).In this situation, the ESP32 program - instead of creating a new line in the database - updates the...
It's now time to take an important step in your project: uploading the two PHP files you've created to your web server. This step is accomplished using the FTP (File Transfer Protocol), a standard network protocol used for the transfer of computer files...
We're moving on to an exciting phase of our project—coding the ESP32 program. The ESP32 is a versatile microcontroller that's particularly well-suited for networking and wireless purposes, which makes it perfect for our goal: to store and transmit data...
Note: The code is intentionally heavily commented to provide maximum assistance to those who wish it. You can also download the files (with fewer comments) from my GitHub. // Enable WiFi connectivity and secure communication over the internet #include...
Before we dive into the hands-on part, it might be beneficial to consider making a 3D-printed casing to protect our ESP32 board. In the downloads section, you'll find the STL file for a case designed to comfortably house the electronic board. ...
The 3D-printed casing is designed with a hole on one side for routing the IR sensor's cable, and on the opposite side, it features a space to accommodate a USB cable. For powering the board, I've opted for the simplicity of using a USB port. This...
Recap of Part One: We have laid the groundwork for our production monitoring system using a MySQL database. This database is set up to automatically receive, every minute, the number of objects detected by our sensors. Automating data collection represents...
Go to the official Raspberry Pi Software page: https://www.raspberrypi.com/software/Download the Raspberry Pi Imager for your operating system (Windows, macOS, or Ubuntu).Open the downloaded file and follow the on-screen instructions to install the Raspberry...
Prepare Your SD Card Insert your SD card into the card reader of your computer. Make sure to back up any existing data on your SD card, as this process will erase all data.Open the Raspberry Pi Imager application on your computer.Choose the correct device...
After the writing process is complete, safely eject the SD card from your computerInsert the flashed SD card into your Raspberry Pi.Connect your Raspberry Pi to a power source. If this is the first boot, it will take a bit longer as the system expands...
On Windows, you can use an SSH client like PuTTY. On macOS or Linux, open the Terminal. Then type this command to access it : ssh pi@ Replace with the actual IP address of your Raspberry Pi. The first time you connect, you'll likely see a security warning...
From Docker Enchantment to ESPHome Summoning: A Complete Wizard's Guide Welcome, intrepid techno-magician, to a saga where you'll weave Docker's might with ESPHome's wisdom, bringing harmony to your realm of IoT devices. 🐋 Unveiling Docker Magic...
An XIAO ESP32C3 microcontroller and an XIAO extension board manufactured by Seeed Studio comprised the heart of this project. It comes with rich peripherals that include an OLED, RTC, SD Card Sot, passive buzzer, reset/user button, 5V servo connector,...
Initially, we had the idea of reviving an outdated CASIO vintage watch frame that I had with the XIAO expansion board. The expansion board contains the display, microcontroller, RTC and even the battery, so we prepared a rectangular holder that will...