The chip used in the Arduinos is old. Recently a replacement with more features appeared on Aliexpress. Does it really outperform the grandpa Atmel 328P? How compatible is it? And what is its most significant advantage? I am a proud Patreon of @GreatScott!, @ElectroBOOM , @Electronoobs , @EEVblog , and others.
Today, this channel will try to start into a new area: The area of the replacement of our beloved ESP8266 by the new ESP32. I invite you to join this journey. At the end of this video, you should be able to judge, if you want to order your first board (or take it out of your drawer)
Summary:
• We checked the GPIOs out, and discovered, that we have many more of them, and that they abandoned the Dx numbering scheme. So, we do not have to write our sketches different for the different boards.
• Then, we looked at the different examples provided with the infrastructure. This will be stuff for many videos to come. Today, we tired PWM and it worked. We were able to generate a fading LED, steer a servo, and even create a primitive DAC with this function.
• Next, we tried a simple example to check, if the Wi-Fi really works. And it does. We learned, that we will have to change all our ESP8266 sketches, if we want to port them to the ESP32.
• Then, I ported my NTP library to the ESP. With one small change, it worked and delivered accurate time also on the ESP32.
• At the end, we checked also the new touch pins and, together with the PWM functionality from the beginning of the video, were able to create a small instrument.
Attention: If your Arduino IDE is installed in the "Program file" area of Windows, you need to run "get.exe" as administrator.
Links:
Easier way to install ESP32 software: https://youtu.be/DgaKlh081tU
Board in this video:
WeMos® LOLIN32 Board http://bit.ly/2t2zXeW
Other ESP32 boards (from video #143):
TTGO ESP32 Module https://www.aliexpress.com/item/TTGO-ESP32-Dev-Module-WiFi-Bluetooth-4MB-Flash/32813561581.html
ESP32 (NodeMCU type) Board http://bit.ly/2sOMR3E
ESP32 Development Board (Yellow Pins) https://www.aliexpress.com/item/ESP32-Development-Board-WiFi-Bluetooth-Ultra-Low-Power-Consumption-Dual-Cores-ESP-32-ESP-32S-Board/32802136026.html
ESP32 X-Shield https://www.aliexpress.com/item/Lolin-ESP32-wemos-ESP32-WiFi-Modules-Bluetooth-Dual-ESP-32-ESP-32S-ESP8266/32807523301.html
ESP32 Lolin Board with LiPo https://www.aliexpress.com/item/WEMOS-LOLIN32-V1-0-0-wifi-bluetooth-board-based-ESP-32-4MB-FLASH/32814488554.html
ESP32 OLED Board http://bit.ly/2tosirM
ESP32 Board with 18650 https://www.aliexpress.com/item/WEMOS-WiFi-Bluetooth-Battery-ESP32-development-tool/32811429908.html
D1 mini ESP32 board https://www.aliexpress.com/item/MH-ET-LIVE-D1-mini-ESP32-ESP-32-WiFi-Bluetooth-Internet-of-Things-development-board-based/32816073234.html
WeMos Arduino like ESP32 Board http://bit.ly/2tUZVnC
Cheapest ESP32 board (source not tested by me): https://www.aliexpress.com/item/Lolin-ESP32-wemos-ESP32-WiFi-Modules-Bluetooth-Dual-ESP-32-ESP-32S-ESP8266/32804853522.html
WEMOS Official Store: http://s.click.aliexpress.com/e/jUzBiIq
Support
...
https://www.youtube.com/watch?v=SBG7ccW5gpA
Part 2 of a long Mailbag video.
00:00:28 Silicon Dupont Wires
00:03:15 Sonoff Zigbee Concentrator
00:07:26 IRF7317 Dual FET (N- and P-channel)
00:10:26 Enocean Multisensor (“Swiss Knife”)
00:12:01 Energy Harvester for New Lithium-Ion Super Capacitor
00:16:02 Solar Charged Box for Outside Project
Links:
Silicon Dupont wires : https://s.click.aliexpress.com/e/_AWGUY8
Sonoff Zigbee Dongle (no Flasher needed) : https://s.click.aliexpress.com/e/_9xqBw4 or https://amzn.to/3nwBrfB
CC2531 (old Zigbee Dongle. You need the additional Flasher) : https://s.click.aliexpress.com/e/_AY973Q
IRF7317 dual FET : https://s.click.aliexpress.com/e/_ANY4nw
DIP8 IC PCB Adapter : https://s.click.aliexpress.com/e/_A7loYU or https://amzn.to/3fs96ma
Enocean Multisensor : https://www.enocean.com/en/products/self-powered-sensors/multisensor/
Energy Harvester : https://www.tindie.com/products/jaspersikken/solar-harvesting-into-lithium-ion-capacitor/
Li-Ion Super Cap VEL13353R8257G : https://uk.farnell.com/vinatech/vel13353r8257g/lithium-ion-capacitor-250f-3-8v/dp/3414869
Solar Light : https://s.click.aliexpress.com/e/_AgmyIs
The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission of your purchases to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads
...
https://www.youtube.com/watch?v=or37Q8npf68
Just a quick video for all ESP32 owners who wonder, which revision of the chip they own.
Up till now, Espressif released two chip revisions: Last September Rev 0 and in February, Rev 1. And there are rumors, that Espressif sells its old revision 0 chips cheap, and some of our manufacturers make a profit by selling them to us… So, let’s check!
ESP32 boards (from video #143):
Rev 0:
ESP32 X-Shield https://www.aliexpress.com/item/Lolin-ESP32-wemos-ESP32-WiFi-Modules-Bluetooth-Dual-ESP-32-ESP-32S-ESP8266/32807523301.html
D1 mini ESP32 board https://www.aliexpress.com/item/MH-ET-LIVE-D1-mini-ESP32-ESP-32-WiFi-Bluetooth-Internet-of-Things-development-board-based/32816073234.html
Rev1
WeMos® LOLIN32 Board http://bit.ly/2t2zXeW
TTGO ESP32 Module http://s.click.aliexpress.com/e/QbqFa6i
ESP32 (NodeMCU type) Board http://bit.ly/2sOMR3E
ESP32 Development Board (Yellow Pins) http://s.click.aliexpress.com/e/RR7Em6U
ESP32 Lolin Board with LiPo https://www.aliexpress.com/item/WEMOS-LOLIN32-V1-0-0-wifi-bluetooth-board-based-ESP-32-4MB-FLASH/32814488554.html
ESP32 OLED Board http://bit.ly/2tosirM
ESP32 Board with 18650 http://bit.ly/2eZAp8j
WeMos Arduino like ESP32 Board http://bit.ly/2tUZVnC
Links:
Sketch: https://www.instructables.com/id/How-to-Check-the-Revision-Level-of-Your-ESP32/
ESP32 Technical reference: http://www.espressif.com/sites/default/files/documentation/esp32_technical_reference_manual_en.pdf
ESP32 bugs: https://espressif.com/sites/default/files/documentation/eco_and_workarounds_for_bugs_in_esp32_en.pdf
ATTiny High voltage programmer: https://arduinodiy.wordpress.com/2015/05/16/high-voltage-programmingunbricking-for-attiny/
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: http://s.click.aliexpress.com/e/jUzBiIq
https://www.facebook.com/SensorsIOT/
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
...
https://www.youtube.com/watch?v=ymjMncK732Q
Products covered:
00:21 Dupont Cables http://s.click.aliexpress.com/e/lLEaTWC
00:35 Parking sensor http://bit.ly/2xJpxoK
06:57 Bus Pirate http://s.click.aliexpress.com/e/cepyr4H6
08:57 HackRF one https://amzn.to/2OdY0VZ
08:57
10:57 Moteino https://lowpowerlab.com/guide/moteino/
13:12 Armtronix http://armtronix.in/ and
https://www.tindie.com/stores/Armtronix/
Armtronix Github https://github.com/armtronix
Mike Ossmann https://greatscottgadgets.com/
The AmpHour podcast https://theamphour.com/
Part 1
00:41 TrigBoard http://bit.ly/2NJKIkR
05:30 Sonoff 433 stuff http://s.click.aliexpress.com/e/b7SHUkKk
05:30 Sonoff 433MHz bridge http://bit.ly/2NGClq2
07:28 UHF RFID Tags wearable http://s.click.aliexpress.com/e/cYhNOuZ6
08:33 UHF RFID reader http://s.click.aliexpress.com/e/kyMabJ6
09:04 Flexible cable for TS100 http://s.click.aliexpress.com/e/bjPwfnEC
09:58 UHF RFID Tags (Tatoos) http://s.click.aliexpress.com/e/bGUEYrZm
10:25 Shelly 1 http://bit.ly/2NMhCkD
12:33 Raspberry IR camera http://s.click.aliexpress.com/e/b8gsA5UM
12:33 Other IR camera http://s.click.aliexpress.com/e/hnJUJag
14:15 ESP-RFID http://bit.ly/2R1H2ZF
14:15 Vedran's Homepage http://nardev.org/advanceit
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
Equipment in my lab: http://www.sensorsiot.org/my-lab/
...
https://www.youtube.com/watch?v=Vk0BqJcya4E
Sometimes we need more memory for our sketches. In this quickie, I show you how you get it without heating up your soldering iron.
Most of the ESP32 modules have 4Mbyte flash memory chips. But if you look at the usable memory size, you only get 1310720 bytes, which is roughly one-quarter of your flash memory. With a blink sketch, this is no problem. It only uses 13% of the available space. But if you use the simple BLE_server example, which is just a few lines long, it occupies already 85% of your flash memory. If you add some other libraries, you quickly get an “out of memory” error.
Partitioning and ESP32 partition tables provide the solution.
Links:
ESP32 boards: http://s.click.aliexpress.com/e/7xUZti0
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
My Bitcoin address: 19FSmqbBzb5zsYB1d8Bq4KbxVmezToDNTV
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission (of your purchases the next 24 hours) to buy new stuff for the channel
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
Equipment in my lab: http://www.sensorsiot.org/my-lab/
...
https://www.youtube.com/watch?v=Qu-1RK4Fk7g
Nextion HMI displays are great. But the documentation and the support is not very good, and the library currently does not work with the ESP32. Today I will show you the five most important features of the enhanced version and how to use them.
In the end, you will have a small keypad which can be used as a control center for your home automation. And of course, the library works now with the ESP32, not only with the Arduino.
I did already some videos about Nextion displays. They are the basis for this video and worthwhile to watch because I will not cover these details again. You will find links in the description.
Today we will:
1. Build a small device using a Nextion display with 6 Softkeys
2. When one of these keys is pressed, the beeper on the extension board will beep. You will learn how to achieve this by programming the display itself
3. Each key triggers an MQTT message. This message can be used to switch devices in your home-automation system
4. The device can receive MQTT commands and switch a relay accordingly
5. The enhanced version has a Realtime clock aboard. We will synchronize this clock once using internet NTP time. From then on, the display updates the time itself
Links:
My Nextion videos: https://www.youtube.com/playlist?list=PL3XBzmAj53RlXES3erPR4F0Zk08Hx1YdA
Code: https://github.com/SensorsIot/Nextion-Enhanced
Another library: https://github.com/darrenjcosborne/NextionSerialString
Enahced Nextion displays:
Different sizes: http://s.click.aliexpress.com/e/bBVLEfQ0
3.5" Enhanced Nextion Banggood: http://bit.ly/2zSlqGI
7.0" Enhanced Nextion: http://bit.ly/2zQPfHY
ESP32 Board: http://bit.ly/2sOMR3E
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you)
Official Wemos Store: http://s.click.aliexpress.com/e/jUzBiIq
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my main job
If you want to buy me a coffee: https://www.paypal.me/AndreasSpiess
...
https://www.youtube.com/watch?v=FSRx8h8iBnk
Ten years of waiting has an end. During the Arduino day last week, Arduino officially released the beta version of its all-new IDE, which should give us all the features of a modern development environment. Without the hassle of a modern development environment. Too good to be true? Let’s have a closer look.
I am a proud Patreon of @GreatScott! , @ElectroBOOM , @Electronoobs, @EEVblog , and others. No Docker, No Microsoft Teams, Zoom
Links:
Download: https://www.arduino.cc/en/software
Wikipedia IDE: https://en.wikipedia.org/wiki/Integrated_development_environment
The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission of your purchases to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads
...
https://www.youtube.com/watch?v=nlI_5vxm3bk
Computers crash if they do not have enough voltage. Li-Ion batteries could explode during charging if they were deeply discharged. How can we prevent such events? We need so-called voltage supervisors. Cheap parts with a big effect, which usually do their job in the dark. Let’s tear them to the light and protect your ESP32 or Arduino from not booting correctly and your Raspberry from a crash. We will use KA75330, KA75450, and TPS3839 for our experiments.
My second channel: https://www.youtube.com/HB9BLAWireless
Links:
Raspberry Pi4 US: https://amzn.to/3pP32HZ
Raspberry Pi4 DE: https://amzn.to/3avMgaG
KA75330: https://s.click.aliexpress.com/e/_DFh3FAT
KA75450: https://s.click.aliexpress.com/e/_DmK5e7p
TPS3839G33: https://s.click.aliexpress.com/e/_DlUdImr
Power Supply: https://amzn.to/3PykooI or http://bit.ly/2uG5mJR or https://s.click.aliexpress.com/e/_DeoZqEn
ESP32 Breadboard friendly: https://s.click.aliexpress.com/e/_DkWIMfD
The links above usually are affiliate links that support the channel (no additional cost for you).
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
My Patreon Page: https://www.patreon.com/AndreasSpiess
Discord: https://discord.gg/JfgDSa8
If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission on your purchases to buy new stuff for the channel
My Amazon.com shop: https://www.amazon.com/shop/andreasspiess
For Banggood https://bit.ly/2jAQEf4
For AliExpress: http://bit.ly/2B0yTLL
For Amazon.de: http://amzn.to/2r0ZCYI
For Amazon UK: http://amzn.to/2mxBaJf
For ebay.com: http://ebay.to/2DuYXBp
https://www.facebook.com/profile.php?id=100013947273409
https://twitter.com/spiessa
https://www.instructables.com/member/Andreas%20Spiess/
Please do not try to email me. This communication channel is reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases
#no#midroll#ads
...
https://www.youtube.com/watch?v=BqwUNOHiZ9k
In this video I provide some updates, show my communication channels, and introduce my new blog: Sensorsiot.org
Supporting Material and Blog Page: http://www.sensorsiot.org
Github: https://www.github.com/sensorsiot
If you want to support the channel and buy from Banggood use this link to start your shopping: https://bit.ly/2jAQEf4 (no additional charges for you)
https://www.facebook.com/Andreas-Spiess-733189426841519/
https://twitter.com/spiessa
...
https://www.youtube.com/watch?v=RGbY06Cfzcg