#339

  Переглядів 256,109

Andreas Spiess

Andreas Spiess

3 роки тому

When the ESP32 came to the market, it was well equipped: Wi-Fi, Bluetooth, two fast cores, an ultra low power core, lots of pins, etc. One thing, however, was lacking: Native USB support like the SAMD processors, for example. This changed with the new ESP32, the ESP32-S2. Here I have two development boards. Let’s look if it is the same “killer” as the first ESP32 was.
I am a proud Patreon of GreatScott!, Electroboom, Electronoobs, EEVblog, and others
Links:
Standard ESP32 boards (not S2): s.click.aliexpress.com/e/_dWm7JuQ
Datasheet: www.espressif.com/sites/defau...
Saola Board: www.digikey.com/product-detai...
The links above usually are affiliate links which support the channel (no additional cost for you).
Supporting Material and Blog Page: www.sensorsiot.org
Github: www.github.com/sensorsiot
My Patreon Page: / andreasspiess
Discord: / discord
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
My Amazon.com shop: www.amazon.com/shop/andreassp...
For Banggood bit.ly/2jAQEf4
For AliExpress: bit.ly/2B0yTLL
For Amazon.de: amzn.to/2r0ZCYI
For Amazon UK: amzn.to/2mxBaJf
For ebay.com: ebay.to/2DuYXBp
profile.php?...
/ spiessa
www.instructables.com/member/...
Please do not try to Email me or invite me on LinkedIn. These communication channels are reserved for my primary job
As an Amazon Associate, I earn from qualifying purchases

