Giter Site home page Giter Site logo

rc-switch-64bit's Introduction

The signal of the sensor:

signal example

  1. 3 sync pulses (735µs high and 735µs low)
  2. 40 or 41 bit message payload
  3. 3 sync pulses
  4. repeated message … (repeats up to 3 times)

rc-switch Modifications:

Since the original rc-switch supports only 32 bit messages this fork supports 64 bit messages because the TFA Dostmann 30.3249.02 sends data with either 40 or 41 bit.

The original rc-switch expects one sync pulse with a minimal duration of 4300 µs. But this sensor sends 3 short sync pulses (see above). Therefore additional modifications were necessary in the handleInterrupt() routine.

Tested with an Arduino Mega 2560 and a Wingoneer RXB6 433Mhz Receiver

Arduino wiring

Wiring:

Arduino <-> 433MHz Receiver
     5V     +5V
    GND     GND
      3     DATA

Programming

  1. Download this repository into a folder named rc-switch-64bit.
  2. Open rc-switch-64bit.ino with Arduino IDE, compile and upload it to the Arduino
  3. Open a Serial Monitor



Serial monitor output (around every 50 sec):

Id: 47
Battery: OK
Sent: Auto
Channel: 1
Temperature: 22.0 °C
Humidity: 51 %
Unknown Data: 186



The text below is the original README.md from the forked rc-switch repository





rc-switch

arduino-library-badge Build Status

Use your Arduino or Raspberry Pi to operate remote radio controlled devices

Download

https://github.com/sui77/rc-switch/releases/latest

rc-switch is also listed in the arduino library manager.

Wiki

https://github.com/sui77/rc-switch/wiki

Info

Send RC codes

Use your Arduino or Raspberry Pi to operate remote radio controlled devices. This will most likely work with all popular low cost power outlet sockets. If yours doesn't work, you might need to adjust the pulse length.

All you need is a Arduino or Raspberry Pi, a 315/433MHz AM transmitter and one or more devices with one of the supported chipsets:

  • SC5262 / SC5272
  • HX2262 / HX2272
  • PT2262 / PT2272
  • EV1527 / RT1527 / FP1527 / HS1527
  • Intertechno outlets
  • HT6P20X

Receive and decode RC codes

Find out what codes your remote is sending. Use your remote to control your Arduino.

All you need is an Arduino, a 315/433MHz AM receiver (altough there is no instruction yet, yes it is possible to hack an existing device) and a remote hand set.

For the Raspberry Pi, clone the https://github.com/ninjablocks/433Utils project to compile a sniffer tool and transmission commands.

rc-switch-64bit's People

Contributors

1technophile avatar aznoohwee avatar bau-sec avatar cat101 avatar danyhm avatar dmsherazi avatar dominikpalo avatar electronicsguy avatar fatbeard avatar fingolfin avatar gruppio avatar ivankravets avatar johannrichard avatar mcouto avatar poduck avatar quaec avatar renekliment avatar rotv avatar solarkennedy avatar sui77 avatar thfischer avatar to-scho avatar uzi18 avatar valeros avatar vgheo 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.