sarusso wrote: ↑Tue Feb 18, 2020 2:50 pm
You can then change the pins on which the SIM800L is connected at line 412 and the APN at line 428 of SIM800L.py (with respect to commit 865216c on the repo I linked) and put the driver on the board. Note that you need to manually change the pins and the the APN in the driver code only to make the "example_usage" function to work, when you use the driver in the "proper" way, which is to instantiate a Modem class from your scripts, the pins and the APN are parametrised (as you can see from the "example_usage" function at line 403 itself)
Hi Sarusso.
Just a newbie question.
I am new to micropython, I have some basic experience with arduino.
I just got my esp32 nodemcu and sim800l module and want to play with it, using micropython.
I found this thread and your sim800L.py.
Looks nice easy to use and understand, but as a newbie I don't understand the pins hookup
I understand where to connect:
MODEM_RST_PIN
MODEM_TX_PIN
MODEM_RX_PIN
I don't really know how/where to connect:
MODEM_PWKEY_PIN
MODEM_POWER_ON_PIN
Does MODEM_PWKEY_PIN connect to DTR on my module?
MODEM_PWKEY_PIN_OBJ.value(0)
It's set low, to wake up the module, right?
MODEM_POWER_ON_PIN is the Vcc on the module?
MODEM_POWER_ON_PIN_OBJ.value(1) ?
Is this supposed to power the sim800l module?
My module requires around 4V and it's powered with external source and Step Down LM2569 Module. In this case, what pins should I connect.
Tomorrow I get the step down module.
#MODEM_POWER_ON_PIN_OBJ.value(1)
In this case, can I comment out this line?
Or even better, remove the whole parameter?
Thank you for providing this driver.