Search found 14 matches
- Fri May 22, 2020 6:12 pm
- Forum: General Discussion and Questions
- Topic: issues with wakeup_X1
- Replies: 3
- Views: 2504
Re: issues with wakeup_X1
[update on Tamper]: So the Tamper approach works in terms of waking up the board on the expected signal, BUT, the unwanted spurious wakes still occur. Looking more closely it seems that when the board is in deepsleep, something internally happens every 20-30 sec that awakes the board, even though my...
- Fri May 22, 2020 6:07 pm
- Forum: General Discussion and Questions
- Topic: issues with wakeup_X1
- Replies: 3
- Views: 2504
Re: issues with wakeup_X1
Isn't it what is done by upower ? I have been scrolling through it and the SM micro's document but this is quite in-depth.
- Thu May 21, 2020 10:05 pm
- Forum: General Discussion and Questions
- Topic: issues with wakeup_X1
- Replies: 3
- Views: 2504
issues with wakeup_X1
Hi @pythoncoder, or others familiar with upower I am trying the upower lib to wake up from deepsleep using the X1 external pin as described in the micropower repo. I have scope on my external trigger signaland it looks as expected. It is high (default), then drop to low for ~ 10-15ms, then return to...
- Thu May 21, 2020 9:48 pm
- Forum: General Discussion and Questions
- Topic: How to handle real time communication between PC and pyboard?
- Replies: 3
- Views: 2399
Re: How to handle real time communication between PC and pyboard?
Have you considered setting up a uart on the pyb, and communicating via a uart/USB (virtual COM) cable to the PC ?
- Thu May 21, 2020 2:04 am
- Forum: MicroPython pyboard
- Topic: Low Power machine.lightsleep PyBoard v1.1
- Replies: 0
- Views: 1994
Low Power machine.lightsleep PyBoard v1.1
So I am trying to obtain the 380uA the specs refer to for Pyb v1.1 in machine.lighstsleep I set all X and Y I/Os as per Damien's script , and get ~ 760uA. What am I missing to squeeze the extra ~ 300uA to reach the spec'ed value ? I still have access to the REPL via uart, nothing is connected to USB...
- Wed May 20, 2020 6:46 pm
- Forum: General Discussion and Questions
- Topic: Pin Interrupt awaking from lightsleep
- Replies: 1
- Views: 1492
Re: Pin Interrupt awaking from lightsleep
hmmm... I got it working but I replaced the statement: trigpin.irq(handler=irq_handler,trigger=Pin.IRQ_FALLING, priority=1, wake=machine.lightsleep,hard=True) by (removing "priority", "wake", and "hard" parameters) trigpin.irq(handler=irq_handler,trigger=Pin.IRQ_FALLING) because I kept having an err...
- Wed May 20, 2020 5:30 pm
- Forum: Pyboard D-series
- Topic: RTC
- Replies: 6
- Views: 5023
- Wed May 20, 2020 4:02 pm
- Forum: General Discussion and Questions
- Topic: Pin Interrupt awaking from lightsleep
- Replies: 1
- Views: 1492
Pin Interrupt awaking from lightsleep
Hi, Sorry for being clumsy in the coding, I am not well versed in micropython and the lack of examples I could find makes it harder. I want to do something relatively simple it seems: board: Pyboard v1.1 firmware 1.11 The program is in lightsleep (to save power) but needs to react within ~ 2ms from ...
- Tue May 19, 2020 6:28 pm
- Forum: MicroPython pyboard
- Topic: enough current to power peripheral?
- Replies: 3
- Views: 2423
Re: enough current to power peripheral?
Actually, this micropython official pagehas misleading info about powering the boards: pyb v1.0 can only be powered up to 10 V as they use the LDO MCP1802 . Unless I am missing something (newbie using this board).
Cheers,
L.
Cheers,
L.
- Tue May 19, 2020 5:11 pm
- Forum: MicroPython pyboard
- Topic: enough current to power peripheral?
- Replies: 3
- Views: 2423