• I have a GSM800 module that is only to send one sms per day. It has its own battery and is turned on and off by mosfet and a output pin.

    I am reading you don't get a Serial port if nothing is connected at startup to D29/29 on the Puck..Does this mean the serial port must stay active using the oscillator the whole day, or can I turn it on and off at will?

    Thanks

  • Hi,

    While the UART is initialised automatically if D29/30 are connected, you can do it manually (on any pins) with Serial1.setup(9600,{rx:..., tx:...}) - and if you manually set the pin to do something else with digitalRead(rxpin);digitalRead(txpin) then that should automatically turn it off - saving power.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Turning serial connection on and off to save batttery, possible?

Posted by Avatar for user79451 @user79451

Actions