Skip to content

jecaro/badger2350

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

303 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badger 2350 (personal fork)

My fork of the Badger 2350 firmware, with additional apps and a development environment.

Apps

mqttooth

Simple dashboard to display current temperature and humidity. The badge connects via Bluetooth to mqttooth, a companion service that bridges MQTT sensors to BLE. See the mqttooth README.md for more information about the companion service and how to set it up.

The app in in: ./firmware/apps/mqttooth

The app fetch periodically the temperature and humidity from the mqttooth service, and displays it on the badge. To save battery, it only refreshes the display if the change is significant. One can also trigger a refresh by pressing the button B.

GitHub badge

A personal GitHub badge, using QR codes to easily share information.

The app in in: ./firmware/apps/github

Development environment

The development environment is set up using nix flakes. It brings into scope python, ruff and mpremote. After installing nix, you can enter the development environment with:

$ nix develop

For a fast development cycle, I recommend using mpremote to interact with the device. First:

  • plug your badger to your computer
  • hit reset

Then, to run a python snippet on the device, you can use:

$ mpremote a0 exec "print('hello from badger')"

Or to run a single file app:

$ mpremote a0 run firmware/apps/badge/__init__.py

About

Additional apps for the Badger 2350

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 80.0%
  • C 12.1%
  • Python 7.3%
  • Other 0.6%