# ANAVI Infrared pHAT

Add-on board to transform your Raspberry Pi into a smart remote control

- **Seller:** [ANAVI Technology](https://lectronz.com/stores/anavi), Plovdiv, Plovdiv, Bulgaria
- **Price:** €19.00 (EUR, before shipping and taxes)
- **Availability:** In stock
- **Categories:** Raspberry Pi, Home automation, Sensors
- **Certified Open Source Hardware:** [OSHW BG000002](https://certification.oshwa.org/bg000002.html)
- **Product page:** https://lectronz.com/products/anavi-infrared-phat

## Options

**HTU21D sensor for temperature and humidity**

- No
- HTU21D sensor for temperature and humidity [Add €5.00] (11 left)

**BH1750 sensor for light**

- No
- BH1750 sensor for light [Add €4.00] (15 left)

**BMP180 sensor for barometric pressure**

- No
- BMP180 sensor for barometric pressure [Add €4.00] (14 left)

**USB-to-serial debug cable**

- No
- USB-to-serial debug cable [Add €5.00] (14 left)

**Mini remote control**

- Mini remote control [Add €4.00] (15 left)
- No

## Links

- [Documentation](https://github.com/AnaviTechnology/anavi-docs/blob/master/anavi-infrared-phat/anavi-infrared-phat.md)
- [Code](https://github.com/AnaviTechnology/anavi-examples)
- [Design Files](https://github.com/AnaviTechnology/anavi-infrared)

## Images

![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYyNywicHVyIjoiYmxvYl9pZCJ9fQ==--1e4b71cc0e6b72623d0926099090135582d39e27/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-01.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYyOCwicHVyIjoiYmxvYl9pZCJ9fQ==--b9d8036259487971354b67f59a384a775367e56d/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-08.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYyOSwicHVyIjoiYmxvYl9pZCJ9fQ==--8e7fe905ff877e5898cf2a4f40549ce143221f3b/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-02.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzMCwicHVyIjoiYmxvYl9pZCJ9fQ==--516c4c4e78b8ffd3b80bad6418cdeb2b5d7d23f3/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-03.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzMSwicHVyIjoiYmxvYl9pZCJ9fQ==--0b672ceac9f78855b00753894fd29f9216093140/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2021-10-20T21-36-59.539Z-anavi-infrared-phat-09.jpg)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzMiwicHVyIjoiYmxvYl9pZCJ9fQ==--663f1571114fd447b52c70ba860e4dcd099ef2fb/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJqcGciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--970c165836a83091725a1a0fd4f37ce9408da1bf/2021-10-20T21-36-59.539Z-anavi-infrared-phat-10.jpg)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzMywicHVyIjoiYmxvYl9pZCJ9fQ==--1779cbc4917b1af17e078c2d66a465e74b330232/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-04.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzNCwicHVyIjoiYmxvYl9pZCJ9fQ==--d60f95e29a05dfc27272acb8a0769c9a28cfbe51/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-05.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzNSwicHVyIjoiYmxvYl9pZCJ9fQ==--911f5a4e163a45933f995838bfd304c0eac465e6/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-06.JPG)
![ANAVI Infrared pHAT](https://lectronz-images.b-cdn.net/lectronz/active_storage/representations/proxy/eyJfcmFpbHMiOnsiZGF0YSI6NjYzNiwicHVyIjoiYmxvYl9pZCJ9fQ==--73f135454b9ef7777c29d0933bd718b3207f5b17/eyJfcmFpbHMiOnsiZGF0YSI6eyJmb3JtYXQiOiJKUEciLCJyZXNpemVfdG9fbGltaXQiOls5NjAsNjQwXSwic2F2ZXIiOnsic3RyaXAiOnRydWV9fSwicHVyIjoidmFyaWF0aW9uIn19--a1419a086f227676aca33a49760ac51e58b523e3/2021-10-20T21-36-59.539Z-anavi-infrared-phat-07.JPG)

## Description

## What is it?

ANAVI Infrared pHAT is an open source hardware add-on board that converts your Raspberry Pi into a smart remote control that can bring your old consumer electronic devices, like air conditioning, TV, set top boxes and Hi-Fi systems to the Internet of Things (IoT) era.

Getting started is easy. No soldering is required. Just attach ANAVI Infrared pHAT to a Raspberry Pi with your bare hands and follow the exact steps from the [comprehensive user’s manual](https://github.com/AnaviTechnology/anavi-docs/blob/master/anavi-infrared-phat/anavi-infrared-phat.md) to configure LIRC (Linux Infrared Remote Control). Furthermore, for interactivity and programmability, ANAVI Infrared pHAT supports sensor modules for temperature, humidity, barometric pressure, and light. Free and open source examples of applications written in Python and the C programming language are [available at GitHub](https://github.com/AnaviTechnology/anavi-examples).

### Why did you make it?

**ANAVI Infrared pHAT** was created to:

- Control the air conditioning and making it more energy efficient from a Raspberry Pi
- Replace remote controls of the TV and HiFi systems with Raspberry Pi
- Bring life back to other old consumer electronic devices and transforming them into Internet of Things (IoT)
- Creating a Raspberry Pi weather station for monitoring temperature, humidity, barometric pressure and light

## What makes it special?

ANAVI Infrared pHAT is easy to use. It is appropriate for developers, makers, engineers, hobbyists, students and anyone else interested in Internet of Things (IoT) and low cost, do it yourself (DIY) home automation. ANAVI Infrared pHAT works with the popular [open source project LIRC (Linux Infrared Remote Control)](https://www.lirc.org/) as well as the lightweight new command line tool like piir.

## Features & Specifications

- 2x 5 mm IR transmitters (IR LEDs)
- IR receiver (IR photo sensor)
- Slots for up to three plug and play sensor modules
- UART pins for debugging
- EEPROM with board manufacturer information and a device tree fragment

## Compatibility

ANAVI Infrared pHAT works with Raspberry Pi 3 B and B+, Raspberry Pi 2, Raspberry Pi A+, Raspberry Pi B+, Raspberry Pi 0, and Raspberry Pi 0 W.

## Peripherals

ANAVI Infrared pHAT officially supports UART to USB debugger and the following I2C modules with:

- HTU21D sensor for temperature and humidity
- BMP180 sensor for barometric pressure
- BH1750 sensor for light

You may also attach any other I2C sensors, but you will have to take care of their software integration.

## Shipping

ANAVI Infrared pHAT was brought to life in 2017 thanks to a [crowdfunding campaign at Crowd Supply](https://www.crowdsupply.com/anavi-technology/infrared-phat).  We ship from Bulgaria with a tracking number through the services of DPD Economy or Bulgarian posts.
