Git Product home page Git Product logo

Comments (10)

JuanHauara avatar JuanHauara commented on May 30, 2024 1

Well, I have not tried that because I am using a Mosfet to power down the alimentation of the module. I chose that because I need the lowest possible power consumption.

from sim800l-arduino-library-revised.

vittorioexp avatar vittorioexp commented on May 30, 2024

setSleepMode(true) : Enable slow clock, it is controlled by DTR. When DTR is high, module can enter sleep mode. When DTR changes to low level, module can quit sleep mode.
setSleepMode(false) : Disable slow clock, module will not enter sleep mode.
This function uses AT+CSCLK=0/1 command. I think it won't sleep instantly.

from sim800l-arduino-library-revised.

vittorioexp avatar vittorioexp commented on May 30, 2024

Does it work for you?

from sim800l-arduino-library-revised.

berkesandor avatar berkesandor commented on May 30, 2024

I have a GSM module:
https://www.aliexpress.com/item/SIM800L-V2-0-5V-Wireless-GSM-GPRS-MODULE-Quad-Band-W-Antenna-Cable-Cap/32740662773.html?spm=2114.search0104.3.1.OIJpfe&ws_ab_test=searchweb0_0,searchweb201602_3_10152_10065_10151_10068_10171_10084_10083_10119_5370020_10080_10304_10307_10082_10081_10110_10137_10111_10302_10060_10112_10113_10155_10114_10154_10056_10055_10054_10310_10312_10059_100031_10099_10078_10079_10103_10073_10102_10120_10052_10053_10142_10107_10050_10051-10120,searchweb201603_1,ppcSwitch_5&btsid=a7f7c025-6aa0-47d7-83dc-1303b48a4f50&algo_expid=83089329-2e13-4fc9-8316-f143ed2b59af-3&algo_pvid=83089329-2e13-4fc9-8316-f143ed2b59af
Is it possible to put this into sleep?
And to receive SMS in sleep mode, after that, to retouch the arduino?

from sim800l-arduino-library-revised.

vittorioexp avatar vittorioexp commented on May 30, 2024

If you want to put your module in sleep mode, use "setSleepMode(true)" method of the library. To wake up it, use "setSleepMode(false)". See Sim800L.cpp file for more details

from sim800l-arduino-library-revised.

berkesandor avatar berkesandor commented on May 30, 2024

I would like to receive SMS in sleep mode as well, to awaken the arduino. Therefore disconnecting the GSM module with a mosfet is not good for me.
What i have a module for, the dtr pin does not get out, can it so much to suffocate the module?

from sim800l-arduino-library-revised.

AGenchev avatar AGenchev commented on May 30, 2024

@berkesandor: I fail to set it to low power either. I have SIM800L (red PCB). I plan to connect DTR to the +4Vcc of the module, issue AT+CSCLK=1 and disconnect the TX wire from the serial port because it may leak current towards the MCU.
If this doesn't work, there's one more option - One guy from UK has reported that he got it to low power using CSCLK=2 mode. This mode does not need DTR pin but uses auto wakeup on RX here:
https://groups.google.com/forum/#!topic/reading-hackspace/8PwIo7imD0k

from sim800l-arduino-library-revised.

vittorioexp avatar vittorioexp commented on May 30, 2024

Thank you @AGenchev

from sim800l-arduino-library-revised.

yuliaretno96 avatar yuliaretno96 commented on May 30, 2024

Well, I have not tried that because I am using a Mosfet to power down the alimentation of the module. I chose that because I need the lowest possible power consumption.

@JuanHauara which MOSFET do you use? and is it connected to VCC or GND pin in SIM800L? Thank you

from sim800l-arduino-library-revised.

JuanHauara avatar JuanHauara commented on May 30, 2024

Hello @yuliaretno96 and sorry for the delay. I am using the Si2301CDS, is channel P MOSFET so I connect it to the VCC pin.

from sim800l-arduino-library-revised.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.