Open Garage Hardware (and software) prototype v2

on

One of my goals this year is to become more proficient at Python programming.  It’s something that I keep dancing around the edges of but I’ve never just dived right into it head first.  I was having some issues getting motivated about it so I decided to try and find a way to make it fun.  After googling about various Python projects I recalled the the Raspberry Pi platform supported Python so I took another look there and was impressed to find that I could get a Pi Zero for $5.  Anxious to find an application for this, I turned back to my first project on this blog – Open Garage.  Previously I had done with a ESP8266 and Arduino based programming.  It was fun – and exciting – but the programming piece of that project was sort of meh.  It didn’t take long at all to prototype the same setup on the Pi.  I had to build a new board to support headers on the Pi (here is my old board) and I ended up with this…

Im pretty pleased with how it turned out although I admit I’d design it differently next time.  The connectors had to be moved once I realized that I had to flip the PI to fit on the headers and the power code ran into a set of the connectors.  The soldering turned out ok though..

Here’s a side view so that you can see how the Pi fits into the headers on the board as well…

I also wrote the software for it in Python using Flask and Bootstrap.  The UI on the phone is about a million times better than what was on my last project (here if you don’t recall)…

I’ll try to get the code out on GitHub sooner or later in case others are interested.  I’d like to add some more features like a log that shows when the doors were opened and closed as well.  But for now – this is pretty darn good for me and it’s gotten me excited about Python again so I’ll take that for now.

 

Leave a Reply

Your email address will not be published. Required fields are marked *