Search found 5 matches

by webbhm
Thu Dec 31, 2020 3:36 pm
Forum: Pyboard D-series
Topic: advice on pybd deepsleep wake up on X1
Replies: 7
Views: 1471

Status of deepsleep wake up on X1?

I was wondering if there were any updates on pin interrupt for deepsleep wake up. I am wrapping up the testing of a Pyboard-D (SF2W) for a water quality sensor, and I would like the option of putting a reed switch between the RST pin and GND (or some other wiring) to wake the system. Ideally I could...
by webbhm
Wed Nov 18, 2020 2:53 pm
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 11
Views: 4092

Re: SD card not working in D-series

First off, I am aware that opening and closing a file every 2 seconds is not normally a good idea. I was trying a power simulation to see how long it would take for a battery pack (3 AA) to drain. I want the logger to be deployed for 3 or 4 months, with sampling every 20 minutes. Since standby power...
by webbhm
Tue Nov 17, 2020 8:18 pm
Forum: Pyboard D-series
Topic: SD card not working in D-series
Replies: 11
Views: 4092

Re: SD card not working in D-series

I am having a similar issue with a PYBD-SF2W where the SD card is present but will not mount. The boot file errors out, then the /flash/main.py gets called. I have tried several SD cards, did a factory reset as well as a re-flashing of the firmware - all with no change. I am concerned this might be ...
by webbhm
Mon Nov 09, 2020 4:00 pm
Forum: Pyboard D-series
Topic: machine missing functions?
Replies: 4
Views: 1023

Re: machine missing functions?

Thanks. I re-read the fine print and noticed that machine.wake_reason is "Availability: ESP32, WiPy." Hence not for the 'D'! reset_cause is working just fine for what I need. I like what Peter has for upower, I need to look into it in the future. I am considering an option where I have a magnetic re...
by webbhm
Sun Nov 08, 2020 10:25 pm
Forum: Pyboard D-series
Topic: machine missing functions?
Replies: 4
Views: 1023

machine missing functions?

I have spent the last week working on a pyboard project to monitor stream environments. So far things are going well with I2C and analog sensors. I got to the point of working on the sleep cycles, and have discovered that there is no machine.wake_reason function in the machine module. I am trying to...