Giter Site home page Giter Site logo

rf433's Introduction

Linux Loadable Kernel Module to control 433MHz transmitter. Uses High Resolution kernel timer to provide accurate timing for the generated waveforms. Tested successfully to work with Etekcity power outlets. Takes arbitrary full frame (or "codeword" in Princeton Technology parlance) - or a separate address + command combination.

Works with Orange Pi Zero (Uses PG06 / UART1_TX pin on 26-pin connector). Tested under Legacy Kernel only (3.4.X).

Uses popular Princeton Technology's PT2262/PT2272 style bit representation and encoding scheme illustrated here:

To compile:

> git clone https://github.com/iboguslavsky/rf433.git
> cd rf433
> make all
> insmod ./rf433.ko

After the module loads:

> cd /sys/class/rf433/rf0
> echo "00f0fff10001" > codeword  # Command "01" ("ON"), address "00f0fff100"
> echo "1" > send                 # Send it out

Alternatively, you can supply address and command separately:

> cd /sys/class/rf433/rf0
> echo "00f0fff100" > address  # Set address to "00f0fff100"
> echo "01" > command          # Set command to "01" ("ON") 
> echo "1" > send              # Send it out

Trasmitter used: RCT-433-UTR (Mouser P/N: 509-RCT-433-UTR):

rf433's People

Contributors

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