Search found 8 matches

by FaithRaven
Sat Jan 04, 2020 12:10 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 5649

Re: Can a Pin hold it's value during deepsleep?

Hmm, the 5mm Blue diffused led is quite bright tbh. I've set it with a small resistor, 470 Ohm.
by FaithRaven
Fri Jan 03, 2020 12:47 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 5649

Re: Can a Pin hold it's value during deepsleep?

3.3V and 1.13 mA. Does that make sense? I'm still getting to grips with my multimeter and my electronics knowledge.
by FaithRaven
Mon Dec 30, 2019 3:43 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 5649

Re: Can a Pin hold it's value during deepsleep?

I've figured it out. Pin.PIN_HOLD does the job, but it's usage is a bit confusing at first. There are three things to keep in mind: - if an GPIO value has been held previously, you can read it's current value only by creating the Pin with pull=machine.Pin.PULL_HOLD - in order to be able to update th...
by FaithRaven
Sat Dec 28, 2019 1:49 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 5649

Re: Can a Pin hold it's value during deepsleep?

Thanks, but I'm using an Adafruit Feather: htps://cdn-learn.adafruit.com/assets/assets/000/041/630/original/feather_schem.png?1494449413

Does it have anything similar?
by FaithRaven
Fri Dec 27, 2019 10:14 pm
Forum: ESP32 boards
Topic: Read USB Battery VCC
Replies: 0
Views: 1752

Read USB Battery VCC

I'm hoping to be able to read the USB battery voltage so that I can predict when it's about to run out of juice.

For ESP8266 I've found https://github.com/micropython/micropyt ... -242315810 to work nicely. Is there something similar for ESP32?
by FaithRaven
Fri Dec 27, 2019 10:09 pm
Forum: ESP32 boards
Topic: Can a Pin hold it's value during deepsleep?
Replies: 9
Views: 5649

Can a Pin hold it's value during deepsleep?

Basically all I'm trying to do is keep a LED on while the board is sleeping.

I've came across https://github.com/micropython/micropython/pull/4561 but I have no idea what to make of it.
by FaithRaven
Fri Dec 27, 2019 9:32 pm
Forum: ESP32 boards
Topic: Adafruit STEMMA Soil Sensor driver
Replies: 11
Views: 7721

Re: Adafruit STEMMA Soil Sensor driver

Thank you both for steering me in the right direction. I've managed to strip Adafruit's drivers down to the essentials and this is what works for me:

I've published the code and usage instructions at https://github.com/mihai-dinculescu/mic ... ter/seesaw.
by FaithRaven
Thu Dec 26, 2019 6:38 pm
Forum: ESP32 boards
Topic: Adafruit STEMMA Soil Sensor driver
Replies: 11
Views: 7721

Adafruit STEMMA Soil Sensor driver

I wonder if it's possible to use the Adafruit STEMMA Soil Sensor with an ESP32 board running MicroPython.

Any tips to steer me in the right direction will be greatly appreciated.