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 -
-
@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 -
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 -
@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.
-
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 -
@seb This should probably be added to https://docs.pycom.io/chapter/firmwareapi/pycom/machine/Pin.html ?
-
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 -
@jcaron Just added it
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login