Palm

V1.0

๐ŸŒด Get alerted on excessive UV radiation with a backpack keychain ๐Ÿ—

power LiPO
wireless BLE
sensor UV Index
mcu nRF52
ota? No
battery life 5 days
bom items 13
bom cost USD $50.47
vendors 4
status completed in July 2019

Power source

380mAh LiPo battery

Battery life

5 days

Charging duration

5 hours
Plug in the USB cable to charge. Yellow LED will be on while it is charging.

Power tree schematic

Edit power_tree_drawio.xml at draw.io.

Power Tree schematic

Main components

Chip # Chip Operating Voltage Advertising mode (152.5ms) Transmission mode
nRF52832 BLE + MCU 1.7v to 3.3v 60 ยตA 216 ยตA
VEML6075 UV Sensor 1.7V to 3.6V 480uA at 1.8V

Calculation

Advertising Mode

From online power profiler

  • Chip nRF52832
  • Voltage 3.3V
  • Radio TX Power 0dBm
  • Role: Advertising (Connectable)
  • TX payload (Byte)0 byte
  • Advertising interval (ms): 152.5 ms as recommended in Apple developer guide
  • 120mAh battery capacity
Online profiler

Transmission Mode

From online power profiler

  • Voltage 3.3V
  • Role: Connection (peripheral)
  • 3 byte TX payload
  • Connection interval (ms): 1000 ms
Online profiler

Summary

  • If transmitting 100% of the time: ~781 days
  • If advertising 100% of the time: ~83 days
  • if CPU running 100% of the time: ~12.5 hours

Other potential batteries

Name Capacity Voltage Dimension Buy from
CR2450 120mAh 3.6V 4cm x 2cmx 2cm AliExpress
LiPo 380mAh 3.7V 37mm x 19mm x 8mm AliExpress