Arduino based AC remote

In the bedroom we have a portable AC to cool of the room. It creates some noice, and therefor we prefer
to run it at daytime and shut it off at bedtime. But how to remember to start the AC in the morning?
The AC has a remote controller, so the plan is to build a Arduino-based remote capable of imitating the stock remote.
The Arduino has a IR-transmitter and a RTC (Real Time Clock). In that way the Arduino can power on the AC
at a preset time and power off at bedtime.

ESP8266 and NodeMCU

First flash the ESP8266 with the Nodemcu firmware using this guide: http://www.whatimade.today/flashing-the-nodemcu-firmware-on-the-esp8266-linux-guide/.
Vcc on the Esp is powered by an LM1117 as in xxx. Gnd to gnd, rx to tx and tx to rx on the serial adapter. CH_PD to Vcc, Gpio0 to Vcc via a resistor (1k) and to ground via a push button. Push the button, toggle Vcc to the Esp, release button, run the command to flash the firmware.

Then install Esplorer, a Java tool to work with the Esp:

Emontx

Diy Iot with the ESP8266

Building a toolchain and compile native code - Look here

A really good guide to use the ESP8266 with Arduino IDE and native code (no Arduino-hardware added). Click.
This from Adafruit is also recommended.

EmonLed

More info coming soon.

Emon5110

This is a transciever placed in the laundry room. It has a DHT-11 that reads the current temperature and humidity in the room. It also has a current sensor that monitors the washing machines power consumptions. The results are sent via RF to the master device. The unit also has a small LCD like the ones used in old mobiles like the Nokia 5110. This display shows the temperature and the humidity. It also shows the current time which is received from the master.
The code and the schematics are on Github.

Various projects

Bluetooth-IR gateway

This project is a gateway from Bluetooth to IR. The purpose is to let an Android device control devices via IR. To make this possible the gateway uses a Bluetooth module for connecting to the Android device and an IR-transmitter.
The gateway itself is a Arduino clone, running a special software.

Arduino IR library: http://www.arcfn.com/2009/08/multi-protocol-infrared-remote-library.html
About getting codes etc: http://www.patrikhermansson.se/?q=node/430
LG TV codes: http://lirc.sourceforge.net/remotes/lg/AKB72915207

Raspberry Pi

About the cheap mini computer Raspberry Pi.

Arduino, Android and Bluetooth.

Just some notes for now. The goal is to control an Arduino from a mobile phone via Bluetooth. The base is an Arduino and a RN-42 based Bluetooth hardware (https://www.sparkfun.com/products/10393).

Arduino test code from https://www.sparkfun.com/products/10393. This code relays data from one device to another.
On the phone the app BlueTerm is used. In the app I use Menu/Connect Device, then selects the "RN-42...". The things I then write in Blueterm shows up in the Arduino IDE serial monitor. Nice!

Syndicate content