Skip to content

Keypad for recording diaper changes, feedings and sleep to BabyBuddy

License

Notifications You must be signed in to change notification settings

MikeSchapp/BabyScout

Repository files navigation

BabyScout

Pico W projects that intefaces with BabyBuddy to record baby diaper changes, feedings, and sleep time with the push of a button. Push to start timers, and then push again to end them!

Includes

  • Code for Pico W
  • STL and 3MF files for a custom enclosure

Geting Started

Installing firmware

  1. Follow these instructions to get micropython configured first.
  2. Download and unzip BabyScout Firmware file under github releases latest.
  3. Fill out the secrets.json.template file.
    • Make sure to rename the placeholder folder to secrets.json
  4. Upload the files and folders contained in the release.zip to you pico (I recommend using Thonny or pico-w-go extension on VS Code)

Assembling the enclosure

  1. Download and print stl files located at 3d/v1.
  2. Attach switches to the enclosure and wire them to the pico.
    • In my example I wired all of the switches to the 3.3v output of the pico, then an individual gpio pin per switch. I used 8 in my example, but feel free to add more switches and more functionality.
  3. Close up th enclosure and attach to power.

Alternative setup via WIFI

if the secrets.json is not available, or not complete BabyScout will boot in AP mode.

    SSID: BabyScout
    Password: BabyBuddy

Upon connecting to the AP, if you browse to http://192.168.4.1/ and fill out the necessary information it will automatically reboot and attempt to connect.

Known issues

  • Currently The pico w is incapable of communicating via cloudfront tunnels. (Appears to be some bug with running out of memory)

TODO

  • Create script to automatically upload firmware to the pico w
  • Automatic Updates?
  • Add way to obfuscate stored secrets

Opened Enclosure Closed Enclosure