Search found 24 matches

by ellisjr
Tue Jun 01, 2021 7:58 pm
Forum: ESP8266 boards
Topic: ssd1306 SPI, static noise display
Replies: 3
Views: 9206

Re: ssd1306 SPI, static noise display

So, does it show the same snow pattern each time? And I assume that does not move after your program runs? If so, I would guess wrong pins or maybe the baud rate is too fast for some reason. I have only used I2C on these displays which worked with no problems, so these are just guesses but seeing as...
by ellisjr
Mon Apr 26, 2021 3:37 pm
Forum: General Discussion and Questions
Topic: Is MicroPython the right hammer for my nail?
Replies: 22
Views: 11757

Re: Is MicroPython the right hammer for my nail?

Well, I have to say that building your own version of MicroPython is more challenging, but your students won't have to do that once you have. I couldn't manage it on Windows but I did succeed on a Raspberry Pi and I would have managed that more easily if I had read every little detail of the process...
by ellisjr
Sun Apr 25, 2021 1:34 pm
Forum: General Discussion and Questions
Topic: Hugely different deepsleep current consumption with wake_on_ext0 and ext1
Replies: 0
Views: 1410

Hugely different deepsleep current consumption with wake_on_ext0 and ext1

If I use this code with ext1: wu = Pin(34, mode=Pin.IN, pull=Pin.PULL_DOWN) esp32.wake_on_ext1(pins = [wu], level = esp32.WAKEUP_ANY_HIGH) deepsleep() I get 5uA consumption on my ESP32 break-out board If I use this code with ext0: wu = Pin(34, mode=Pin.IN, pull=Pin.PULL_DOWN) esp32.wake_on_ext0(pin ...
by ellisjr
Sun Apr 25, 2021 1:17 pm
Forum: General Discussion and Questions
Topic: Is MicroPython the right hammer for my nail?
Replies: 22
Views: 11757

Re: Is MicroPython the right hammer for my nail?

I'm a beginner with MicroPython and I've been using it with various generic ESP32 boards (and an ESP32 bare-board setup with a CP2102 to connect to USB) with little problem, using Thonny as my development environment on Windows 10. The only areas I've found tricky are low power scenarios, trying to ...
by ellisjr
Sun Apr 25, 2021 12:48 pm
Forum: ESP32 boards
Topic: Having set a pin as a Touch input, how do I turn that OFF?
Replies: 4
Views: 2151

Re: Having set a pin as a Touch input, how do I turn that OFF?

I will try this out as soon as I can... thanks!
by ellisjr
Sat Apr 17, 2021 7:02 pm
Forum: ESP32 boards
Topic: Having set a pin as a Touch input, how do I turn that OFF?
Replies: 4
Views: 2151

Re: Having set a pin as a Touch input, how do I turn that OFF?

Ah, OK, yes. Will do. At least I haven't missed something obvious! :lol:

Thanks for the pointer to the underlying code.
by ellisjr
Sat Apr 17, 2021 2:08 pm
Forum: ESP32 boards
Topic: Having set a pin as a Touch input, how do I turn that OFF?
Replies: 4
Views: 2151

Having set a pin as a Touch input, how do I turn that OFF?

So, I have a touch pin that works well, but to save power, I want to turn it off, i.e. turn it back to an unassigned pin, or anything really to stop the ESP32 wasting power putting the touch sense signals on that pin. Whatever I do seems to cause the touch pin to trigger and so immediately wake up m...
by ellisjr
Wed Apr 14, 2021 10:02 am
Forum: ESP32 boards
Topic: Problem compiling code(esp32)
Replies: 10
Views: 4384

Re: Problem compiling code(esp32)

@xingkunpeng

My pleasure :D
by ellisjr
Sat Jan 02, 2021 9:34 pm
Forum: General Discussion and Questions
Topic: Why can MicroPython not use the ULP WAKE instruction
Replies: 20
Views: 8624

Re: Why can MicroPython not use the ULP WAKE instruction

@clone There is no disable_ulp_wakeup in official API, because you have to call enable_ulp_wakeup() every time before you go to deep sleep if you want to enable ULP wake. Ah, OK, well, I can live with that; thanks for pointing that out. I should have read more of the Espressif docs before asking dum...
by ellisjr
Wed Dec 23, 2020 5:03 pm
Forum: ESP32 boards
Topic: GPIO always high
Replies: 4
Views: 2633

Re: GPIO always high

Maybe it's the way you copied your program, but that looks like an empty While true: loop followed by one go at copying button.state to the LED