Home‎ > ‎

LightBlue Bean: Saving Power and Battery

If you have a project, where you are connecting to a Lightblue Bean via Bluetooth LE, and reading the sensor data without using the Arduino on the Lightblue Bean, make sure that the Arduino is not awake or kept in an awake mode.  In that way you can maximize the life of the battery.  The best way to do this is to permanently put the Arduino into sleep.  When Bluetooth LE connection comes in, the Bean will wake up, and it should go back to sleep when disconnecting.

The following is the sketch to use to put the bean in permanent sleep:

void setup() {


void loop() { 
  // Sleep all the time when not handling an interrupt
Yashar Fakhari,
Aug 2, 2016, 12:16 PM