milksteakmatt / Ardufuego

Arduino controller for Heat N Glo fireplace remote
Apache License 2.0
8 stars 7 forks source link
                          (                           
   (           (          )\ )                        
   )\    (     )\ )   (  (()/(   (     (   (  (       
((((_)(  )(   (()/(  ))\  /(_)) ))\   ))\  )\))(  (   
 )\ _ )\(()\   ((_))/((_)(_))_|/((_) /((_)((_))\  )\  
 (_)_\(_)((_)  _| |(_))( | |_ (_))( (_))   (()(_)((_) 
  / _ \ | '_|/ _` || || || __|| || |/ -_) / _` |/ _ \ 
 /_/ \_\|_|  \__,_| \_,_||_|   \_,_|\___| \__, |\___/ 
                                          |___/       

Ardufuego

An Arduino RF controller that emulates Heat N Glo fireplace remotes
Broken links subject to "you'll have that."

Purpose

Introduction

This project emulates the protocol for an RC300 Heat & Glo fireplace remote. Functionality is currently limited to controlling the on / off state of the fireplace, the flame height, and the fan speed. Convenience functions have been added to provide optimal start up and shut down procedures.

Hardware Setup

Software Setup

The following files are significant to this project:

Getting Started

  1. Connect ground pin of the RF TX board to Arduino ground
  2. Connect VCC pin of the RF TX board to Arduino 5V
  3. Connect data pin of the RF TX board to Arduino TX pin (3 in test sketch)
  4. Import the FireplaceRF library into Arduino sketch editor
  5. Open the Ardufuego test sketch in the Arduino sketch editor
  6. Load the sketch onto an Arduino

FireplaceRF API

FireplaceRF fireplace(x);

Creates a FireplaceRF to transmit on pin x where x is an int that cooresponds to an Arduino interrupt pin.

fireplace.on();

Turns the fireplace on.

fireplace.off();

Turns the fireplace off.

fireplace.setFan(x);

Sets the fan speed to x where x is an int from 0 to 3

fireplace.setFlame(x);

Sets the flame height to x where x is an int from 1 to 5

fireplace.start();

Turns the fireplace on, sets the flame height to 1, and turns the fan off.

fireplace.stop();

Turns the fireplace off, and turns the fan to speed 3.

Credits

Authors

License

Apache License, Version 2.0 Apache License Version 2.0, January 2004 http://www.apache.org/licenses/