GithubHelp home page GithubHelp logo

Comments (5)

h2zero avatar h2zero commented on June 3, 2024

You're welcome 😄 , is there anything else on the board drawing current? On my nrf51822 boards the current draw is much less in sleep mode. What peripherals are you using?

from n-able-arduino.

MegaSegaDrive8 avatar MegaSegaDrive8 commented on June 3, 2024

No, just 2 contacts like switch, between GND and P16

Maybe I have a problem with the code. Do you have any example, for example, just advertising for 1 second when the contact is closed between P16 and GND?

from n-able-arduino.

h2zero avatar h2zero commented on June 3, 2024

I don't have any examples of that at the moment but I am wondering if you are calling Serial.begin() in your code? the UART will consume power at that level.

from n-able-arduino.

beckmx avatar beckmx commented on June 3, 2024

hello guys; @MegaSegaDrive8, i was wondering if you can share your example code, I wanted to do exactly the same thing, i want to advertise a custom payload and then send it to sleep, would be able to share at least the nuts and bolts.
@h2zero i did also check your other repos but i was not able to find the deep sleep for nrf51822, great work!

from n-able-arduino.

h2zero avatar h2zero commented on June 3, 2024

@beckmx systemPowerOff() will put the device into deep sleep while just calling delay() will put the device into "system on" sleep mode.

from n-able-arduino.

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.