News for hackers. Stuff that matters.
Re:Introducing the Nano ESP32 by pawelduda on Monday July 17, 2023 @06:33PM (#36765002)
What's the difference?
Re:Introducing the Nano ESP32 by adolph on Monday July 17, 2023 @06:46PM (#36765127)
The OG ESP32 and successors esp32-S2 and ESP32-S3 use an ISA from company Tensilica called Xtensa LX6 (LX7 for the S3). The ESP32 C and H series use RISC-V. Xtensa is pretty well supported by compilers at this point, but RISC-V is on the rise and will have better support going forward. At this point in time, the S3 is the speediest ESP32 and is well supported, so it probably doesn't make a big difference.

ISA: https://en.wikipedia.org/wiki/Instruction_set_architecture

https://en.wikipedia.org/wiki/ESP32

Re:Introducing the Nano ESP32 by snvzz on Monday July 17, 2023 @07:03PM (#36765298)
It's not just this, but also that Espressif CEO's expressed their desire to focus on RISC-V[0].

Thus, a new Arduino platform is being created out of a deprecated family of MCUs, the Tensilica-based ESP32s.

0. https://www.eenewseurope.com/en/espressif-moves-exclusively-...

Re:Introducing the Nano ESP32 by solarkraft on Monday July 17, 2023 @07:24PM (#36765504)
The move when using the IDF is quite smooth though.
Re:Introducing the Nano ESP32 by adolph on Monday July 17, 2023 @07:33PM (#36765594)
Arduino’s decision process doesn’t make sense to me. The Uno R4 Wifi is another instance of selecting an ESP32-S3, but pretty much treating it as a dumb peripheral to a lower seed main MCU.
Re:Introducing the Nano ESP32 by jononor on Monday July 17, 2023 @09:12PM (#36766508)
Deprecated in microcontroller land means you should probably move away sometime within the next 10 years or so. And being on the bleeding edge can be quite painful. So I think Xtensa based ESP32 was a good choice, for a first board. It will have the best support for at least another 3 years. And possibly way longer.

Also, arguably the entire Arduino brand started on a deprecated (and much less capable) platform, the Atmel AVR8. It was not an issue either.

Re:Introducing the Nano ESP32 by thomasjb on Monday July 17, 2023 @07:12PM (#36765385)
What are the non-Espressif targets for an Xtensa compiler? Could be there's some other fun embedded chips to use with it
Re:Introducing the Nano ESP32 by robbywashere_ on Monday July 17, 2023 @10:17PM (#36766987)
risc-v espressif can run rust now I think?
Re:Introducing the Nano ESP32 by adolph on Tuesday July 18, 2023 @10:03AM (#36772424)
Rust can be compiled to most Espressif MCUs. The critical difference is if there is standard library support. ESP8266 is an older design but can still be a Rust no_std target [0]. Espressif did release a board [1] for use with Rust training designed for the board [2].

0. https://esp-rs.github.io/book/overview/index.html

1. https://github.com/esp-rs/esp-rust-board

2. https://esp-rs.github.io/std-training/

Also: https://github.com/esp-rs/awesome-esp-rust

Re:Introducing the Nano ESP32 by robbywashere_ on Tuesday July 18, 2023 @11:20PM (#36781751)
Hey thanks for the links, you seem very knowledgable ;) I am actively looking for any good information or even good hacker communities using ESP32 for some hobby embedded things. Care to recommend any? Thanks again!
Re:Introducing the Nano ESP32 by adolph on Wednesday July 19, 2023 @07:56PM (#36795203)
I’m just a beginner myself, learning slowly. There is so much out there that a recommendation would need more information about your goals. Something that I recommend elsewhere in this topic is Dronebot Workshop. That person has well done videos with an excellent companion website. One of the tricks is understanding what information is too old to be helpful.

A very accessible starter project that I would suggest is to use an Wemos Mini esp8266 and an 8x8 led panel. Desolder leads from the panel and solder the 5v, ground and d4 pin from the Wemos to it. Attach to computer via usb and open the WLED website below to load the firmware on the ESP. Then open the on-ESP website or use the WLED app to go wild with colors.

https://kno.wled.ge/

LED Panel: https://www.amazon.com/gp/aw/d/B01DC0IMRW

Wemos mini: https://www.amazon.com/Organizer-ESP8266-Internet-Developmen...

Nearly any Wemos Mini D1 clone will work.