Close

Hack Chat Transcript, Part 1

A event log for ESP32-S2 Hack Chat with Adafruit

New part day is best day

dan-maloneyDan Maloney 05/06/2020 at 19:520 Comments

OK everyone, let's get started! My name is Dan Maloney, I'll be your mod today for our Hack Chat with Adafruit on the ESP32-S2. Looks like we have @limor (LadayAda) and @tannewt (Scott) here. We've also got a live stream on YouTube, so tune into that at .

Welcome Adafruit! Sounds like things are going pretty well over in NYC and everyone is staying healthy, which is great news.

visualkev joined  the room.12:00 PM

pt12:00 PM
LIVE VIDEO SIMULCAST -

Nice flag!

limor12:01 PM
hey hackchat!

John Edison12:01 PM
Does anybody know if the ESP32-S2 has a larger buffer? I think the variant (not S2) I have is limited to 1600 bytes

Hi @limor, welcome!

chaterrony joined  the room.12:01 PM

Sophi Kravitz12:01 PM
hi @limor !

Peter Winter joined  the room.12:01 PM

AggregatVier12:02 PM
Category: Entertainment

AggregatVier12:02 PM
Well, yes, but...

Newcomers, make sure you head over to the live stream -

limor12:02 PM
@John Edison hi which buffer you talkin about?

Joshua Young12:02 PM
Does the ESP32-S2 still have wifi/analog pin conflicts?

Paul Derbyshire joined  the room.12:02 PM

Tim White joined  the room.12:02 PM

Dave12:03 PM
What's the status of USB OTG support?

morgan12:03 PM
I believe is was used by wifi

mumi12:03 PM
Ahoy!

Paul Subzak joined  the room.12:03 PM

morgan12:03 PM
measured signal strength or something?

limor12:03 PM
@Joshua Young we havent looked a lot yet - probably has the same restrictions - ask espressif for best info :)

Dave12:03 PM
Last time I checked the USB OTG hardware is there but no software support

Ben Hencke12:04 PM
how powerful is that riscv coprocessor? what kind of stuff could you do with it?

tannewt12:04 PM
@Dave device is working but I don't think host is working

anecdata joined  the room.12:04 PM

Peter Winter12:04 PM
Hi all! Is this thing on *tok tok*? Can I ditch the USB UART chips / programmer boards when using the S2? Aka built in USB UART to program the little rascals without needing?

Steve12:04 PM
Hello all

morgan12:04 PM
and these USB features have been added to the IDF?

Sophi Kravitz12:04 PM
hiya @tannewt !

David Galloway12:05 PM
If the EPS32-S2 has 'more ADCs' then maybe it'll adress the problem.

tannewt12:05 PM
ESP-IDF support status: https://esp32.com/viewtopic.php?f=10&t=14532

limor12:05 PM
@Ben Hencke hi! we haven't tried the risc v yet - but it could be useful for ML/AI projects which need a lto of computation and the ESP32-S2 is not a dual core tensilica

John Edison12:06 PM
@limor I was trying to build a packet sniffer a while back but packets over 1600 bytes were getting dropped in the MAC layer

Prof. Fartsparkle12:06 PM
heyy

Nicolas Tremblay left  the room.12:06 PM

de∫hipu12:06 PM
I think the hackaday.io server is melting down

Adam Demuri12:06 PM
I'm pretty excited for WiFi Time-of-Flight on the S2. Have you played with it yet? Will it let us do position tracking if we have multiple APs?

mumi12:06 PM
So am I incorrect in that this seems more like an upgrade to the 8266 rather than a ESP32V2? It has less ram, no 5GHz.. Is it possible that this is a paired down more realistic feature set than the ESP32 for most applications?

limor12:06 PM
@Peter Winter there is a USB bootloader but we don't think its UART - probably DFU or something like that

james.coleman12:07 PM
I've had memory leak issues with ESP32 - specifically with mqtt. Is that something that has been addressed in the S2?

tannewt12:07 PM
@morgan Yes, I believe the IDF has USB device. In CircuitPython we're using TinyUSB which uses the IDF to init the device.

limor12:07 PM
@John Edison that's probably in the IDF setup if its flexible - check that out to see if there's a Kconfig option

John Edison12:07 PM
TYSM

