Xinyuan-LilyGO / LilyGo-T-Call-SIM800

https://www.aliexpress.com/item/33045221960.html
482 stars 239 forks source link

Is it possible to disable pin 32 DTR function? #110

Closed ykolerov closed 3 years ago

ykolerov commented 3 years ago

Hi, I dont need modem DTR associated with pin 32. Is it possible to disable this function in code or maybe by desoldering something from the board?

lewisxhe commented 3 years ago

DTR is only used as the IO port for the modem to wake up from sleep, you don't need to use it.

ykolerov commented 3 years ago

I need to use pin 32 as gpio. When I use it as gpio, modem goes to sleep when I have high level on it. I dont need this functionality. Any way to get rid of it?

lewisxhe commented 3 years ago

If you want to use GPIO32 and DTR wakeup is not applicable, then you can remove the series resistor. Which board are you using?

ykolerov commented 3 years ago

I have v1.3 and I also have ordered v1.4. need to disable DTR on both. Any chance to disable "spectial functions" on other pins (0/4/5/12/33)?

lewisxhe commented 3 years ago

V1.3 is not connected to DTR, you can use GPIO32 directly. V1.4 you need to remove the resistor to use GPIO32

ykolerov commented 3 years ago

Thanks for clarification. Which exactly resistor should I remove?

lewisxhe commented 3 years ago

@ykolerov I will reply to you after asking the hardware engineer tomorrow.

ykolerov commented 3 years ago

Thank you! Please also ask him/her about other pins :-)

lewisxhe commented 3 years ago

My network is not good, I cannot upload pictures, please leave your email, I will send it to you by email

ykolerov commented 3 years ago

I sent you an email to your address that is indicated in your github profile. Thanks!