Search found 83 matches

by BetterAutomations
Thu Jul 07, 2022 8:11 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5359

Re: Controlling micropython board from desktop computer

Maybe the OP's looking for something equivalent to Firmata , the serial remote protocol much used in interaction design? I don't know of any written-in-MicroPython implementations of Firmata, or any that could talk to a Trinamic board (stepper driver?) Firmata would be a great choice. I don’t think...
by BetterAutomations
Thu Jul 07, 2022 6:25 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5359

Re: Controlling micropython board from desktop computer

Rather open-ended question without knowing what it is you would do when controlling it (such as turning on a lamp) but one way to do it is send serial commands from the desktop. The uPy script listens with input() as though it were typed directly into the script, and outputs lines that are parsed on...
by BetterAutomations
Wed Apr 13, 2022 2:54 pm
Forum: General Discussion and Questions
Topic: ESP32 Custom PCB design
Replies: 16
Views: 10430

Re: ESP32 Custom PCB design

Is anything in that document relevant to using a module such as the WROVER? The second "Standalone ESP32 Module" made me wonder if for example I must use a four-layer design. I had hoped to place a WROVER on a two-layer board. The WROVER is a standalone ESP32 module, so that document explains how t...
by BetterAutomations
Mon Apr 11, 2022 12:18 pm
Forum: ESP32 boards
Topic: ESP-Now support for ESP32 (and ESP8266)
Replies: 368
Views: 1490092

Re: ESP-Now support for ESP32 (and ESP8266)

FYI, it appears that the cause of even the factory firmware .bins "bricking" is they must be compiled to ESP-IDF 4.2+. It was just a strange coincidence that I happened to trip across that particular bug just as I was testing ESP-Now for the first time, and the fact that even the factory bins were s...
by BetterAutomations
Sun Apr 10, 2022 11:13 pm
Forum: General Discussion and Questions
Topic: Error while posting something from Esp32 to firebase
Replies: 1
Views: 1198

Re: Error while posting something from Esp32 to firebase

Not 100% sure but I think ENOMEM means you've run out of memory. Are you using a module with SPIRAM? Did you flash it with the SPIRAM firmware? And if you did, are you regularly running gc.collect()?
by BetterAutomations
Sun Apr 10, 2022 11:07 pm
Forum: General Discussion and Questions
Topic: OSError: -28928
Replies: 2
Views: 1510

Re: OSError: -28928

I'm pretty sure OSErrors when running TLS are mbedTLS errors. And I'm also pretty sure that these are written and decimal and need to be translated to hex to find the actual mbedTLS error. So -28928 in decimal equates to mbedtls error -0x7100. And looking at the mbedTLS errors , we see -0x7100 is MB...
by BetterAutomations
Sun Apr 10, 2022 7:59 pm
Forum: General Discussion and Questions
Topic: ESP32 Custom PCB design
Replies: 16
Views: 10430

Re: ESP32 Custom PCB design

If you design your own board with a raw ESP32 chip you need to consider all the items in this document. https://www.espressif.com/sites/default/files/documentation/esp32_hardware_design_guidelines_en.pdf Is anything in that document relevant to using a module such as the WROVER? The second "Standal...
by BetterAutomations
Sun Apr 10, 2022 7:40 pm
Forum: General Discussion and Questions
Topic: Controlling micropython board from desktop computer
Replies: 13
Views: 5359

Re: Controlling micropython board from desktop computer

What kind of control specifically are you looking to do? What's the goal?
by BetterAutomations
Sun Apr 10, 2022 7:36 pm
Forum: General Discussion and Questions
Topic: ESP32-CAM roadblock
Replies: 4
Views: 2039

Re: ESP32-CAM roadblock

I don't know about the PSRAM, but GPIO 12 has special bootup requirements on all ESP32 with all languages. Must be pulled low at boot. I avoid using it myself.
https://randomnerdtutorials.com/esp32-p ... nce-gpios/