@de∫hipu - Nah, we're all good!

jim.c.sims joined  the room.12:08 PM

Peter Winter12:08 PM
thx @limor !

Boian Mitov12:09 PM
What dev board you would recommend for trying the ESP32-S2 with the Arduino IDE ?

morgan12:09 PM
awesome

de∫hipu12:09 PM
@Dan Maloney must be my connection then

Peabody192912:10 PM
What is the YouTube feed URL again?

limor12:10 PM
@Adam Demuri its nifty for sure! probably will be ~0.1 meter resolution - theres a lot of finicky things that come up when trying to do 3D position tracking!

morgan12:11 PM
can TinyUSB support multiple interfaces? Say HID and UART at the same time?

Peabody192912:11 PM
What is the YouTube feed URL again?

pt12:11 PM
from youtube Hi, can you talk about the TOF?? I have used the ESP8266 to make wireless bike light system, and would like an easy way to tell how far one node is from another

Is ESP32 suitable for commercial projects? It seems like it is still in a hacker phase......

We've only got about 130 people in the chat, we've had much more than that before

Peter Winter12:11 PM
is there any ETA for an "ESP32-WROOM-S2-*" module yet?

jamesonbeebe12:11 PM

https://youtu.be/FTgEwlLzbfo

YOUTUBE ADAFRUIT INDUSTRIES

morgan12:11 PM

https://www.youtube.com/watch?v=FTgEwlLzbfo

YOUTUBE ADAFRUIT INDUSTRIES

de∫hipu12:11 PM
@Peabody1929

@Peabody1929

Greg Bushta12:12 PM

https://www.youtube.com/watch?v=FTgEwlLzbfo&feature=youtu.be

YOUTUBE ADAFRUIT INDUSTRIES

Prof. Fartsparkle12:12 PM
given that the ESP32-S2 only has a single core, is that going to be problematic performance wise for CircuitPython if you also have to take care of the WiFi handling? How do you deal with strict timing? Or is that handled by the RTOS for you?

jamesonbeebe12:12 PM
@Peabody1929

morgan12:12 PM
can TinyUSB support multiple interfaces? Say HID and UART at the same time?

tannewt12:13 PM
@Peabody1929

Larry Bank12:13 PM
One of the issues preventing the (V1) ESP32 from being used in some battery powered projects is the poor "light sleep" current of around 1mA. Have you measured the light sleep current of the S2?

pt12:13 PM
is the power consumption on the s2 same as the normal one

de∫hipu12:13 PM
@Dan Maloney I'm getting "This message failed to send, please try again." for everything I say...

limor12:13 PM
@Boian Mitov check out the ESP32 SAOLA https://www.digikey.com/product-detail/en/espressif-systems/ESP32-S2-SAOLA-1MI/1965-ESP32-S2-SAOLA-1MI-ND/11643290

pt12:13 PM
(from yotube)

Boian Mitov12:14 PM
Is the dev board available? Link for it?

Josef Adamcik joined  the room.12:14 PM

pt12:14 PM
Morgan Allencan TinyUSB support multiple interfaces? Say HID and UART at the same time?

Jeff KingTOF support from EspressIF yet?

anfractuosity12:14 PM
Have there been any comparisons of performance of the esp32 vs esp32-s2 per chance in terms of cpu performance, i guess that might be a little tricky since the esp32 had dual cores i guess, but for comparing a single core of each MCU

Ashley12:16 PM
@limor What product trend at Adafruit has surprised you the most?

tannewt12:16 PM
@Prof. Fartsparkle Working on integrating CircuitPYthon with FreeRTOS

@de∫hipu - OK, I'll alert the devs. Thanks

Prof. Fartsparkle12:16 PM
@Boian Mitov just search on mouser or digikey

Ashley12:16 PM
What product trend at Adafruit has surprised you the most?

pt12:16 PM
Larry BankOne of the issues preventing the (V1) ESP32 from being used in some battery powered projects is the poor "light sleep" current of around 1mA. Have you measured the light sleep current of the S2?

trimixdoes the analogue pin have less noise

nardev12:17 PM
@anfractuosity the dual core was great but rarely utilized in practice.

pt12:17 PM
Adam Bryant@Adafruit Industries out of curiosity how bag are the tapes?

