Xinyuan-LilyGO / LilyGo-T-SIM7080G

42 stars 22 forks source link

LilyGo-T-SIM7080G won't turn-on with battery only #38

Closed xfiber closed 1 month ago

xfiber commented 5 months ago

Dear community,

I am facing an issue with LilyGo-T-SIM7080G when connected to battery as only power source. When battery is connected I am not able to turn-on the board. I've tried ready this:

"If the power supply of the board cannot be turned on when the battery is connected, please check that the mechanical switch beside the USB is turned to ON, and then press the board PWR for 2 seconds. At this time, the board should start to work".

This does not help at all. Board does not want to turn on.

However, whenever I turn-on the board using USB-C power, and later unplug power from USB-C, board will stay on using battery power source. Whenever I turn off the board and try to start with only battery source connected, board will not turn-on. I always need to "jump start" using usb-c power.

I would appreciate your support. Thank you.

lewisxhe commented 5 months ago

It looks like USB CDC is blocked from starting. Try setting USB CDC ON BOOT = DISABLE image

mathieucarbou commented 5 months ago

@lewisxhe : what is this interface? I am starting a project with these boards and I will have the same need. Thanks:-)

mathieucarbou commented 5 months ago

@lewisxhe : what is this interface? I am starting a project with these boards and I will have the same need. Thanks:-)

Looking at the read me, this is Arduino IDE? Do we have some equivalent flags to pass to the compiler when we use platformio?

Thanks!

lewisxhe commented 5 months ago

@mathieucarbou I already have a note in the platformio.ini file https://github.com/Xinyuan-LilyGO/LilyGo-T-SIM7080G/blob/07233c2de91e3ee80e98b61416066ef2e677465b/platformio.ini#L56C13-L56C13

xfiber commented 5 months ago

It looks like USB CDC is blocked from starting. Try setting USB CDC ON BOOT = DISABLE image

Thank you! this solved the issue. However, when this is set as above I am not able to monitor serial port. Is this correct behaviour ?

xfiber commented 5 months ago

@lewisxhe : what is this interface? I am starting a project with these boards and I will have the same need. Thanks:-)

Looking at the read me, this is Arduino IDE? Do we have some equivalent flags to pass to the compiler when we use platformio?

Thanks!

Correct. Framework is Arduino IDE.

lewisxhe commented 5 months ago

CDC controls whether to use USBC as print output. If set to Disable, the default Serial output will be directed to GPIO43, GPIO44. This is the QWIIC interface near the SIM7080 battery holder.

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.