How to Configure an ESP Mesh Network using Arduino IDE – Communicate among and between ESP32, ESP8266, and NodeMCU

Internet of Things (IoT) has seen exponential growth over the past couple of years. A new study from International Data Corporation (IDC) estimates that there will be almost 42 billion connected devices within the year 2025, generating over 80 zettabytes (ZB) of data. As the number of IoT devices grows; the amount of data grows, along with that, grows the need for superior network instruments; which can support this load.

However, if we consider a common host (like a generic router), it can connect to a limited number of nodes, less than 32 to be exact. And with an increasing number of IoT devices that could be in our home or industry, this is not sufficient. Currently, there are two solutions to this problem: The first one is to use a Mesh Router that can handle a lot more connections compared to a generic one, or we can use a network protocol known as Mesh Network.

Read more…

Controlling a ESP8266 with Alexa

Here is an easy project using a Echo Dot (Alexa) to control my ESP8266. I give it simple commands (Alexa, lights, off) and the command shows on the LCD screen attached to the ESP8266. Actual relays will be the next step to attach.

The project is based on the Adafruit tutorial at https://learn.adafruit.com/easy-alexa-or-echo-control-of-your-esp8266-huzzah/overview

with LCD and other modifications made by me. My code is found at https://pastebin.com/NjMcsTRh

Read more…

Autonomous Home Robot to Help Around the House!

A low-cost home robot that can do tasks around the house.

I have been developing an autonomous home-assistant robot. This robot was entirely designed, created, and built from scratch with no use of a kit or directions. In the process of creating this, I taught myself how to use ROS, Python, C, HTML, CSS, OpenCV, and other complex systems/languages.

The robot is able to travel around the house independently using Simultaneous Localization and Mapping (SLAM) with Robot Operating System (ROS) for navigation. It knows where to go based on pre-set waypoints. This machine is a prototype of a low-cost robotic assistant for the average person to use in their home. It combines facial recognition, navigation, and a web-control page, as well as other easy-control options such as gesture-control, Wii remote, and even hand-guided. The robot uses many Proportional Integral Derivative (PID) control systems which allows the robot to self-balance, making it more user-friendly, lighter weight, and maneuverable.

Read more…

M5Timer Camera X ESP32 Camera (Best ESP32 Camera)

Timer Camera X is a camera module based on ESP32, integrated with ESP32 chip and 8M-PSRAM. The camera (ov3660) with 3 million pixels , DFOV 66.5 ° and shoot 2048×1536 resolution photo, built-in 140mAh battery and LED status indicator, featuring ultra-low power consumption design. There is a reset button under the LED. Through RTC (BM8563), timing sleep and wake-up can be realized

M5StickC Plus (ESP32) Game Console (5 Games)

In the past, I created couple games for the TTGO T DISPLAY board. M5StickC Plus has same size display, it has built in buzzer, battery, you can carry it in a pocket and it si also powered by ESP32. If you add this joystick module you have a little pocket game console. I edited Togo games so now I can run them on M5Stick C Plus board. Feel free to use and modify my code.

EPaper Dashboard

I needed a device that can store the date of a specific event, which I can check later. To be more precise, I needed a device that can store the last date I fed the flowers. The device must be portable and powered by a battery. And because a whole display only for one date is a bit of a waste, I decided to add more features like weather and calendar widgets.

The obvious choice for the display was E-Paper, and for the IC initially, I picked esp8266, but after comparing it with esp32, I had to switch it.

The esp32 has a feature that is very important for this project – esp_sleep_enable_ext1_wakeup. This allows IC to wake with almost any from the GPIO(here a good tutorial https://randomnerdtutorials.com/esp32-external-wake-up-deep-sleep/).

Read more…