Jack DWhat do you recommend how non-engineers (beginners) get plugged into using esp32-s2 and learning the concepts discussed here?

nardev12:18 PM
@anfractuosity the dual core was great but rarely utilized in practice.

limor12:18 PM
@Peter Winter the WROVER and WROOM are the same size - the WROVER has PSRAM and the WROOM does not. BUT its not the same size as the ESP32-WROOM, its the same size as the WROVER (longer)

pt12:19 PM
Ethan WaldoLooking at the data sheet it doesn't look like direct DMA over GPIO is supported, just DMA for I2C/I2S/SPI/UART. Can that be confirmed?

Adam BryantI can't wait for the USB side to work so that you can drop in code like in Circuit python

Prof. Sparklesgiven that the ESP32-S2 only has a single core, is that going to be problematic performance wise for CPY if you also have to take care of the WiFi handling? How do you deal with strict timing?

Prof. SparklesOr is that handled by the RTOS for you?

pt12:20 PM
Adam Bryant@Scott Shawcroft does the S2 have the ULP to enable the tensilica to do deep sleep/standby?

limor12:20 PM
@Larry Bank the S2 has only one core so it should be less than the dual core ESP32 (v1). also the v2+ of the ESP32 did improve some sleep modes. I vaguly remember people getting under a mA

Remember all - if your question scrolls off or doesn't post, just try again. We'll do our best to get to everyone.

limor12:21 PM
tape width is 44mm

pt12:21 PM
Bob GreenwadeIs there any difference (that you know of) in how the S2 might handle audio signals, either through analog I/O pins or via I2C?

anecdata12:22 PM
"ADC2 is used by the Wi-Fi driver. Therefore the application can only use ADC2 when the Wi-Fi driver has not started." https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-reference/peripherals/adc.html But, there are 10 channels ADC1 and 10 channels ADC2.

limor12:22 PM
we're chatting about debugging the ESP32 with openocd!

Nevyn joined  the room.12:23 PM

limor12:24 PM
talkin about debugging usb which is always fun

morgan12:24 PM
is the gdb stub for backtraces not working ? ie idy.py monitor ?

pt12:24 PM
Mark Olsson@Scott Shawcroft It is broken out

limor12:24 PM
scott likes this cable, https://www.digikey.com/products/en?keywords=adafruit%203438 you can sleect data or charge mode, so you can quickly re-enumerate or keep from enumrating!

Ivan Grokhotkov joined  the room.12:25 PM

pt12:25 PM
Mark OlssonThe huzzah 8266 had some cap/transistor thing to auto restart/go to boot loader when data goes on the rts pin (awesome hack!) does that exist on esp32? is it still an issue even?

Ben Hencke12:26 PM
ooh found info on that riscv ULP - its clocked at 8mhz, and has access to the 8KB of RTC SRAM. awesome!

tannewt12:26 PM
@Ivan Grokhotkov pinged you on discord if you have answers for folks

morgan12:27 PM
cool, excited for support no that

limor12:27 PM
@Ben Hencke nice ! that will be handy to keep low power longer

Matthew Dinsdale joined  the room.12:28 PM

limor12:28 PM
@mark olsson only needed for UART bootloading, but yes it seems that the funky reset circuit is on the SAOLA ESP32S2 dev kit

Matthew Dinsdale12:28 PM
hi

morgan12:28 PM
what does the flash process over USB look like at the moment? (might have missed if it is even working)

nardev12:29 PM
@limor sorry fot this type of question but if you think it's appropriate, please tell us your oppinion. What do you think about espressf, and it's controllers in regards for trade "war" between USA and China? Could it happen that the ESP32 export or import is banned, controlled, taxed much more? Would that change much? What would be best alternative for ESP32 which is not manufactured and owned by Chinese company/state?

Thnx

limor12:29 PM
our favorite thing about ESP32S2 is that native USB!

limor12:29 PM
that unlocks circuitpython

Rob Ward joined  the room.12:29 PM

Norman Lundt joined  the room.12:29 PM

pt12:29 PM
bitminer southWhat are the differences between esp32 and esp32-s2 in term of security?

pt12:30 PM
@nardev that's a good question for espressif, and we're going to avoid politics for this hackchat for now :)

Steve12:30 PM
Yes security differences

Discussions