• Stars
    star
    888
  • Rank 51,399 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created over 11 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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.

About 433Utils

433Utils 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.

Despite the name, 433Utils also works with 315MHz transmit and receive modules (tested).

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 --recursive git://github.com/ninjablocks/433Utils.git (recursive ensure that the rc-switch submodule gets populated which is needed by RPi_utils)

  2. cd 433Utils/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.

More Repositories

1

hardware

Hardware Designs for the Ninja Block
86
star
2

arduino

C++
77
star
3

client

Node.js code that interfaces devices with the Ninja platform
JavaScript
36
star
4

node-zigbee

ZigBee for Node.JS (using the TI CC2530/CC2531)
JavaScript
29
star
5

rtl8192cu

Realtek 0bda:8176 Driver compiled for Beaglebone Ubuntu 12.04 3.2.18-psp14
C
28
star
6

node-ninja-blocks

Node.JS library for interacting with Ninja Blocks platform
JavaScript
26
star
7

ninja-zigbee

ZigBee Client Driver
JavaScript
26
star
8

arduino-ninja-blocks

Arduino library for connecting to the Ninja API.
C++
15
star
9

utilities

Linux Utilities that support the client (drivers, config script, updates, serial numbers etc)
Shell
13
star
10

ruby-ninja-blocks

Ruby Helper Library for Ninja Blocks
Ruby
12
star
11

ninjablocks.github.com

Ninja platform API documentation
CSS
12
star
12

zigbee-gateway

Clone from git://git.ti.com/iot-gateway/zigbee-gateway.git, with branches by tcave, rhodris and the OSX port
C
12
star
13

developer-docs

Python
12
star
14

case

Ninja Blocks case
11
star
15

php-ninja-blocks

PHP library for interacting with the Ninja Blocks platform
PHP
11
star
16

browser-ninja-blocks

JavaScript
7
star
17

ninja-zwave

Ninja Blocks driver to interface with Z-Wave devices
C++
7
star
18

arduino-examples

C++
7
star
19

temperature-widget

Temperature widget app that talks to Ninja Block's temperature sensors
JavaScript
6
star
20

ninja-toolbelt

Ninja Blocks CLI utility
JavaScript
5
star
21

ninja-arduino

Ninja Block client driver to communicate with arduino cape
JavaScript
5
star
22

douitsu

Identity management service.
CSS
5
star
23

ninja-sentinel

Ninja Sentinel Security Web Application
JavaScript
5
star
24

block-wifi

wifi
CSS
4
star
25

ninja-notify

JavaScript
3
star
26

ninja-ipcam

Generic module for interfacing with IP Cameras
JavaScript
3
star
27

titanium-ninja-blocks

A demonstration of a virtual button working in Titanium
Objective-C
3
star
28

shogun-remote

iOS/Android Remote App
JavaScript
3
star
29

ninja-zigbee2

JavaScript
2
star
30

node-pakkit

Node.JS module to read/write objects to/from buffers using concise packet definitions.
JavaScript
2
star
31

angular-ninja-blocks

Angular module for Ninja Blocks development
JavaScript
2
star
32

log4js-bugsnag

log4js appender for bugsnag.com
JavaScript
2
star
33

usvc

A node.js library for microservices
JavaScript
2
star
34

docker-couchdb

Shell
1
star
35

shared-libs

This is the common logic used in all ninjablocks cloud services.
1
star
36

ninja-remote

Ninja Blocks Remote App
JavaScript
1
star
37

ninja-rest

Client driver to communicate RESTfully
JavaScript
1
star
38

ios-ninja-blocks

Objective-C
1
star
39

passport-ninja-blocks

Passport strategy for Ninja Blocks.
JavaScript
1
star
40

ninja-zwave2

JavaScript
1
star
41

occupy-office

OccupyOffice - NinjaBlocks+ZigBee powered office map
JavaScript
1
star