Giter Site home page Giter Site logo

heresiarch / aircondition Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.21 MB

A Project using TX21IT+ wireless 866Mhz sensors with RFM12 and PIC24F to control air ventilators based on absolute humidity.

C 68.08% Makefile 29.64% Shell 2.28%
868mhz dewpoint fancontrol mold pic24f tx21it

aircondition's Introduction

Aircondition

A Project using TX21IT+ wireless 868Mhz sensors with RFM12 and PIC24F to control air ventilators based on absolute humidity. You will find the whole C source and Eagle project files inside. The Circuit and Software uses the following technologies:

  • OW protocoll managing config data for DS2430A 1 wire 256 EEPROM
  • Microchip MCU PIC24F P24FJ32GB002
  • Hope RFM12B IRQ driven communication with TX21IT+ LaCrosse IT+ Weather sensors
  • IC2 communication with Newhaven LCD Display NHD-C0216CiZ-FN-FBW-3V (which was tricky)
  • Rotary encoder using digital filter algorithm for debouncing for configuring the system

The setup is very simple:
0. The system checks for valid config and CRC in the EEPROM and if OK goes to 3 or step 1

  1. You have to register the 2 TX21IT+ sensors each time you change their battery the get a new ID.
  2. Then you setup in sensor, out sensor, absolute humidity threshold, pause time, run time for ventitalors which is stored in the OW EEPROM
  3. Then the mainloop starts
    3.1. In the Mainlopp the MCU will listen with the RFM12B for 30 TX21IT+ records
    3.2. The ID of the records is used to match in and out sensors configured in step 1 and 2, if no sensor matches found it starts @1
    3.3 The temperature and relative humidity will be used to calculate absolute humidity for the in and out sensor
    3.5 If abs-hum-in > (threshold + abs-hum-out) the AC ventilators will be switched with an SCR will run as long the configured runtime in step 2
    3.6. The system waits until the pause time is over and starte @3
    At any time a long press on the rotary knob will start reconfiguring mode step 1

The system runs rockstable since 10 years in my garage with Marley Silenzio Ventilators.
Not shown is the snubber circuit using a TVS, X2 capacitor and an high voltage resistor to reduce spikes to protect the SCR. Bottom ventilator blows air from outside, top ventilator blows air to outside. No moldy smell and always uses the right time for air condition to prevent mold creation during all seasons.
The project uses MPLABX and has also a .project Eclipse file which I used to utilize Git Eclipse integration to manage versioning.

aircondition's People

Contributors

heresiarch avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.