КОМЕНТАРІ: 594
@NatesRandomVideo
@NatesRandomVideo 3 роки тому
I’m not even into ESP32 but I clicked and made sure to watch the entire video because you are one of my only content providers who fought the mid-roll ads. Making sure you get as many Google Greed points for revenue. Hats off to you, sir! Bravo.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your support!
@tinayoga8844
@tinayoga8844 3 роки тому
I received my ESP32-S2-Saola-1 board earlier this week. I thought I would have to wait until Espressif released IDE 4.2. I'm glad you posted this. I now have an easy way to start using the S2.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Enjoy it!
@kcmichaelm
@kcmichaelm 3 роки тому
Thank you so much for this intro. RISC-V and FSM are both so exciting!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! That is what I think, too!
@lmamakos
@lmamakos 3 роки тому
I am very interested about the addition of the RISC-V core to be used as the ULP. The customer state-machine-based "CPU" before really had no development tools, and you had to hand-assemble your programs. RISC-V allows us to write code in C and target that instruction set and write "real" code. So long as it all fits in 8K for your code and data! I wonder if we can build a small RISC-V FORTH to fit in there... Hmm..
@northshorepx
@northshorepx 3 роки тому
Excellent start. Thanks for the tutorial Andreas.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! I thought it is time not to tackle with it.
@Auxrad39
@Auxrad39 3 роки тому
Thank you for the great comparison between the 2 boards, the low power wifi in light sleep will be interesting to play with , again keep up the great work and the awesome infomation :)
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope it will work and we will not find "fine prints" ;-)
@Scrogan
@Scrogan 3 роки тому
I’d argue that SD card support is pretty handy, especially for datalogging.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You still can stick with the ESP32. I did not see lots of boards with SD card interfaces.
@electronash
@electronash 3 роки тому
@@AndreasSpiess I'm wondering how the dev board manages to switch between the USB UART chip and native USB? I can't find schematics for a similar S2 dev board yet. Some of them just have non-populated resistors for native USB, but I guess the dev board you used can disable the USB UART chip somehow, to allow the native to take over? dl.espressif.com/dl/schematics/ESP32-S2-SAOLA-1_V1.1_schematics.pdf It looks like the SD still has SPI, though, just maybe not a dedicated SDIO interface for SD cards? So it should still support 1-bit SPI for SD cards in the same way as the ESP32?
@aleisibach
@aleisibach 3 роки тому
@@AndreasSpiess Edit: nevermind. I was wrong, I didn't know that the ESP32 has a dedicated sdmmc peripheral. Anyway, it's possible to use SD cards by the SPI (ESP32 and ESP32-s2)
@GnuReligion
@GnuReligion 3 роки тому
@@electronash Yes, I expect that SPI interface to the SD will be fine for most purposes, so long as speed is not an issue.
@electronash
@electronash 3 роки тому
@@GnuReligion Yeah, I don't think I've seen hardly anyone try 4-bit SDIO for SD card on the standard ESP32 yet anyway. You can still get around 2.5 to 5 MBytes/sec with 1-bit SPI on most SD cards these days, which is plenty fast enough.
@rikthefrog
@rikthefrog 3 роки тому
Great video as always Andreas. Thanks for your effort.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@tonysfun
@tonysfun 3 роки тому
Great show again! You are the BEST!!! I love to watch your videos and learn something new. Thank you for doing all that work for the rest of us!!! (How is your finger doing?)
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you! The finger is progressing. I still cannot use it fully. But I do not have to work hard ;-)
@tonysfun
@tonysfun 3 роки тому
@@AndreasSpiess Glad to see that your finger is returning to normal! Wishing you health and love!
@juancarlosnarvaez3875
@juancarlosnarvaez3875 3 роки тому
Thanks Andreas. Always you have a lot of interesting tutorials.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like them!
@kilnageer
@kilnageer 3 роки тому
As always you have provided an excellent, clear, concise video. Thank-you Andreas. Well done.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@d19sbp
@d19sbp 3 роки тому
thank you! finally got my ttgo t8 working with the help of this video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad it works now!
@federicoleoni5121
@federicoleoni5121 3 роки тому
Nice one Andreas, thanks for this review!
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@globalhell5046
@globalhell5046 3 роки тому
Thank you for this review! I hope they make an update for main ESP-32.
@AndreasSpiess
@AndreasSpiess 3 роки тому
They just released a "bug fix silicon"
@soumitradey8208
@soumitradey8208 3 роки тому
Thanks Sir! The distance measurement of wifi from an access point sounds intresting
@AndreasSpiess
@AndreasSpiess 3 роки тому
You bet!
@chahilpatel2993
@chahilpatel2993 3 роки тому
Missed Point 1.Esp32-S2 Doesn't Have Bluetooth About HID 2.With Esp32 You can use HID with Bluetooth Works as Mouse And Keyboard.
@AndreasSpiess
@AndreasSpiess 3 роки тому
1. True 2. I assume you refer to BLE HID. Which is something different in my opinion
@meinsda5983
@meinsda5983 3 роки тому
@@AndreasSpiess mmm BLE should not work with older hardware but i have a very old phone. I think this don't have ble. So it is possible that they connect or my ble devide also speaks bluetooth ;)
@AndreasSpiess
@AndreasSpiess 3 роки тому
BLE and Bluetooth only share the name. Otherwise they are different
@stefanweilhartner4415
@stefanweilhartner4415 3 роки тому
but this is a software thing, i guess. everyone can change that
@electronichaircut8801
@electronichaircut8801 3 роки тому
@@stefanweilhartner4415 Hardware is also different ig
@hvanmegen
@hvanmegen 3 роки тому
Great video Herr Spiess! Thank you very much for your excellent guide!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@avejst
@avejst 3 роки тому
Great update Andreas Thanks for sharing 👍😀
@AndreasSpiess
@AndreasSpiess 3 роки тому
My pleasure!
@soulrobotics
@soulrobotics 3 роки тому
Is interesting how fast everything is growing! ...and thanks to this kind of channels (eevblog, mark...etc) keep us informed and updated!. I know that is a way of getting some benefits, but i assure that you guys are more givers than takers. Amen. Yes, support, support, support!
@AndreasSpiess
@AndreasSpiess 3 роки тому
We probably give and take...
@tonybell1597
@tonybell1597 3 роки тому
Thanks Andreas, another board to add to my collection, looks interesting
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome! You can take your time, I think.
@AndreasSpiess
@AndreasSpiess 3 роки тому
For USB you need an Arduino Micro, not a Mini. I mixed the two... And the -S2 has no BLE anymore
@Graham_Wideman
@Graham_Wideman 3 роки тому
Or Teensy!
@JoseLuis-cx1kl
@JoseLuis-cx1kl 3 роки тому
Thanks and Congrats sir, you make quality content faster than what I take to absorb it!
@kevinjohansson3923
@kevinjohansson3923 3 роки тому
That they removed BLE is absolutely horrible..
@florianhofstetter6859
@florianhofstetter6859 3 роки тому
I like the clear structure in your videos.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@charlesje1966
@charlesje1966 3 роки тому
These videos always save me a lot of time! Thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad to hear it!
@electronicbasics1856
@electronicbasics1856 3 роки тому
Wow i need to buy the ESP32-S2 and start making projects with it in my youtube channel great video !!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Go for it!
@notofinterest
@notofinterest 3 роки тому
Your channel is becoming my number one newssource... 🙏
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you! I try my best...
@rsubbaraman1
@rsubbaraman1 3 роки тому
You are awesome Andreas! I'm a graduate student in the field and I have really learnt a lot from your videos and suggestions! Kudos
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks. Glad you like my content!
@signalworks
@signalworks 3 роки тому
yo i saw your comment under that radar demo video, seems like we share similar interests!
@Average_Geo
@Average_Geo 3 роки тому
I’m still on the fence about this board, but suspect it will have its place in my tinkering. Thanks for the video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome. Maybe we will use it instead of the current ESP32 because we often do not need it. And maybe the USB can become quite neat...
@DragonsTaco
@DragonsTaco 3 роки тому
Thanks to you, the first row is always worth while!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like the videos!
@Alessandro---
@Alessandro--- 3 роки тому
That little hand pointer is priceless!! Thank you, I always enjoy your videos... they are greatly appreciated.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you like them! And the little hand.
@raguaviva
@raguaviva 3 роки тому
Damn, yet another useful video talking exactly about what I need!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good to know!
@ephraimwestenberger3565
@ephraimwestenberger3565 3 роки тому
Great video as usual!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Glad you enjoyed it!
@behzadabf
@behzadabf 3 роки тому
Perfect as always... thank you..
@AndreasSpiess
@AndreasSpiess 3 роки тому
You are welcome!
@MrKr1k
@MrKr1k 3 роки тому
Thanks for video. Interesting to test light-sleep mode. If we don’t need to connect every time, maybe this will save a lot of energy.
@AndreasSpiess
@AndreasSpiess 3 роки тому
That is what I hope.
@debuggerau
@debuggerau 3 роки тому
Top stuff again, bravo
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@akj7
@akj7 3 роки тому
In the Arduino IDE's settings, there is an option "Use external Editor". This is what i use when i program the Arduino. I enable this option and open the project at the same time using CLion. This allows to use the Arduino IDE's tools like easy compilation, libraries, etc... and CLion's coding assistant like autocomplete. Really boost up my production.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Good advice. Thank you!
@akj7
@akj7 3 роки тому
@@AndreasSpiess If possible, include the Arduino standard library path (path to the Arduino.h) file and that of the libraries path in the CMake file, so the IDE can add the external files for autocomplete.
@TimBodeit
@TimBodeit 3 роки тому
Once you're at the point of running CLion, is there any reason not to switch to PlatformIO (they have a CLion plugin as well) instead of the Arduino IDE? I find that the Arduino IDE is a great place to start for beginners who want to get started with minimal setup or knowledge required. Once you're working on multiple files and managing dependencies, I personally find PlatformIO much cleaner and more convenient to work with.
@akj7
@akj7 3 роки тому
@@TimBodeit I believe the Arduino IDE provides more libraries (and stabilities.). For a youtuber like Herr Spiess, it reduce the complexity of this video, targetting every level of Tkinterer. Personally, i have a Cmake Script that when used with CLion, compiles the Code and uploads it directly to the board. I however still download my libraries with the arduino IDE.
@TimBodeit
@TimBodeit 3 роки тому
​@@akj7 More libraries does not seem to be the case for me. Both the ESP8266 (3018) and Atmel AVRs (3345) there are more Arduino-based libraries listed with PlatformIO than I could find in the Arduino Library List for all architectures combined (3013). I totally agree with the point on video complexity. "Any level of Tinkerer" is a very good description of the use-case for the Arduino IDE. I would classify a tinkerer as someone who bodges together a one-time project by himself. For him, the Arduino IDE is a sufficient tool with very low barriers. In constrast a "developer" who maintains multiple projects over a longer period of time, shares code with a larger circle of contributors or ships Arduino code that has to work reliably in production, has different priorities. Part of making builds reproducible is to use the same versions of all dependencies no matter whos machine you're building on and what year you're building a certain version of your code in. Try running a git bisect when working with globally installed libraries. I'm not saying, that there isn't a place for the Arduino IDE. I'm just suggesting, that anyone who has arrived at a level where he uses a different Editor, should try out PlatformIO first, before writing his own makefiles around the Arduino IDEs tools.
@rudsomlima
@rudsomlima 3 роки тому
I hope that the AD converter inaccuracy problem has improved in this new version. Thanks for video!
@AndreasSpiess
@AndreasSpiess 3 роки тому
We will see...
@andrewhenson8458
@andrewhenson8458 3 роки тому
I second this! Was a massive downside when we used to use the regular ESP32... Needed to linearise the ADC on each chip to make it useful. In addition, one the 12-bit ADC's never had a driver, so we could only use 1. Seemed very rushed from Espressif
@fluffyblue4006
@fluffyblue4006 3 роки тому
Thank you for pointing this ESP32-S2 out to us. Please do a follow-up: check the analog (compared to esp32/esp8266), and the new WiFi features. I like this new board. It expands the palette to choose from. Would be good if a new one came out that combines the features of the ESP32 and the -S2. I also mixed up the Arduinos. I have some Uno in stock but I need USB functions on one project I did, so my one Leonardo is currently unavailable for dev use. As soon as PlatformIO supports the ESP32S2, I'll order some. (I don't use the Arduino IDE anymore)
@AndreasSpiess
@AndreasSpiess 3 роки тому
I just used a Micro to replace the mouse on my microscope camera. They are much smaller than the Leonardos...
@fluffyblue4006
@fluffyblue4006 3 роки тому
@@AndreasSpiess I made an extra button panel that acts as a USB-keyboard. It has some extra buttons that my keyboard does not have, a mouse mover that prevents screensavers to kick in, a rotary encoder for PC sound volume and push-and-hold-buttons for my mouse, for games that need to have my mouse button pressed down for a long time. My Leonardo is now in that panel. I know... I need to order some Micros. One for that button panel and another one for a custom USB joystick / mouse device.
@smraro
@smraro 3 роки тому
thanks again for the great content the low power wifi could be a game changer
@AndreasSpiess
@AndreasSpiess 3 роки тому
Hope so!
@melbournecreatorscollectiv66
@melbournecreatorscollectiv66 Рік тому
Danke Andreas. I always enjoy your videos. I only just "discovered" the S2 and have ordered a couple of mini modules (the type with 4 rows of pins). I like the added IO count. Your video was 2 years ago. Do you know if things have got easier regarding the Arduino IDE? Maybe a follow up video?
@AndreasSpiess
@AndreasSpiess Рік тому
I recently made a video about the S3...
@XtianTechno
@XtianTechno 3 роки тому
Congrats! i think this is one of best channels on electronic enviroment.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you
@kfash5198
@kfash5198 3 роки тому
I cant wait for your testing of the light sleep with WiFi. I have a project that requires this. It will be a game changer!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope it will be as good as we expect...
@CedricBellec
@CedricBellec 3 роки тому
Thank you!
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@shamasis.bhattacharya
@shamasis.bhattacharya 3 роки тому
Also ... I’ve become your Patreon supporter. Don’t know why I waited this long. I’m trying to now make a morse code transceiver using ESP. Once it works using WiFi and UDP, I will attempt using LoRa.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you for your support! And enjoy your project. Morse is cool ;-)
@dougbarber600
@dougbarber600 Рік тому
Many Thanks Andreas - I recently bought an ESP32S2 by mistake and was confused when I couldn't connect it to the Arduino IDE.😃
@AndreasSpiess
@AndreasSpiess Рік тому
You should find many ESP32 videos…
@Spritetm
@Spritetm 3 роки тому
On the 'no CAN bus'... it is technically true that we do not have a peripheral that we can explicitly name a 'CAN' peripheral... but do look for something called a TWAI (Two-Wire Automotive Interface) peripheral popping up. If you used CAN in the ESP32, you may find that your application runs perfectly well on a S2 using the TWAI interface as well. Also, while someone surely can write a bootloader that makes the S2 show up as a flash drive, the bootloader in ROM shows up as a composite serial port / DFU device. You can upload your sketch either using the serial port as normal, or use DFU to upload it.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Hi sprite_tm, nice you watched the video! Thanks for your corrections. I saw that the Circuitpython people work on doing the "upload" via the flash drive.
@herrmaker1759
@herrmaker1759 3 роки тому
Great video! As always 😁 Two small questions: 1) Do you know if there is anywhere an example code (best for Arduino IDE) showing the use of light sleep and Wifi connection? (the official Espressif-API docu gets me confused, i.e. I didn't get it working 😕). 2) Do you know whether the ESP32-S2-Saloa board has an ADC channel, usually GPIO35 to the battery input pin via a voltage divider so that battery voltage can be monitored?
@AndreasSpiess
@AndreasSpiess 3 роки тому
1. As said, I never used light sleep 2. Here is the schematics: dl.espressif.com/dl/schematics/ESP32-S2-SAOLA-1_V1.1_schematics.pdf
@edgar9651
@edgar9651 3 роки тому
Thanks! Currently I use in my ESP32 projects the CAN Bus and native SD-Card interface (with ESP-IDF). Now I know that I don't have to look at the new ESP in the moment.
@AndreasSpiess
@AndreasSpiess 3 роки тому
True!
@krukhlis
@krukhlis 3 роки тому
For me -- almost the same. Native SD interface, 2 cores, BLE, etc -- everything is gone. And the only benefit is "native usb" which is not supported properly yet. Plus, new low-power consumption mode with connected WIFI state which is useless for me, because my modules need to be all the time "ON" without any sleep or inactivity periods. It's just a 8266 replacement, not the successor of ESP32.
@dr2okevin
@dr2okevin 3 роки тому
7:30 looks for me as cloning the Repo and just switching branches when ever you want to use the old or new one, would make it much faster to switch.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You can do that if you want. Most of my viewers are not very familiar with Git...
@roelskiunplugged1134
@roelskiunplugged1134 3 роки тому
Or you create portable Arduino IDE. Much easier
@tobimai4843
@tobimai4843 3 роки тому
@@roelskiunplugged1134 Or just use PlatformIO, then you have an actual IDE
@itoffice
@itoffice 3 роки тому
- or, if you are on Linux/Mac: Switch by changing a symbolic link between two folders. No constantly delete and download of files required after initial download. Just perform two commands locally. Or maybe even make a bash script for that.
@kohliabhi
@kohliabhi 3 роки тому
@@itoffice Exactly what I was thinking. But I am not sure of get.exe -> get.py will it work fine ? Did it work for you ?
@namulit
@namulit 3 роки тому
The low power consumption on light sleep with connected wifi sure comes in handy for some projects I have in mind.
@AndreasSpiess
@AndreasSpiess 3 роки тому
We will see if it will live up to our expectations...
@jamesgoacher1606
@jamesgoacher1606 3 роки тому
There was quite a lot in the middle of that which I will need to watch again, but that's my fault. Many thanks.
@AndreasSpiess
@AndreasSpiess 3 роки тому
This is the power of youtube: I always can repeat things I did not get the first time...
@trekRobertoCarlos
@trekRobertoCarlos 3 роки тому
Thank you so much.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@StefanoBettega
@StefanoBettega 3 роки тому
I'm really curious about FSM instructions. Are you planning a video on it? Thanks!
@AndreasSpiess
@AndreasSpiess 3 роки тому
If it is supported in the Arduino IDE, for sure
@ZozoleonLego
@ZozoleonLego 3 роки тому
Another very informative video! It looks like an interesting alternative, though I use ESP32 only for its BT capabilities - so I guess I will never play with the new variant. Have you tested the new Arduino boards with Nordic BT chips? Can you recommend them as alternatives for the ESP32 for BT projects?
@AndreasSpiess
@AndreasSpiess 3 роки тому
The Nordic chips have better low power and BLE capabilities. But I do not yet know how they are supported by the Arduino IDE and which libraries work.
@Mr-Widget
@Mr-Widget 3 роки тому
Hi Andreas, great video! I wonder about having to switch to the S2 branch in the IDF I thought they did a merge back to master recently. You do have to tell the IDF you're building for S2 though.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not work with the IDF, so I do not know.
@BinderTronics
@BinderTronics 3 роки тому
Yes. You will have to tell the IDF that you are using the S2. There are compile macros in the source for it. Have not bothered to see how to switch it to the S2. Assuming it is somewhere in the menuconfig.
@Mr-Widget
@Mr-Widget 3 роки тому
@@BinderTronics I followed the instructions here: docs.espressif.com/projects/esp-idf/en/latest/esp32s2/get-started/index.html This was the part I was talking about (building on Windows): cd %userprofile%\esp\hello_world idf.py set-target esp32s2 idf.py menuconfig
@ramimehyar481
@ramimehyar481 7 місяців тому
Many thanks! Please help me clearing out this question i have... From the datasheet I understood that the ESP32-S2FN4R2 version has 4mb internal ROM, does that mean that the external flash is not compulsory anymore? I am thinking about making my custom pcb, hence the question. Thank you very much for the great channel.
@AndreasSpiess
@AndreasSpiess 7 місяців тому
I never heard of this chip variant. But according the datasheet, it has built-in flash.
@englishrupe01
@englishrupe01 3 роки тому
Thanks for the look, Andreas! However, no Bluetooth and no SD card support are huge minuses for me. I could get over only one core, maybe, but not the other two. I can wait. But thanks indeed!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Fair enough!
@aki6265
@aki6265 Рік тому
I am a student and I got to play around with s2 dev board for one of my project given the additional gpio pins that I require for my project! If not I might not have used this for other features lol
@AndreasSpiess
@AndreasSpiess Рік тому
Good luck with your project!
@peros550
@peros550 3 роки тому
Andreas thank you for another informative video. One thing that wasn’t clear to me is USB. After you flash a device over USB, the device stops exposing its serial over USB? It turns into a mass storage ?
@AndreasSpiess
@AndreasSpiess 3 роки тому
It turns into a mass storage device. But I am not sure if it can keep a serial connection.
@klaushelmgens8403
@klaushelmgens8403 3 роки тому
For me the most important feature is the light sleep with connected WiFi. Especially for fast responding projects which should not waste time to reestablish the Wifi connection first. I will try it for sure. The only thing which is a bit disappointing is that they will not coexist in the Arduino IDE in the moment.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume this will not be for a long time (or I hope so )
@ronm6585
@ronm6585 3 роки тому
Thank you.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome!
@PhG1961
@PhG1961 3 роки тому
Very interesting and usefull. I didn't expect anything else... ;-)
@AndreasSpiess
@AndreasSpiess 3 роки тому
The video is only as good as the underlying material ;-)
@PhG1961
@PhG1961 3 роки тому
@@AndreasSpiess Indeed, but the video gives a nice and comprehensive overview of the possibilties and limitations in a relaxed and entertaining way. All within the blink of an eye...
@bobbytmp1322
@bobbytmp1322 3 роки тому
Good job
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@RobLatour
@RobLatour 3 роки тому
thanks for the great video. To get a sketch to compile on my Windows machine I had to run the get.exe program as an administrator.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Possible. Depends where you store your arduino files.
@martinsauerteig4882
@martinsauerteig4882 3 роки тому
Thanks for this great overview with essential hints. Again first class infos for the "hungry" first row.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you. I thought it is time now. But many things are still very new. But this was the same with the ESP8266 and the ESP32.
@bobvincent5921
@bobvincent5921 3 роки тому
Thanks,very interesting and tempts me to fit in with my other projects!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope we will get some boards with this module soon
@altamiradorable
@altamiradorable 3 роки тому
Andreas Spies, the Swiss knife of IOT !! Thanks Andreas !!
@AndreasSpiess
@AndreasSpiess 3 роки тому
:-)) Thank you!
@TOMTOM-nh3nl
@TOMTOM-nh3nl 3 роки тому
Thank You
@AndreasSpiess
@AndreasSpiess 3 роки тому
You're welcome
@maiconlfc2
@maiconlfc2 3 роки тому
Great video
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thank you!
@mewintle
@mewintle 3 роки тому
I’m intrigued by the FSM instructions. Might you do a video about that someday?
@AndreasSpiess
@AndreasSpiess 3 роки тому
If I get it in the Ardino IDE and find a decent story: Yes.
@NikolaiVarankine
@NikolaiVarankine 2 роки тому
Nice thing about FSM is that it could run independently. Main CPU LX7 may run or sleep at this time. And FSM has always an access to I2C. Combined, in some way it could leverage a missed second LX7 core. Unfortunately, Risc-V was found not usable with ESP-IDF 4.2. You may want to check with next version 4.4, now released.
@nonicnik
@nonicnik 3 роки тому
Nice video. Could you do the same for the new upgrade of the normal esp32. Like the wroom 32e. May not have as much new things but still looks interesting
@AndreasSpiess
@AndreasSpiess 3 роки тому
I quickly checked and only found a very small bug-fix release not to mention for most of us... Or do you have other info?
@nonicnik
@nonicnik 3 роки тому
@@AndreasSpiess Oh Mist. I've read that there was the update to the esp 32 2 months ago and must have mixed some things with the new esp 32 S-2. You're right, the wroom 32e only has some bugfixing
@dirk-janfaber
@dirk-janfaber 3 роки тому
This is an interesting board. Thank you for your review. Depending on the use case and admittedly more expensive, the particle Argon (or even the Photon) might be an alternative. I am also fond of the new Teensy 4.x boards , which lack wifi, but are otherwise packed with usable pins. Both can be used as USB hosts.
@AndreasSpiess
@AndreasSpiess 3 роки тому
There are many boards out there, if you do not want Wi-Fi. Most of my projects use Wi-Fi. This is why I like the ESPs. And changing to a new processor needs quite some time for me. So I have to restrict myself a little. This might be different for others.
@beware_the_moose
@beware_the_moose 3 роки тому
So it works like a microbit for the file uploading. About time!
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume it will work like that in the future. But also the Arduino IDE has to change a little...
@Sarwarislammoon
@Sarwarislammoon 3 роки тому
Hi Thanks for another awesome presentation as-usual.In one of your video U share a very informative spread sheet of esp32 pin out with all alternate functions , unfortunately i lost this one , can u please assist me to get it again .
@AndreasSpiess
@AndreasSpiess 3 роки тому
It is in the comments of the particular videos
@YigalBZ
@YigalBZ 3 роки тому
Great video. It is time for ESP32 to change. One thing bothers me: Why stick to Arduino IDE? I use Visual Studio Code. No way back to Arduino IDE after getting such a better IDE. Easier to install libs, easier to compile, automatic port detection, connection to github (can be better though). I don,t see the ESP32-S2 there yet, but I am sure it will be supported soon.
@AndreasSpiess
@AndreasSpiess 3 роки тому
PIO is definitively better. But never forget that the Arduino IDE was the basis for all the libraries etc. PIO can build on now. And If you do not use Espressif's IDE, you still use the Arduino IDE infrastructure in PIO ;-) I have to stick with the Arduino IDE because most of my viewers use it and the PIO users easily can convert the projects.
@YigalBZ
@YigalBZ 3 роки тому
@@AndreasSpiess Makes sense. What about the online IDE? I found it better because I can easily access the designs from different computers (design in one room, test in other room), but it seems they charge money for the ESP32. That was the moment I moved to VS Code.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I never tried the online stuff. Does it also work with ESP32, for example? I use Dropbox for synchronization
@YigalBZ
@YigalBZ 3 роки тому
@@AndreasSpiess It should, but they want money, so I skipped that. It works just great with Arduino. Much more convenient than dropbox or even github. You can just save a project one laptop and open it on another. I used it a lot because I write the code in one room and use it where my "junk" is located (this is how they call my fantastic room with small boxes full of Arduino stuff).
@KrantzThe
@KrantzThe 3 роки тому
If I didn't miss understand you said that S2 have a new feature that wifi can be anabled during light sleep. Actually the old ESP32 already have automatic light sleep which works great and gets current consumption down to 1-2mA with a wifi DTIM interval of about 10.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I never tried it.
@KrantzThe
@KrantzThe 3 роки тому
@@AndreasSpiess actually works really well, we us it in our ESP32 based product at work.
@nisitwattanasri
@nisitwattanasri 3 роки тому
Thank you for it. Do you have the solution for Mac version as well?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I have no MAC :-(
@voonoo2059
@voonoo2059 3 роки тому
Thanks a lot Andreas for another amazing vid. I am disagree in one point that "security" is not interesting for a maker. Safty first. If you can not trust your device from been hacked or not secure in production than it prevent you from making projects for production environments where your credentials have to be safe and your code have to be protected. I think espressif goes the right direction. Because of that I hope you can make a vid about this feature.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I am not against security. The credentials should already now be save with the current ESPs. Code protection is not so important for me as I do not sell products...
@JakubChalupnik
@JakubChalupnik 3 роки тому
That's great news! The WiFi in low sleep is _definitely_ a game changer, because now it's possible to have e.g. ESP32 based sensors running off solar charged LiIon. Or a remote camera taking picture every minute and sending it to a server, and again with just a small solar panel. Addition of Risc-V and FSM - hmm, maybe... again, like Risc-V core running all the time and doing measurements, and waking up LX7 core to send data to server... It all depends on how much power that Risc-V will need.
@AndreasSpiess
@AndreasSpiess 3 роки тому
You find the power consumptions of the different cores in the datasheet. I did not check yet
@aki6265
@aki6265 Рік тому
Hello Andreas! Thank you very much for your informative videos that helped me a lot. I was trying to install S2 dev board in my arduino. But I could not find the esspressif arduino S2 git hub branch. Is there a way you could share that with us? Would really appreciate it as I need it for my final year project
@AndreasSpiess
@AndreasSpiess Рік тому
It is now supported by the main branch.
@aki6265
@aki6265 Рік тому
Thank you soooooo much man😭😭 like literally I have watched so many yt vids but YOURS WAS THE BEST💕💕 and you are taking time to reply to all your comments and I just wanna say that you are amazing 🤩
@BillXT11
@BillXT11 3 роки тому
I use CAN bus very often and the SD for logging
@AndreasSpiess
@AndreasSpiess 3 роки тому
So you will stay with the ESP32, I assume...
@dirkabel6798
@dirkabel6798 3 роки тому
CAN Bus is still present, they call it TWAI. I think for copyright and license fee. Use the SD Card with SPI.
@avieleliyahu6199
@avieleliyahu6199 3 роки тому
Thanks for the video! Does anyone knows if the issue with ADC2 pins not working when WiFi is on has been fixed?
@ZozoleonLego
@ZozoleonLego 3 роки тому
It's not a bug, it's a feature :) The ADC is used internally for receiving purposes, if I remember correctly.
@jeremyhogan7675
@jeremyhogan7675 3 роки тому
I emailed Espressif about this question. Here is their response: ============ In ADC2, there are two locks used for different cases: 1. lock shared with app and WiFi: ESP32: When WiFi is using the ADC2, we assume it will never stop, so app checks the lock and return immediately if failed. ESP32-S2: The controller's control over the ADC is determined by the arbiter. There is no need to control by lock. 2. Lock shared between tasks: when several tasks sharing the ADC2, we want to guarantee all the requests will be handled. Since conversions are short (about 31us), app returns the lock very soon; we use a spinlock to stand there waiting to do conversions one by one. adc2_spinlock should be acquired first, then adc2_wifi_lock or rtc_spinlock. ============== So, my take is that they eliminated this problem. I'm no expert, so maybe someone else can parse this response and better interpret it.
@tlamont941
@tlamont941 3 роки тому
Great video, do you know if the s2 still suffers from the 500ma spike when you start wifi?
@AndreasSpiess
@AndreasSpiess 3 роки тому
Yes, it will. This inherent in WiFi
@tlamont941
@tlamont941 3 роки тому
@@AndreasSpiess shame. Thanks
@electronic7979
@electronic7979 3 роки тому
Very good. I liked it your video
@AndreasSpiess
@AndreasSpiess 3 роки тому
Thanks for the visit!
@sharpbends
@sharpbends 3 роки тому
I like (traditional serial) Bluetooth and Dual Cores but I also like the new USB support. I am however pleased that Espressif continues ESP32 hardware development.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I assume they have to do something. I read somewhere that their CEO became very rich with the ESPs ;-)
@syber-space
@syber-space 3 роки тому
Definitely no replacement for the ESP32 in general (those two cores are too useful to me), but a really useful option to have. I can't wait for projects that can use BLE and Keyboard emulation at the same time!
@AndreasSpiess
@AndreasSpiess 3 роки тому
Then you have to wait for the S3 ;-)
@krukhlis
@krukhlis 3 роки тому
No BLE in S2. They've stripped it out with many other important and valuable features.
@NeilorMendes
@NeilorMendes 3 роки тому
Hi Andreas, do you know if they have fixed/improved the ADC and RTC drifts?
@AndreasSpiess
@AndreasSpiess 3 роки тому
No, I do not know.
@NeilorMendes
@NeilorMendes 3 роки тому
@@AndreasSpiess Thanks!
@bobblaine1437
@bobblaine1437 3 роки тому
Thanks for this, I was curious about it. I'm puzzled by why they chose to support the boards exclusively on Arduino and wondering if the same is true for esp-idf. Also puzzled why they decided to go back to a single core. Multi-cores is a game changer for me.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Arduino IDE is also supported. Their main IDE is still theirs... I assume it also has a cost and power implication to have two cores.
@tobimai4843
@tobimai4843 3 роки тому
It is not an Upgrade to the ESP32, it's just an alternative. Also, nearly nobody actually needs 2 cores. And the new architecture is faster
@DanielaTocan
@DanielaTocan 3 роки тому
I got win a @Zhiyun-Tech Smooth X 2 axis Gimbal. It works with an App and Bluetooth integrated. Shure all is proprietary 😥. I look now for a posibility to mount this to a slider i build with a stepper motor. Any advanced maker out there that can put me to the way i need to combine such? The device should trigger for night photography the smartphone and make in a sequence photos 400 photos approx for 10 seconds video at least with the smartphone. Such ESP board can be usefull? Do someone know resources to start?
@connecticutaggie
@connecticutaggie 3 роки тому
I recall when you discussed the 8266 (which had one core) and the ESP32 I mentioned that for the ESP8266 you had to use 'yield()' in any loop if you wanted reliable WiFi communication; but, for the ESP32 that was no longer required. I assumed that this because the 2nd core could process the WiFi events independent of the Arduino code primary core. I also found that the ESP32 Arduino firmware used FreeRTOS instead; so, maybe that was the real reason. Can you clarify? Did you do any WiFi testing to detect if the S2 as any issues with dropping wireless messages?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not do any Wi-Fi testing so far. But I assume they use RTOS functionality to deal with Wi-Fi.
@skudooq
@skudooq 3 роки тому
@Andreas: Regarding your statement on the ULP just one comment - The Finite State Machine aka FSM is the classic way known already from the ESP32 so it is as interesting as before. The new option is the Risc-V, and you're probably gonna like it over FSM since Espressif's idea is that you compile the Risc-V ULP programs from C (adding such support to the tool-chain is at least planned for the ESP-IDF). This might allow more developers (and, to put it your way, not only the tough guys) to program the UPL.
@AndreasSpiess
@AndreasSpiess 3 роки тому
There is a project to program the ULP in C. Unfortunately I was not able to get it running :-(
@skudooq
@skudooq 3 роки тому
@@AndreasSpiess I guess you will have to wait since from my point of view the ESP-IDF is still far from being ready. I didn't even succeed to get a simple ULP running in the ESP32S2 despite adhering to the documentation. When I asked for an example in the ESP-forum I got a link to download an ESP-IDF that is ESP-IDF v4.2-dev-1905-g625bd5eb1-dirty which then worked fine. So even ULP-FSM for the ESP32S2 is still work in progress. Also I was told that: "Regarding RISC-V ULP, support for this should be merged to master in the next couple of weeks." So I guess you should give it some more weeks and then give it another go.
@martinkuhk
@martinkuhk 3 роки тому
Can’t wait to see CircuitPython running on this new ESP32-S2.
@AndreasSpiess
@AndreasSpiess 3 роки тому
They are working on it.
@sophosvanalles6265
@sophosvanalles6265 3 роки тому
801.11mc is hands down the best feature in my opinion for indoor nav robotics! :D
@AndreasSpiess
@AndreasSpiess 3 роки тому
I hope it will work...
@stefanweilhartner4415
@stefanweilhartner4415 3 роки тому
the two extra cores could be used to emulate old CPUs and add RISC-V features. i have not done research in this area but it sounds very interesting. imagine new compatible drop-in replacements for old 8 bit machines and consoles like commodores and ataris...
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you try it once...
@Dasol0246
@Dasol0246 3 роки тому
Can you do a video on light sleep power consumption. Thank you
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe I will cover this topic in one of my future videos.
@jmaguilarr
@jmaguilarr 3 роки тому
Excellent video as always , but i think that esp 32 , the two versión , still doesnt have the same number of proyects that the esp 8266
@AndreasSpiess
@AndreasSpiess 3 роки тому
I think it is also a matter of time... I see that I do no more buy ESP8266 and use up what I have. The new boards are ESP32s.
@listerdave1240
@listerdave1240 3 роки тому
Not a replacement for the ESP32 in most cases but one particular thing of it I will definitely find useful is the sleep with WiFi active. Will probably be using it in conjunction with a regular ESP32 having the S2 sleeping and waking up the main ESP32 when needed. What I would miss most if I were to use the S2 is the dual core as I often do things that need accurate timing that is unachievable with just one core as there are some interrupts that just cannot be disabled without making things go wrong. Is it possible to have two installations on the same PC, one for the ESP32 and one for the ESP32-S2, maybe in different folders? Or would it need to be on a different PC or a VM?
@AndreasSpiess
@AndreasSpiess 3 роки тому
I did not check recently, but AFAIK you can have as many Arduino IDE installations as you want. Just select another directory during installation
@roelskiunplugged1134
@roelskiunplugged1134 3 роки тому
Yes you can. Create portable Arduino IDE. E.g create subfolder portable
@listerdave1240
@listerdave1240 3 роки тому
@@AndreasSpiess Thanks, that's great
@nochkin
@nochkin 3 роки тому
BTW, where did you find the info about WiFi staying alive while in sleep mode? I couldn't find that fine print you are referring to. Just wondering if ESP32-C3 has the same thing.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I do not remember where I found it. I have C3s, but I wait for software for them...
@nochkin
@nochkin 3 роки тому
@@AndreasSpiess ESP-IDF supports it already. I got C3 too, maybe I'll play with it myself to find out.
@roelskiunplugged1134
@roelskiunplugged1134 3 роки тому
You can also create portable arduino-ide. That way you can have multiple versions next to each other with different options and library's. I wonder is esp32-s2 also has the same horrible AD converter. I hope not.
@AndreasSpiess
@AndreasSpiess 3 роки тому
1. About the Arduino IDE: True. Or you install it in an aother directory 2. We will see in a future test
@roelskiunplugged1134
@roelskiunplugged1134 3 роки тому
Portable mode does not use %appdata%, so no libraries or settings will overlap. Really important if you need to use altered or old version library! Just installing 2 versions ide is not enough. You really need to use portable mode in that case. Also easier to backup as you have all needed files in one folder.
@justDIY
@justDIY 3 роки тому
Hoping to see one with the very compact Wemos foot print.
@AndreasSpiess
@AndreasSpiess 3 роки тому
I also wait for a few new boards.
@Ownedyou
@Ownedyou 3 роки тому
Andreas, I believe the ESP32S2 is not a replacement for the original ESP32-WROOM modules, it's a branch out. The original ESP32-WROOM-32 module is now not recommended for new designs. The new ESP32-WROOM-32E is a complete drop in replacement with some upgrades, according to post on the Espressif forum, so no sweat there.
@AndreasSpiess
@AndreasSpiess 3 роки тому
1. True. I mentioned it in my summary 2. The -e seems to be a bug fix of minor silicon bugs on the chip.
@africantwin173
@africantwin173 3 роки тому
What is a safe nominal voltage to use without heating the voltage regulator on the esp32 board.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Most of the boards I know use USB (5V)
@africantwin173
@africantwin173 3 роки тому
@@AndreasSpiess its because i saw a voltage regulator sot 223 AMS1117 3.3v chipset on most esp32 boards. So i thought that 4 volt would be more than enough for the esp32 , just to be on the safe side and not frying the AMS1117 by too much power when the board runs 24/7.
@AndreasSpiess
@AndreasSpiess 3 роки тому
Maybe you go up with the voltage and check the temperature of the AMS with your finger...
451 Which Processor can kill the ESP32?
11:24
Andreas Spiess
Переглядів 331 тис.
Radar Sensors from $3 to over $100: Which one is Best?
14:31
Andreas Spiess
Переглядів 147 тис.
Лизка заплакала смотря видео котиков🙀😭
00:33
Add USB To Your Electronics Projects! - The USB Protocol Explained
15:19
Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Переглядів 190 тис.
#407 ESP32-S2 New Arduino USB Functionality: Cool Combination with WiFi
12:31
#371 RISC-V: How much is open source? Featuring the new ESP32-C3
25:25
Andreas Spiess
Переглядів 212 тис.
#345 ESP32 vs STM32: Which one is better (Bluepill)?
15:37
Andreas Spiess
Переглядів 231 тис.
10 Great Artificial Intelligence projects using ESP32-CAM!!!
7:18
ToP Projects Compilation
Переглядів 134 тис.
12 Amazing ESP32 Projects explained in 9 minutes!
9:28
ToP Projects Compilation
Переглядів 361 тис.
#363 Which ESP32 pins are safe to use?
11:53
Andreas Spiess
Переглядів 124 тис.
How to Run Linux on an ESP32
18:53
element14 presents
Переглядів 143 тис.
Simulate Arduino, ESP32, Pi Pico, STM32, And ATtiny with Wokwi
11:41
Andreas Spiess
Переглядів 83 тис.
Тестируем Gravis Ultrasound... ну почти.
48:18
Дмитрий Бачило
Переглядів 27 тис.
''Бесплатные умные'' домофоны для глупых людей. За чей счет банкет?
12:48
Вадим Шегалов.Оккультные игры элиты
Переглядів 31 тис.
Which Phone Unlock Code Will You Choose? 🤔️
0:12
Game9bit
Переглядів 6 млн