this post was submitted on 17 Jun 2023
9 points (100.0% liked)
Electronics
2001 readers
9 users here now
Projects, pictures, industry discussions and news about electronic engineering & component-level electronic circuits.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: No circuit design or repair, tools or component questions.
5: No excessively promoting your own sites, social media, videos etc.
Ask questions in https://discuss.tchncs.de/c/askelectronics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think ali doesnt work in my country. But is it something like this?
Whats the interface like? Would I need custom programmer boards? Serial com port etc?
What about compilers? I saw riscv mentioned in some places, so would gcc work?
In addition to what others have mentioned if you're using Home Assistant or an MQTT environment than using the ESPHome tools can make life much easier.
You can also install MicroPython, and with it's new and improved "mip" (pip for micropython) you can easily find drivers for most things. Micropython doesn't support "threads" on the esp8266 as such, but can use uasyncio, which achieves the same goal.
You can find a lot of different dev boards with ESP32, like the one you mentioned. There is other with camera, e-paper screen drivers, smaller footprint (Xiao ESP32). The simplest way to program is using Arduino IDE, but I prefer using PlatformIO on VScode. GCC would work. The interface is with the USB port, which is used for COM port or for programming
The easiest way to program it would be using something like Esphome. I think Node Red is another tool that greatly simplifys things, but I haven't had the time to mess with it yet.