Some of my favorite small micro-controller platforms (as you might have seen if you have been reading this blog) are Arduino and ESP8266. It seems that there is going ot be some upgrades to those platforms this year.
ESP32
ESP8266 chip is used to build WiFi modules for serial-to-WiFi conversion and Internet of Things applications. ESP8266 turned to be IoT maker’s favorite component for a good reason: Espressif turned the IoT game on its head by releasing a chip with WiFi and a decent embedded processor for under $1 in bulk, and costing not much more than that in a module. A little more than a year ago, the ESP8266 WiFi module showed up uneventfully in Seeed Studio’s store. During the year 2015 the ESP8266 turned to be success because it was “good enough” (it has it’s limitations) and price was cheaper than practically anything else in the market. Now it is widely available in various module formats (NodeMcu dev kit being my favorite for quick hacks) and supported by lots many programming tools.
Now Espressif looking to repeat the success of the ESP8266 with the ESP32, , that should be coming out in 2016. Espressif has been working on the next generation of powerful WiFi-enabled tiny, cheap systems for some time. They have their silicon ready and there are beta test kits already. The ESP32 Beta Units Arrive article tells that are two Tensilica L108 processors running at up to 160MHz, a lot of peripherals including ADCs, DACs, I2C, SPI, I2S, and PWM, more RAM, AES and SSL for security, and Bluetooth Low Energy. WiFi has also been upgraded. It’s already shortlisted as the best new chip of 2016, but other than that, there’s not much more information.
While the features are great, Espressif has said the ESP32 is not a replacement for the ESP8266. They’re different markets, and if you just wanted to add WiFi to a project, there’s no reason not to choose the ESP8266.
ATmega328PB
Most Arduino boards, like for example well known Arduino UNO are based on ATmega328 micro-controller from Atmel (there are nowadays also many Arduinos that use different CPUs). It seem that with ATmega328 you never have enough peripherals for everything you might want to do. Whether it’s hardware-driven PWM channels, ADCs, or serial communication peripherals, we always end up wanting just one more of these but don’t really need so many of those. Bye-bye ATmega328P, Hello 328PB! posting at Hackaday tells that Atmel’s new version of the popular ATmega328 series, the ATmega328PB, seems to have heard our pleas. ATmega328PB combines 32kB ISP Flash memory with read-while-write capabilities, 1kB EEPROM, 2kB SRAM, 27 general purpose I/O lines, 32 general purpose working registers, five flexible timer/counters with compare modes, internal and external interrupts, two USARTs with wake-up on start of transmission, two byte-oriented 2-wire serial interfaces, two SPI serial ports, 8-channel 10-bit A/D converter, programmable watchdog timer with internal oscillator, a unique serial number and six software selectable power saving modes. The device operates between 1.8-5.5 volts. The ATmega328PB supports capacitive sensors: 24 buttons in self-capacitance mode, or up to 144 buttons in mutual-capacitance mode. This ATmega328PB does not native USB thing in it, so if you need USB support, look at the ATmega32U4 as used in Arduino Leonardo board.
So what does this mean for you? It seems that chips are shipping right now, and there’s an inexpensive dev kit available as well. If you write your own code in C,you should be pretty ready to use new feature. With Arduino you might need to wait until new chips find their way to Arduino boards (there does not seem to be DIP version you could plug to Arduino UNO socket) and support for it on Arduino IDE is added (unless you can hack it to it yourself).
Here is ATmega328PB chip pin-out from summary:
610 Comments
Tomi Engdahl says:
https://hackaday.com/2023/09/05/streaming-video-from-an-esp32/
Tomi Engdahl says:
ESPHome Bluetooth Proxies
Bluetooth technology has a limited range. Home Assistant can expand its Bluetooth reach by communicating with Bluetooth devices through Bluetooth proxy devices powered by ESPHome
https://esphome.github.io/bluetooth-proxies/?fbclid=IwAR1r2UHTEQ4rnwspVKN0n_H65nWmpvlr5Ho32GkRpRByL35mkdquKDyjSf0
Tomi Engdahl says:
16 Brilliant ESP32 projects you must try in 2023!
https://www.youtube.com/watch?v=1nkgTtTWnPM
Chapters:
00:00 Intro
00:10 Omnidirectional robot
00:52 Handheld computer
01:34 Car Dashboard Controller
02:17 Robot with RTOS and Wi-Fi control
02:57 DIY graphics calculator
04:02 Open Universal Remote
04:47 DIY Oscilloscope
05:29 Graphical Sensor Data
06:06 Audio Spectrum Analyzer
06:46 Object Identifier
07:24 Smart Rain Gauge
08:00 Voice command system
08:38 DIY Virtual Mouse
09:13 SMART LAMP from Empty Spools
09:56 Mini Video Player
10:30 Surveillance Camera
11:05 Outro
Tomi Engdahl says:
https://hackaday.com/2023/09/07/how-small-can-the-esp32-get/
Tomi Engdahl says:
https://medium.com/@sparkleotech/a-guide-to-achieving-seamless-ota-updates-for-esp32-with-the-flutter-ota-package-eb48f4a66870
Tomi Engdahl says:
Powered by an ESP32, this multi-sensor smart light can gather information on routes, pollution, and even dangerous intersections.
The Bright Block “Bike Gizmo” Is a Smart Light for Citizen Science Data Gathering on Two Wheels
https://www.hackster.io/news/the-bright-block-bike-gizmo-is-a-smart-light-for-citizen-science-data-gathering-on-two-wheels-f432d8ec175e?fbclid=IwAR0P-aytF1IDx3M7zOUFq1Zd7uHw-txc8VNe1Mgixd7pr7nE06b0n5QRZcU
Powered by an Espressif ESP32, this multi-sensor smart light can gather information on routes, pollution, and even dangerous intersections.
Tomi Engdahl says:
Exploring the Arduino Nano ESP32 | MicroPython & IoT Cloud
https://www.youtube.com/watch?v=R51tf66es9w
Another new Arduino board! This time it’s the Arduino Nano ESP32, and we’ll test it out today. Includes MicroPython and Arduino IoT Cloud experiments.
Tomi Engdahl says:
Run Linux on ESP32 – how to run the Linux kernel on an ESP32
https://www.youtube.com/watch?v=5oKeVyxgwzk
For some time, XTENSA versions of the ESP32 are able to run the Linux kernel. This video shows how to compile the kernel, and how to deploy and run it on an ESP32-S3.
Attention: this video has a small mistake. Run the shell script only AFTER all the required components were downloaded.
Tomi Engdahl says:
https://hackaday.com/2023/09/28/simple-stm32-frequency-meter-handles-up-to-30mhz-with-ease/
Tomi Engdahl says:
https://hackaday.com/2023/09/27/proper-video-from-an-esp32/
Tomi Engdahl says:
https://hackaday.com/2023/10/01/esp32-keeps-track-of-hot-tubs-vital-signs/
Tomi Engdahl says:
ESP32-DIV: Your Swiss Army Knife for Wireless Netw
https://hackaday.io/project/193194-esp32-div-your-swiss-army-knife-for-wireless-netw
Imagine having a device that can not only monitor network traffic but also scan for nearby Wi-Fi networks, simulate beacon frames
Tomi Engdahl says:
https://circuitdigest.com/news/walter-a-game-changing-esp-s-module-for-iot-prototyping-and-production
Tomi Engdahl says:
Arduino Nano ESP32 – A Short Tutorial to Setup and IoT Usage
https://www.elektormagazine.com/articles/arduino-nano-esp32-a-short-tutorial-to-setup-and-iot-usage?fbclid=IwAR36-Emb7WGrAKVHLZR7yXk7zKcxBw6f61C8LlXNUxKo_kW5mTTLp3Gkidk_aem_AeChyPX2io-Vf6BY7Naa4-FRGMR4miQ-_N1iulGacTyGLOvlYOgS2PPiO5yLIJmh9CGR9-CW84zY-kBT0CZaZDQL
Tomi Engdahl says:
https://www.hackster.io/news/adafruit-s-metro-esp32-s3-puts-two-cores-8mb-psram-and-16mb-flash-in-an-arduino-uno-footprint-15e9411eba88
Tomi Engdahl says:
https://www.elektormagazine.com/articles/arduino-nano-esp32-a-short-tutorial-to-setup-and-iot-usage?fbclid=IwAR1Q7ilWc5G50vqPxXxNqeyatyPH2l-I6UYGWO4hoFruP9IqyMWvy4xgNYE_aem_AbKBDGaiLYDM7VcRvkSmw8ga4PZdpEZm5XFSeXjD658cCdNRzlHdElJf-4QUSseuYnmVDGi08OHSrZ8_rR-jnuKW
Tomi Engdahl says:
https://blog.arduino.cc/2023/08/26/play-full-color-games-on-this-simple-arduino-nano-esp32-based-handheld-console/?fbclid=IwAR1QUzR3QS9IsQxCP2Br8y7oAAEGXB-DozeoU31MUR81o6x5QD3DoliQf4c
Tomi Engdahl says:
These Drones Are Tracked and Controlled Using $1 Webcams and ESP32s
Joshua Bird’s open source project allows users to control autonomous drones through a web interface and a series of ESP32 boards.
https://www.hackster.io/news/these-drones-are-tracked-and-controlled-using-1-webcams-and-esp32s-71a738f52960
Tomi Engdahl says:
https://www.hackster.io/news/sonocotta-s-esparagus-hifi-medialink-puts-an-espressif-esp32-to-work-upgrading-your-old-hi-fi-be50297e41ef
Tomi Engdahl says:
Olimex Teases an Ultra-Low-Cost Feature-Packed Development Board for the RISC-V Espressif ESP32-H2
Designed for low-power IEEE 802.15.4 Internet of Things (IoT) experiments, the new board includes battery charging and a sub-$8 price tag.
https://www.hackster.io/news/olimex-teases-an-ultra-low-cost-feature-packed-development-board-for-the-risc-v-espressif-esp32-h2-4b39800b1244
Tomi Engdahl says:
Microflex MCUs – Tiny USB development boards based on ESP32-S3, ESP32-S2, ESP32-C3, ESP32-C6, or Raspberry Pi RP2040 (Crowdfunding)
SB Components is back with yet another crowdfunding campaign this time with the Microflex MCUs USB development boards all with the same tiny form factor and offered with a choice of five microcontrollers namely Raspberry Pi RP2040, ESP32-S3, ESP32-S2, ESP32-C3, or ESP32-C6.
https://www.cnx-software.com/2023/12/12/microflex-mcu-tiny-usb-development-boards-esp32-s3-esp32-s2-esp32-c3-esp32-c6-raspberry-pi-rp2040/
Tomi Engdahl says:
https://www.cnx-software.com/2023/12/14/esp32-qwiic-pro-mini-esp32-board-arduino-pro-mini/
Tomi Engdahl says:
https://hackaday.com/2024/01/01/spying-on-the-esp32s-gpio/
Tomi Engdahl says:
https://www.hackster.io/news/dimitris-dimitrakoudis-turns-a-junk-drawer-espressif-esp32-module-into-a-hi-fi-internet-radio-e80a590927a7
Tomi Engdahl says:
https://www.cnx-software.com/2024/01/05/watch-esp32-gpio-status-in-real-time-web-browser/
Tomi Engdahl says:
https://hackaday.com/2024/01/06/no-dac-try-pdm/
Ever notice that the ESP32-S3 doesn’t have a digital-to-analog converter? [Chris] did and asserts that he doesn’t care because he can just use the PDM system to get the same result. PDM — pulse density modulation — is similar to PWM and, like PWM, requires a filter that could range from a simple RC network to an active filter. You can see the result in the video below.
There are several ways [Chris] could produce the output he wanted. PWM was one choice, and some example code uses a timer to do PDM. However, that is not very efficient. The other alternative is to use the I2S output.
Tomi Engdahl says:
Olimex’s New ESP32-POE2 Board Packs 25W of Power over Ethernet for Higher Current Projects
Offering 12V at 2A, 5V at 5A, or 3.3V at 1A, the ESP32-POE2 board aims at higher power projects like door lock solenoids.
https://www.hackster.io/news/olimex-s-new-esp32-poe2-board-packs-25w-of-power-over-ethernet-for-higher-current-projects-971ef369d23c
Tomi Engdahl says:
https://www.cnx-software.com/2024/01/10/esp32-c61-wifi-6-soc-improved-affordability-wireless-connectivity/
Tomi Engdahl says:
https://hackaday.com/2024/01/15/breaking-the-flash-encryption-feature-of-espressifs-microcontrollers/
Tomi Engdahl says:
Bojan Jurca’s ESP32 Oscilloscope Turns Low-Cost Microcontroller Boards Into Web-Connected Tools
Designed for use in a web browser, the ESP32 oscilloscope delivers exactly what it promises — a handy tool in a pinch.
https://www.hackster.io/news/bojan-jurca-s-esp32-oscilloscope-turns-low-cost-microcontroller-boards-into-web-connected-tools-74b3cdf95839
Tomi Engdahl says:
https://hackaday.com/2024/02/28/avoid-i2c-address-conflicts-on-esp32-by-pin-muxing/
Tomi Engdahl says:
How to Make Custom ESP32 Board in 3 Hours | Full Tutorial
https://www.youtube.com/watch?v=S_p0YV-JlfU
In this tutorial you will learn how to draw schematic, do PCB layout, manufacture your board and programming.
Learn more about electronics, check out our online courses:
https://courses.fedevel.com/
Chapters:
00:00 Start a new project in EasyEDA
04:00 Add ESP32 into schematic
05:00 Add CP2102N
05:48 Add AMS1117-3.3
06:41 Add USB connector
07:43 Add ESD, Transistors, Buttons
09:33 Add Capacitors
14:06 Add Resistors
18:29 Add LED
19:12 Drawing schematic: Buttons + ESP32
25:42 Connecting: USB to UART
36:19 Connecting: LED, Power
40:28 Connecting: Series resistors, Connectors
47:40 ESP32 vs S2 reference schematic
51:55 CP2102N Errata
56:23 Adding titles
59:20 Annotating schematic
1:00:47 Fixing errors in schematic
1:02:24 Importing schematic to PCB
1:03:25 Component placement
1:20:39 Start PCB Layout: setup rules, stackup and route it
1:47:50 Updating schematic and importing changes to PCB
2:07:39 Running DRC check and fixing errors on PCB
2:11:32 Drawing polygons
2:21:35 Updating tracks to 50OHMs, improving power connections
2:28:23 Adding text
2:41:04 Ordering PCB: Gerber files
2:42:40 Ordering board assembly: BOM, Pick and place
2:46:37 Ordering additional components
2:50:52 Boards received! Check them
2:52:20 Programming: Setup
2:53:53 Programming: Blink (Example)
2:55:03 Programming: Controlling LED over Internet (WiFi Example)
2:56:32 Thank you very much
Tomi Engdahl says:
https://hackaday.com/2024/02/23/esp32-oscilloscope-skips-screen-for-the-browser/
Tomi Engdahl says:
https://hackaday.com/2024/03/21/your-voice-assistant-doesnt-have-to-be-cloudy/
Tomi Engdahl says:
Mike Rankin’s Compact Thermal Camera Packs a High-Performance Parallel Display in a Tiny Footprint
Offering a live view of 768 temperature measurement zones, this thermal camera fits in the footprint of its own 1.69″ display.
https://www.hackster.io/news/mike-rankin-s-compact-thermal-camera-packs-a-high-performance-parallel-display-in-a-tiny-footprint-1bb341d76bc7
Tomi Engdahl says:
Using ESP32 built-in hall effect sensor
All ESP32 cards have a built-in Hall Effect sensor. The Hall Effect sensor can detect changes in the magnetic field in its environment
https://www.hackster.io/myhomethings/using-esp32-built-in-hall-effect-sensor-d6a5ad
Tomi Engdahl says:
https://www.hackster.io/news/low-cost-esp32-drone-0864cce16815
Tomi Engdahl says:
https://www.nabto.com/low-cost-surveillance-esp-32-camera/
Tomi Engdahl says:
https://hackaday.com/2024/05/06/midi-bookmark-marks-the-spot-where-work-and-play-intersect/
Tomi Engdahl says:
https://randomnerdtutorials.com/lvgl-cheap-yellow-display-esp32-2432s028r/
Tomi Engdahl says:
https://www.hackster.io/news/voidbox-industries-flip-c3-espressif-esp32-board-can-drink-up-to-50v-without-breaking-a-sweat-7fadad63e5a3
Tomi Engdahl says:
https://www.hackster.io/news/spec5-s-ranger-is-an-espressif-esp32-powered-ready-to-run-meshtastic-communicator-b4f950b72f05
Tomi Engdahl says:
https://hackaday.com/2024/06/11/esp32-powered-crunch-e-makes-beats-on-the-go/
Tomi Engdahl says:
https://hackaday.com/2024/06/16/esp32-powers-single-pcb-zx-spectrum-emulator/
Tomi Engdahl says:
https://randomnerdtutorials.com/esp32-i2c-master-slave-arduino/
Tomi Engdahl says:
LILYGO’s T-Glass Is a Low-Cost Espressif ESP32 Platform for Head-Up Display Projects
With a smart Bosch IMU, integrated microphone, and more, the T-Glass delivers a lot of wearable bang for your buck.
https://www.hackster.io/news/lilygo-s-t-glass-is-a-low-cost-espressif-esp32-platform-for-head-up-display-projects-45deb4e97787
Tomi Engdahl says:
https://hackaday.com/2024/06/25/esp-hosted-turns-esp32-into-linux-wifi-bt-adapter/
Tomi Engdahl says:
KinCony KC868-A16
https://devices.esphome.io/devices/KinCony-KC868-A16?fbclid=IwZXh0bgNhZW0CMTEAAR0kKXdTxMoGz4h0o9mOceyXePeJRh91AyEte6KHL2lg8UrdH97q2B_NOdE_aem_hGwnoeYdcJxWw5OMVs4qFA
Tomi Engdahl says:
https://hackaday.com/2024/07/01/simd-accelerated-computer-vision-on-the-esp32-s3/
Tomi Engdahl says:
https://electronics.stackexchange.com/questions/564607/esd-protection-for-esp32-gpios