GithubHelp home page GithubHelp logo

pimmetje / pimatic-athome-arduino Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dfischbach/pimatic-athome-arduino

0.0 2.0 0.0 368 KB

Arduino source code to communication with the piratic-athome plugin.

Arduino 91.04% C 8.96%

pimatic-athome-arduino's Introduction

pimatic-athome-arduino

##Overview

This is the Arduino source code to communicate with the pimatic-athome plugin.

As hardware two JeeNodes from JEELABS are used (available here). A JeeNode is a Arduino compatible micro-controller board (ATMega328P), which has a RFM12B wireless RF module already on board.

The first JeeNode(receiver) is connected with a FTDI USB/serial adapter to an USB port of the Raspberry Pi or a MacBook. It can control 868MHz based protocols like FS20 with the RFM12B module. A 433MHz transmitter and receiver module is connected to control Elro switches or receive signals from an Elro remote control.

The second JeeNode(transmitter) has an ultrasonic sensor attached to measure the amount of water in a well. Temperature is measured with Dallas DS18B20 sensors, which are connected over OneWire. The JeeNode measures the values and sends them wireless to the first JeeNode.

##Setup

Copy the AtHomeLib folder to the Arduino IDEs library folder. It is no real library but it is used to share the header with the definitions of the wireless network between the sender and the receiver source code.

Other required Arduino libraries:

JeeLib : support for the JeeNodes and the wireless radio modules

SerialCommand: tokenize and parse commands received over the serial port

RCSwitch: operate remote radio controlled devices 315/433MHz

OneWire: support for the 1-wire bus

DallasTemperature: support for Dallas 1-Wire temperature devices

Modify the source code for your needs, e.g. use only one microcontroller to periodically send test values.

Transmitter

Receiver

pimatic-athome-arduino's People

Contributors

dfischbach avatar

Watchers

 avatar  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.