2016 brought some interesting additions for Raspberry Pi Zero that can be incorporated into home automation and IoT prototyping.

Are They HATs or pHATs?

For those of you who aren't familiar with Raspberry Pi, HATs and pHATs are the RPi equivalent of Arduino shields; add-on boards for the 40 pin GPIO with the EEPROM designation. HATs and pHATs are essentially the same things but pHATs are designated for smaller models like the RPi Zero, and are often thought of as "partial HATs". If all of this seems confusing, you can just call them HATs and people will know what you're talking about. On a side note, many people in the United Kingdom refer to them as bonnets...

 

Raspberry Pis Aren't Just for Makers

Raspberry Pis are often dismissed as beginner boards with little use in professional applications, but their ease of use actually makes them a popular choice for prototyping before committing to more specialized components. Raspberry Pis became a lot more appealing to professionals when the Raspberry Pi Foundation designed the Raspberry Pi Zero in 2015. The Pi Zero was such a success that it sold out immediately upon release.

 

A Raspberry Pi Zero, 5 dollar bill for scale. It also costs $5.

 

The Raspberry Pi Zero is small and cheap, making it suited for trying out designs that might destroy it in the testing process. Currently, a Raspberry Pi 3 is around $45, whereas an RPi Zero is only $5. Although they don't have as much functionality as a standard RPi, you also aren't paying for the functions that you won't use. Using HATs and modules, you can get the functionality that you're aiming for without breaking the bank.

Below are some HATs that were recently released for Raspberry Pi Zero that add functionality for home automation to the Pi Zero.

 

Pimoroni Automation HAT

Pimoroni is mostly known for designing fun gizmos for kids and makers, but their automation HAT has a lot of utility. This HAT is compatible with all Raspberry Pis and has relays, analog channels, LED indicators, ADC, and SPI interface. The LED indicators make it a good fit for a Raspberry Pi Zero because it allows you to see what the device is doing without hooking it up to a display. The Pimoroni Automation HAT has a code section on Github to get started with basic functions. You can learn more about its features in the video below.

 


HATs to Get Your Home Automation Design Online

Most home automation products have internet capability these days. One of the Zero's drawbacks is that it doesn't have connectivity built in. There are, however, a few HATs that can get the Zero online. 

 

PiJack

It isn't flashy, but the PiJack gives the Zero a much-needed, easy to use internet connection. Since it's a HAT, it connects to the GPIO pins and leaves the Zero's USB port open for other activities. It has LEDs to display connectivity status, allowing your design to function without an interface. It works with the Raspian OS out of the box, so all you need to do is plug in a standard ethernet cable and go!

 

A tiny Raspberry Pi and its tiny ethernet HAT. Courtesy of PiJack

 

Red Bear IoT pHAT

With a little extra money and some soldering, you can give your home automation device full IoT connectivity with Bluetooth 4.1 and 2.4 GHz WiFi. Red Bear ran a successful Kickstarter campaign last year and is ready for shipping. You can buy them with or without soldered female headers. If you're ordering in bulk for prototyping, you can get loads of IoT-capable Raspberry Pis for under $15 a piece.

 

The RedBear IoT pHAT with soldered headers. Courtesy of RedBear

 

Read More

Raspberry Pi Projects

Raspberry Pi News

Raspberry Pis, Accessories, and Datasheets

 

What's Next?

It's good to see prototyping become cheaper and easier as time progresses. With affordable open source hardware and software, active online communities, distributors embracing the maker movement, and crowdfunding platforms, the future looks bright for inventors and small electronics companies. 

Are there any Raspberry Pi Zero accessories that you're excited about? Let us know in the comments!

 

Comments

4 Comments


  • bruce429 2017-02-17

    great article…few week back I saw this video in which they show all plug and play hardware.
    https://www.youtube.com/watch?v=cxUOXLvvG2o
    I think it’s an ideal way to connect hardware, using these school kids, teachers, engineers and especially software engineers can build projects in minutes.
    arduino also came with this plug and play concept on kickstarter.

  • jwhitten 2017-02-24

    What is the point in these “PHAT” add-ons to the RPi Zero, which mostly just drive the cost up and over what a regular RPi3 would have been in the first place? Granted, I’m sure there are the occasional applications which truly do benefit from the size or (whatever?) of the Zero, but it seems like a lot of extra expense for little gain. IMO

    • tim yb 2017-02-24

      Depending on what you want to do with it, you’re right. An RPi 3 is $35 and also works with the automation HAT. If you’re trying out some projects around the house, the RPi 3 is a good option because you can repurpose it for a lot of things and you always have your internet situation handled.

      An RPi Zero with the Redbear wifi pHAT is about $18, versus $35 for an RPi 3, so that’s a pretty significant price break, especially if you’re ordering a lot of them.

    • tim yb 2017-02-28

      The Raspberry Pi Zero W was just released, it has built in wifi and Bluetooth and only costs $10. So those connectivity pHATs are officially useless now lol

      https://www.allaboutcircuits.com/news/the-raspberry-pi-zero-w-adds-wireless-capabilities-with-wi-fi-and-bluetooth/