Hi,
yesterday I started with Micropython on a ESP32 board (very similiar to the TTGO T-Energy ESP32).
I flashed esp32spiram-idf4-20200902-v1.13.bin on the board and am using rshell to "login"
into the board via my Linux.
Three questions I have so far:
1) When the board starts it seems to have kind of PWM on the LED pin (pin 5 according to the PCB silkscreen) -- it shines
very dimm (to save power of the attached 18650 cell I think).
I want to blink that LED, when the board had connected to my router successfully. Configuring the pin "overwrites" its previous
configuration and the LED blinks in full brightness. Is it possible to save the pins configuration/setup beforehand so some code
would be able to restore it afterwards?
2) Is there any schematics available for that board (TTGO T-Energy ESP32) ?
3) Is it possible to switch the ESP32 to promiscous mode / monitor mode somehow. What I read is, that Micropython does
not support this...but is there a way to do it differently?
Thanks a lot for any help in advance!
Cheers!
mcc
Save/Restore pin configuration of a certain pin
Re: Save/Restore pin configuration of a certain pin
About schematics, Google revealed this: http://myosuploads3.banggood.com/produc ... 3t18v3.pdf
About the dim led: For me it looks just like a PIN in input mode with a pull-up resistor. I see that with other boards too. So not need to preserve a state.
There is discussion about promiscuous mode on the forum. So just search for it.
About the dim led: For me it looks just like a PIN in input mode with a pull-up resistor. I see that with other boards too. So not need to preserve a state.
There is discussion about promiscuous mode on the forum. So just search for it.
Re: Save/Restore pin configuration of a certain pin
Hi Robert,
Thank you for your reply!
For privacy reasons I use www.startpage.com instead of google and didn't find any schematics.
Since I am no native speaker I may have used the "wrong words" additionally.
I would help me greatly, if you could give me the keywords you used to find the schematics of
that board...I may have more luck in the future with similiar searches.
I will search the forum what I can find about enabling the promiscous mode despite not being
supported by micropython natively.
Cheers! and stay healthy : Don't corona - be happy!
mcc
Thank you for your reply!

For privacy reasons I use www.startpage.com instead of google and didn't find any schematics.
Since I am no native speaker I may have used the "wrong words" additionally.
I would help me greatly, if you could give me the keywords you used to find the schematics of
that board...I may have more luck in the future with similiar searches.
I will search the forum what I can find about enabling the promiscous mode despite not being
supported by micropython natively.
Cheers! and stay healthy : Don't corona - be happy!
mcc
Re: Save/Restore pin configuration of a certain pin
The keywords I used for the search are: "TTGO T-Energy ESP32"
And then I looked in the first two hits for information. The first hit (Lilygo, the maker of the board) had no link. But the banggood page (second hit) had the link to the schematics.
Edit: On a second search, I found this link of Lilygo: https://github.com/LilyGO/LILYGO-T-Energy
And then I looked in the first two hits for information. The first hit (Lilygo, the maker of the board) had no link. But the banggood page (second hit) had the link to the schematics.
Edit: On a second search, I found this link of Lilygo: https://github.com/LilyGO/LILYGO-T-Energy
Re: Save/Restore pin configuration of a certain pin
Hi Roberth,
...hmmm.... That are the keywords I used also.
Seems, that www.startpage.com does not present that much info than Google.
Thanks a lot for your support!
Cheers!
mcc
...hmmm.... That are the keywords I used also.
Seems, that www.startpage.com does not present that much info than Google.
Thanks a lot for your support!

Cheers!
mcc
Re: Save/Restore pin configuration of a certain pin
Hi,
...about promiscuous mode again.
What I found in the forum so far are threads, which end all somehow unanswered. I found one thread offering patched images
of µPython (but I didn't find the according source...), which should work that way. But they did not work for me...my board simply
crashes.
Cheers!
mcc
...about promiscuous mode again.
What I found in the forum so far are threads, which end all somehow unanswered. I found one thread offering patched images
of µPython (but I didn't find the according source...), which should work that way. But they did not work for me...my board simply
crashes.
Cheers!
mcc