GithubHelp home page GithubHelp logo

vinnyjth / 433utils Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ninjablocks/433utils

0.0 2.0 0.0 45 KB

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.

Home Page: ninjablocks.com

Arduino 19.29% Makefile 1.05% C++ 79.67%

433utils's Introduction

About 433Utils

433Kit is a collection of code and documentation designed to assist you in the connection and usage of RF 433MHz transmit and receive modules to/with your Arduino and Rapberry Pi.

It consists of two main sections- Arduino sketches and Raspberry Pi command line utilities. You'll find those in appropriately named folders.

Requirements

  1. An Arduino (two is ideal)
  2. A Raspberry Pi
  3. The git commandline tool, on both your Arduino IDE machine and your RPi
  4. RF 433MHz modules; a transmitter and receiver
  5. A Ninja Block and account

Installation

Arduino_Sketches

Place the Sketches in your normal Arduino Sketches location. Install any required libraries:

  1. Servo motor library (Should be included in the Arduino IDE)
  2. Arduino rc_switch library

RPi_utils

From your RPi, clone this archive:

  1. git clone git://github.com/ninjablocks/433Utils.git

  2. cd 433Kit/RPi_utils

  3. (As per the original rc_switch distribution) Follow the instructions to install the wiringpi library. After that you can compile the example programs by executing make.

Usage

send

sudo ./send systemCode unitCode command

This command is unaltered from the original rc_switch distribution.

codesend

sudo ./codesend decimalcode

This command uses a single Ninja Blocks compatible decimal code. Sniff out codes using the RF_Sniffer.ino Arduino sketch, included in this distribution.

You can use codesend to control the wireless servo on your Arduino. (The sketch is Servo_Receive_Demo.ino)

I've implemented the most bare-bones of controls here. Try:

sudo ./codesend 500000 # to move the servo up

sudo ./codesend 500001 # to move the servo down

sudo ./codesend 500002 # to move the servo left

sudo ./codesend 500003 # to move the servo right

sudo ./codesend 500004 # to move the servo home

Issues

Due to limitiations in the implementation of interrupt-driven routines in the underlying RCSwitch library, it is currently not possible to use both the send and receive functionality within the one program.

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.