This Android Things project integrates
Serial Communication and
Voice Recognition together to build a connected IR remote that explores the relationships between surfaces and content.
This repo contains all the app code that powers the IR remote-controlled, Android Things-powered Raspberry Pi.
The project is split into three modules:
/things- the Android Things app
/mobile- the companion mobile app
/arduino- the Arduino code
The IR Remote Hacker imagines that you can control all remote-controlled electronic devices by voice and also with a mobile application. The companion mobile application allows you to configure the embedded software. Capture and record the signal with the mobile app. You can now hack as many remote controls as you want. Controlling IR remote signals over network is planned for next releases.
The Android Things device and its components are set up and controlled using the companion app for Android. They communicate using Nearby Connections, a protocol developed by Google to facilitate local peer-to-peer communication with nearby devices.
This application is built around the voice-controlled Raspberry Pi that capable of talking with the Arduino (which can process the data of IR remote sensors) and control over the companion mobile application. Once your Android phone and Android Things are connected, you can take control of all the remote controls around you. In fact, the whole story consists of user interfaces that control the ability to capture and repeat infrared signals.
While accomplishing this creative idea, many features has been developed to show different connection methods and technologies with other IoT devices. Both the Android Things code and the companion app are written in Kotlin using Jetpack components and industrial best practises, which has been a joy to work with.
There are two main components to the IR Remote Hacker software - the ‘Things’ app (
/things), which runs on Android Things on a Raspberry Pi, and the Companion app (
/mobile) which runs on an Android phone.
The hardware is built as an voice-controlled remote device, with an Arduino Uno, a Raspberry Pi, a USB Microphone, an IR receiver and transmitter, and a few off-the-shelf wires and connectors.
- Remote control: Over network communication
Check Medium article for detailed for following updates.