Difference between revisions of "ESP32 & ESP8266"

From Miscellany
 
(10 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
* [https://www.instructables.com/Bitcoin-Tracker-Using-a-Raspberry-Pi/ convert RPi-based Bitcoin tracker to run on ESP32]
 
* [https://www.instructables.com/Bitcoin-Tracker-Using-a-Raspberry-Pi/ convert RPi-based Bitcoin tracker to run on ESP32]
 
* [https://randomnerdtutorials.com/esp-mesh-esp32-esp8266-painlessmesh/ ESP32-Mesh]
 
* [https://randomnerdtutorials.com/esp-mesh-esp32-esp8266-painlessmesh/ ESP32-Mesh]
 +
* [https://randomnerdtutorials.com/esp32-web-server-charts-statistics/ ESP32 Web Server: Charts with Temperature Statistics]
 +
* [https://www.hackster.io/551322/safestep-6f84f0?goal=0_4b071a49e3-a3ed0d59bb-49951962 SafeStep app using Home Assistant]
  
 
* Volos Projects paint app on YouTube
 
* Volos Projects paint app on YouTube
Line 11: Line 13:
 
==ESP32 References==
 
==ESP32 References==
  
 +
* [https://esp32.implrust.com/esp32-intro/esp32-family.html Understanding ESP32 variants]
 +
:: It's important to know which of many versions of ESP32 you are working with, and what it's capable of.
 +
* [https://www.espressif.com/en/products/socs/esp32 ESP32 at Espressif] (designer of ESP32 and ESP8266, and other devices)
 
* [https://esp32.net IoT with ESP32] link list
 
* [https://esp32.net IoT with ESP32] link list
 
* [https://hackaday.com/2016/10/04/how-to-get-started-with-the-esp32/ Get started with the ESP32]
 
* [https://hackaday.com/2016/10/04/how-to-get-started-with-the-esp32/ Get started with the ESP32]
Line 61: Line 66:
  
 
: Embed in a DIY robot, making use of the built-in facial recognition software to allow the robot to recognize individuals and greet them by name.
 
: Embed in a DIY robot, making use of the built-in facial recognition software to allow the robot to recognize individuals and greet them by name.
 +
 +
=====Front Door Security System=====
 +
 +
: Connect a motion detector to an ESP32-Cam to send an SMS message to a smartphone with an image of whomever is at the door.
  
 
==ESP8266 Projects==
 
==ESP8266 Projects==
  
 
* [https://randomnerdtutorials.com/projects-esp8266/ ESP8266/Arduino IDE]
 
* [https://randomnerdtutorials.com/projects-esp8266/ ESP8266/Arduino IDE]
 +
* [https://randomnerdtutorials.com/esp8266-web-server/ Build an ESP8266 Web Server]
  
 
==ESP32/8266 MicroPython Projects==
 
==ESP32/8266 MicroPython Projects==
Line 74: Line 84:
 
: A variety of IDEs work with the ESP32. Arduino IDE is fine, but the RandomNerd MicroPython ebook recommends uPyCraft IDE. I've installed both on Win10.
 
: A variety of IDEs work with the ESP32. Arduino IDE is fine, but the RandomNerd MicroPython ebook recommends uPyCraft IDE. I've installed both on Win10.
  
==My ESP32 Boards==
+
: Also, the new [https://github.com/espressif/esp-idf Espressiv ESP-IDF] is available now for both ESP32 and ESP8266. See [[IDEs#IDEs_for_ESP|the IDEs for ESP section on this page]] for details and tutorials.
 
 
: I bought a 2-pack of 30-pin ESP32 DevKit boards from Amazon on 30 Nov 2020, for $11.95 on their CyberMonday special.
 
 
 
: After hearing Gary Fleming talk about it, I also bought an ESP32-CAM in January 2021.
 
 
 
:: This board is an excellent platform for developing with the ESP32 SoC, a single chip solution that combines Bluetooth and 2.4 GHz Wi-Fi capabilities. Different than our other development board, this one includes a OV2640 camera that communicates with the ESP32 over I2S and has a resolution of 1600×1200 pixels. It also carries a micro SD card adapter for applications requiring additional storage space. The ESP32-CAM is a development platform that combines the tried and true ESP32 SoC with an integrated camera. With a 27×40.5×4.5mm footprint and a deep sleep current of up to 6mA, the ESP32-CAM provides an excellent platform for creating computer vision projects! Features: Processor: ESP-32 Onboard camera: OV2640 Camera resolution: 1600×1200 pixels; JPG output Operating voltage: 3.3V Camera interface: I2S Color depth: 8-bit 16M colors Please note this board doesn't carry a USB-to-Serial UART adapter (e.g., CP2102, CH340g) so you'll need to connect one to its TX/RX pins and/or set it up for OTA. We have written useful guides for getting you started with the ESP32-CAM development board: http://youtube.com/acrobotic
 
  
 
----
 
----

Latest revision as of 16:31, 2 September 2026


ESP32 Projects

  • Volos Projects paint app on YouTube

ESP32 References

It's important to know which of many versions of ESP32 you are working with, and what it's capable of.

ESP32-CAM

EP32-CAM Pin-out

Features

ESP32-CAM WiFi + Bluetooth Camera Module Development Board ESP32 With Camera Module OV2640

pin and hardware compatible with the AI-Thinker ESP32-CAM module
  • Ultra-small 802.11b/g/n Wi-Fi + BT/BLE SoC module
  • Low-power dual-core 32-bit CPU for application processors
  • Up to 240MHz, up to 600 DMIPS
  • Built-in 520 KB SRAM, external 4M PSRAM
  • Supports interfaces such as UART/SPI/I2C/PWM/ADC/DAC
  • Support OV2640 and OV7670 cameras with built-in flash
  • Support for images WiFI upload
  • Support TF card
  • Support multiple sleep modes
  • Embedded Lwip and FreeRTOS
  • Support STA/AP/STA+AP working mode
  • Support Smart Config/AirKiss One-click distribution network
  • Support for serial local upgrade and remote firmware upgrade (FOTA)

How to Program

ESP32-CAM Project Ideas

Backup Camera
Use as camera module for backup camera for truck with RPi or Arduino-based dashboard monitor, connected via WiFi or Bluetooth.
Issues to be solved:
  • Power supply
  • Weather-proof case
  • External antenna?
  • Need for WiFi router? (Module acts as a hotspot according to one tutorial)
Robot Vision
Embed in a DIY robot, making use of the built-in facial recognition software to allow the robot to recognize individuals and greet them by name.
Front Door Security System
Connect a motion detector to an ESP32-Cam to send an SMS message to a smartphone with an image of whomever is at the door.

ESP8266 Projects

ESP32/8266 MicroPython Projects

IDEs to use with ESP32

A variety of IDEs work with the ESP32. Arduino IDE is fine, but the RandomNerd MicroPython ebook recommends uPyCraft IDE. I've installed both on Win10.
Also, the new Espressiv ESP-IDF is available now for both ESP32 and ESP8266. See the IDEs for ESP section on this page for details and tutorials.