A custom PCB based "business" card that lets you play a version of Flappy Bird.
A bit of a back-story of how this project came to be.
Sub if you like what you see.
The project consists of
- Firmware
- Hardware
- Mechanical
- Scripts
These are structured into their own files. I could have used submodules, but decided against it.
Code for the business card. This lives on the ESP32
- ESP32 IDF version 5.4
- Target set to ESP32-H2
- BLE configured to NIMBLE
PDF schematic included for your viewing pleasure.
All the gerber files you'd need to send to a fab house.
All the files you'd need to expand and work on this further. If you'd like.
All the step files you need to make one of these. Extrusion printer works well for this part.
The script requires the config.py
file to be modified. You will need to create your own API key at openweather.org
To run the script, simply run python CardController.py
A bunch of pip packages
- Cleanup, but thats true for almost anything out there
- A proper graphics library -- Adafruit, or even LVGL
- Scripts that would show stock data. anyone?
Let me know if you ever make one of these, I'd love to see it. Seriously, that'd be exciting and inspiring to keep making my projects open source!
- Switch requires to be shorted due to power consumption at run time
- GPIO 1 as is does not allow the device to wake up from sleep
- The LEDs seem to be pulling a lot power even when ESP32 is in deep sleep mode
http://www.apache.org/licenses/LICENSE-2.0
Thanks to Michael Angerer for his open sourced esp32_ble_ota
project. I used it to get BLE running in this project. His blog post and github repo are a great resource. Check it out. https://github.com/michael-angerer/esp32_ble_ota