Skip navigation

Pi IoT

13 Posts authored by: rhavourd
It's been a fun project and I hope that you were able to glean some useful tidbits to use in your own projects. HangarControl Episodes Pi IoT - Smarter Spaces with Raspberry Pi 3 - Smarter Spaces with Raspberry Pi 3 - Hanger Control System Hangar Central #2: Developing Without Your Pi [Pi IoT] Hangar Central #3 -- Unboxing the Challenge Kit [Pi IoT] Hangar Central #4 [Pi IoT] Hangar Control #5 -- Raspberry Pi Kiosk [Pi IoT] Hangar Control #5.1 -- Raspberry Pi Kiosk, The Movie [Pi IoT] Han ...
Now that the web interface is up and running (), it is time to add the final piece: Operating the hangars via text messaging! Text Messaging Gateway I'm going to use Twilio (https://www.twilio.com/)  to provide a link between the SMS or text messaging world and the web-based internet world. Twilio provides a plethora of tutorials and help as well as a free phone number for your development projects. Once you have signed up and have your phone number and API credentials, come on back and fol ...
Managing Hangars Via the Web There are many different individuals that will need access to the HangarControl system. Pilots may be at home, at their office, or on the road. With that in mind, I wanted to create a single web interface that would accommodate a variety of browsers, including desktop, tablets, and smartphones. To ease the pain of coding HTML for all of the different platforms, I chose to use jQuery Mobile (http://demos.jquerymobile.com/1.1.2/) for the front-end toolset. Don't let an ...
That's right! What's an episode without the "made for TV version"? The Takeaway In just a couple dozen lines of code, we have implemented everything that we need for our user management. Understandably, it does not handle the complexities of a frequently changing population. But for the sake of this project, the user population is very stable and the creation and management of pilots is handled by another application and HangarControl only gets a list of pilots when there has been a change. &# ...
Don't Over Complicate It Oftentimes it seems that as programmers, or anything else for that matter, we get caught up in a particular pattern for doing things. One that I see quite often is the use of SQL databases in various projects. The "kids" these days are introduced to SQL as a primer for programming and can't think how to handle persistence without it. To show that life can exist without a formal database, HangarControl is being written using some very simple mechanisms for creating, readi ...
Messaging in HangarControl I have a lot of detail to cover in this episode, so I am taking a break from the podcast and going "old school". It seems that everyone has been jumping on the MQTT, or more affectionately "mosquitto", bandwagon. I decided to go a different route and will be using a communication system called xPL to handle machine communication in HangarControl. The xPL Project has been around since 2003 and was an early entry in the home automation space. Read more at their website,T ...
This installment details the installation and minimal usage of the Flask web server. We will be using Flask to serve the Hangar Control application. A great place to start learning about Flask and how you can use it in your own projects would be the project's Quick Start page: Quickstart — Flask Documentation (0.11)   For your viewing pleasure:   As always, I hope you found this production to be beneficial.   Rick ...
I had originally intended to continue producing my blog posts as videos, or screencasts, webcasts, or vlogs (as my kids are fond of watching). In preparing Episode #5, I inadvertantly deleted the production instead of saving it. Well, lucky for you video fans because I was able to restore the entire episode.   Once again, and without further delay, here it is "Raspberry Pi Kiosk, The Movie"...   I hope that you find this useful and possibly even entertaining!   Until next epi ...
Setting up a status display As part of the Hangar Control project, I would like to be able to provide pilots and operations staff the ability to see the status of all the hangars. The Raspberry Pi 7" Touch Display makes a perfect candidate for this. As delivered, there is no enclosure for the display so we are left to build or buy something suitable. There are many fine examples of 3D-printable designs, but I do not have a 3D printer so I decided to purchase one. I chose a case from The Pi Hut h ...
This installment is about installing and using Putty, an open source terminal emulator. In addition, we will cover creating a user account and managing logins via public/private key authentication. The use of public keys eliminates the need for passwords and, therefore, the issues that come with them. Namely, various password "guessing" or stealing schemes.   My recent post [[Pi IoT] Hangar Central #3 -- Unboxing the Challenge Kit] received such rave reviews that I decided to continue in t ...
The day I had been waiting for is finally here! My challenge kit has arrived. I was feeling a bit nostalgic and thinking about all of those claymation TV shows of my youth, so I decided to make my own. Without further ado:     Sidebar: The Time Lapse Video I tried to produce the video using only the Raspberry Pi, but that turned out to be way too much effort (and distraction). In the end I decided to use the tools I had available or those that I was most familiar with. I shot a numbe ...
My PiIot Design Challenge project is an (airplane) hangar control system, "Hangar Central". One of the components will be a remotely scheduled and operated engine block heater, which I intend to power using a relay whose low-voltage control circuit is driven by one of the Raspberry Pi GPIO 3.3V on/off pins. I haven't built the remote heater yet as I am still experimenting with various components. On my test bench I have a Raspberry Pi that has jumpers from pin 6 (ground) and pin 11 (set to outpu ...
Introduction I have been lurking in the element14 space for many months now. I am always amazed at the interesting projects and wealth of information being shared. I am humbled to have been chosen to give back to the community that has given so much. For the sake of the "Smarter Spaces Design Challenge", I am a private pilot and member of a flying club whereby a group of roughly 50 individuals share ownership of a fleet of 4 airplanes. What follows is the submission for my "Smarter Spaces: Hanga ...