Skip to content

NRF52840 ePaper Weather Dashboard - BLE + battery-driven

License

Notifications You must be signed in to change notification settings

alexander-toch/nrf52840-epaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRF52840 ePaper Weather Dashboard - BLE + battery-driven

Inspired by Weatherman Dashboard for ESPHome.

Based on my previous project esp8266-epaper

epaper

Features

  • VERY low power consumption (22.5uA during the sleep phase)
  • bless-based BLE server fetching the altest data from Home Assistant and exposing it as BLE Characteristics
  • Auto-refresh current weather and HA sensor data via BLE
  • 🔋 Voltage Indicator

Hardware

Wiring

//  MCU: Xiao Nrf52840 Sense	
//  Driver: Waveshare e-Paper Driver HAT Rev2.3
//  SIGNAL	color       		NAME      	PIN  	PORT
//  -------------------------------------------
//  BUSY     	Purple	  	D3            	4	    	P0.29
//  RST     	White    	D4  (SDA)     	5    		P0.05
//  DC      	Green	  	D5  (SCL)     	6    		P0.04
//  CS	    	Orange	 	D7  (RXD)     	8    		P1.12
//  CLK	    	Yellow	  	D8  (SCLK)    	9    		P1.13
//  DIN	    	BLUE	  	D10 (MOSI)   	11    		P1.15
//  GND		    BROWN		GND	            13
//  VCC		    GRAY		3V3 	      	12
//  PWR 		RED			D0			    0		    P0.02

Software

  • Arduino
  • GxEPD2 for controllling and drawing on the ePaper
  • ArduinoJson for decoding the response from Home Assistant
  • fonctconvert from AdafruitGFX to convert fonts to header files
  • rsvg-convert to convert Material Icons svg to png (with find . -type f -name "*.svg" -exec bash -c 'rsvg-convert -h 512 "$0" > "$0".png' {} \;)
  • image2cpp for converting the created png files to header files with bitmaps

Installation

  • Get latest bootloader from here (i.e., update-xiao_nrf52840_ble_bootloader-0.8.3_nosd.uf2) and copy file onto MCU. Very important to get the low power consumption working!
  • TODO (platformio setup, HA configuration, systemd service for epaper BLE service)

Useful links

About

NRF52840 ePaper Weather Dashboard - BLE + battery-driven

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published