Comments (5)
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.
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.
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.
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.
@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)
- OTA DFU -> any Plans for Future? HOT 5
- nrf52810 - no fpu HOT 5
- Cannot upload using Black Magic
- analogRead doesn't work because value is set to 0 HOT 3
- License question HOT 1
- Fails to compile on Win11 HOT 2
- Sleep with Interrupt HOT 1
- SystemON Sleep works with platform = nordicnrf52 HOT 1
- NimBLEDevice::setPower(int dbm) not working as expected HOT 1
- resets every 5s (watchdog issue) HOT 5
- Linker error compiling with PlatformIO for micro:bit V2 HOT 22
- Build options mechanism not working with PlatformIO? HOT 2
- Custom NRF51822 QFAA will advertise but won't connect HOT 3
- Soft reset when closing USB serial connection on micro:bit V2 HOT 5
- Serial DFU for nrf52840 HOT 1
- Building Circuit Playground Express Bluefruit w/ Platform IO HOT 13
- EEPROM does not read values after restart from Interrupt HOT 1
- Support for Nice!Nano V2 Nordic nRF52840 HOT 1
- nrfx_rng driver HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n-able-arduino.