GithubHelp home page GithubHelp logo

mtornblad / arduino-at86rf233 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from msolters/arduino-at86rf233

0.0 1.0 0.0 0 B

Simple Arduino driver for the AT86RF233 802.15.4 radio module

Arduino 2.96% C 33.58% C++ 63.45%

arduino-at86rf233's Introduction

arduino-at86rf233

Simple Arduino driver for the AT86RF233 802.15.4 radio module

arduino-at86rf233.ino demonstrates the simplest example application -- an Arduino sketch that scans for nearby traffic and prints incoming frames over serial (115200 baud).

Radio Hardware

Designed to be used with ATMEL's AT86RF233 802.15.4 radio, available as a $30USB radio extension board (REB).

Connect the AT86RF233 to the Arduino

In this example, we will be using an Arduino Uno. You are free to use any MCU with a sufficient clock speed, and at least:

  • 1 SPI bus
  • VCC (3.3V) & GND
  • 3 GPIO ouput
  • 1 interruptible GPIO input

Here's the wiring setup. You may find the Uno pinout reference helpful (included below).

Purpose AT86RF233 (REB X-Pro Extension Header) Arduino Uno
Reset 7 8
Interrupt 9 2
Sleep 10 7
CS 15 6
MOSI 16 MOSI (ICSP header)
MISO 17 MISO (ICSP header)
SCK 18 SCK (ICSP header)
Ground 19 GND
Power 20 VCC (3.3V)

Driver Configuration

Without further configuration, this library will use the default AT86RF2xx parameters contained in at86rf2xx-defaults.h. Most radio parameters can be updated manually by using the set/getters enumerated in at86rf2xx-getset.c. For example, to change the radio channel to 25, simply call set_chan(25) on the at86rf2xx device after initialization:

  at86rf2xx.init(SEL, IRQ, SLP_TR, RESET);
  at86rf2xx.set_chan(25); // set channel to 25

arduino-at86rf233's People

Contributors

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