Hey everyone,
I tried to use a Lilygo t-call sim800L to send SMS to myself (for now), but I cant get the modem initialized. Can it be a power problem (It is plugged to my PC USB port), and if yes, how can I get the needed power while still plugged to the PC ?
Are you still working on this? I think I have the solution to get the modem on but I am struggling getting further along getting it working still.
how did you get it to work???
Sorry only just seen your reply. If you delve into the code theres a start up sequence you have to do. Basically turning pins on and then you turn one off and back on again to initialise the modem, I have since come away from this idea completely.
Maybe this will help someone initialize T-Call V1.3 (20190610). It works for me.
includes:
- <Wire.h>
on_boot:
- priority: 800 #This is where all hardware initialization of vital components is executed. For example setting switches to their initial state.
then:
lambda: |-
Wire.begin(21, 22);
Wire.beginTransmission(0x75);
Wire.write(0x00);
Wire.write(0x37);
Wire.endTransmission();
pinMode(5, OUTPUT);
digitalWrite(5, HIGH);
pinMode(4, OUTPUT);
pinMode(23, OUTPUT);
digitalWrite(23, HIGH);
digitalWrite(4, HIGH);
delay(100);
digitalWrite(4, LOW);
delay(1000);
digitalWrite(4, HIGH);
pinMode(13, OUTPUT);
digitalWrite(13, LOW);