Skip to content

A Google-Assistant powered Mini-Fridge

License

Notifications You must be signed in to change notification settings

noahhusby/HusbyFridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

HusbyFridge

A Google-Assistant powered Mini-Fridge.

Backstory

We found a Red Bull merchandise mini-fridge with a sticky-note indiciating it was free. Why wouldn't we take it? The fridge had seen better years completed with dings, burnt bulbs, and several other issues. After replacing the fan and temperature control, I was able to get the fridge cooling again. Simply replacing the old fluorescent bulbs felt uncreative, so I purchased three addressable LED strips. Two for the interior lighting, and one for the upper graphics luminary. To go along with the addressable LEDs, I used an Arduino and a 30W power supply to power the setup. I decided that I would attempt to make the fridge into a "smart-fridge". I grabbed a Raspberry PI from off the shelf and got to work. I used a serial connection between the Arduino and the PI to make the lighting respond to the Google Assistant status.

Electronics

To put everything together, I designed a PCB for connecting the LEDs and the PI to the Arduino.

Code

  • C++ project for driving the leds.
  • Compiled using PlatformIO.
  • Written in Python using Google Python API.
  • Ability to control smart devices in room.

Deploy

I can't imagine a use-case where anybody else would ever need to deploy this, but the instructions remain below.

  • Read PlatformIO's documentation on how to compile /lighting and push it to an arduino.
  • Clone the repo to your PI by using git clone https://github.com/noahhusby/HusbyFridge
cd HusbyFridge

chmod +x ./scripts/husbyfridge-installer.sh
./HusbyFridge/scripts/husbyfridge-installer.sh

chmod +x ./scripts/service-installer.sh
./scripts/service-installer.sh

sudo systemctl start HusbyFridge