Lopy vs. L01 differences
-
Hi all!
I switched my hardware from Lopy + Expansionboard v2.1A to L01 + Baseboard + Expansionboard v2.1A. I expected no problems. But there are loads of it.
First of all, I'm not able to modify the output states of the pins.For e.g.
from machine import Pin pin_en = Pin('P23', mode=Pin.OUT) pin_en(False)
simply does nothing.
What could be wrong?
Cheers,
Thomas
-
@jcaron Just added it
-
Yepp, P23 and P22 are the relevant pins in my design. But at the moment, this is my least problem. The L01 seems to be dead. The 1.8V voltage is not there...
Hopefully I get the L01 desoldered, without killing the baseboard...
Cheers,
Thomas
-
@seb This should probably be added to https://docs.pycom.io/chapter/firmwareapi/pycom/machine/Pin.html ?
-
Only pins that are in the RTC power domain can hold a value during deep sleep. These are:
P2
,P3
,P4
,P6
,P8
,P9
,P10
,P13
,P14
,P15
,P16
,P17
,P18
,P19
,P20
,P21
,P22
, andP23
-
@thosch42 Not sure of the details, but this may vary between pins, as I believe some of the pins are controlled by parts of the ESP32 that remain active during deep sleep while others aren't.
-
Ok, I found the main problem. After cleaning up the soldered pads of the L01, it works so far.
But the pin.hold while in deepsleep seems not to work. Is there another difference between the normal deepsleep and the deepsleep via Deepsleep Shield?
Cheers,
Thomas
-
@livius
No. No SD card. I just replaced a Lopy + Deepsleep Shield with a L01 + Baseboard. Same script (except the deepsleep part), same peripheral hardware.Cheers,
Thomas
-