Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers

Similar documents
PN532 NFC RFID Module User Guide

EDK 350 (868 MHz) EDK 350U (902 MHz) EnOcean Developer Kit

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

DS1307 Real Time Clock Breakout Board Kit

Arduino Lesson 14. Servo Motors

Warnings: This manual is intended to guide a technicians or customers who would like to repair DBL's

Shearwater Research Dive Computer Software Manual

SainSmart UNO R3 Starter Kit

Waspmote. Quickstart Guide

The self-starting solar-powered Stirling engine

USB / Data-Acquisition Module NOW LEAD-FREE

Arduino Lesson 1. Blink

MCP4725 Digital to Analog Converter Hookup Guide

Board also Supports MicroBridge

Arduino Lesson 13. DC Motors. Created by Simon Monk

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Speedlink software will run on Windows NT, Windows 7, and Windows 8; it will run on both 32 byte and 64 byte versions of Windows.

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

PCAN-MicroMod Universal I/O Module with CAN Interface. User Manual. Document version ( )

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

2014 GSM SHIELD COMPATIBLE WITH ARDUINO GSM SHIELD USING SIMCOMM (SIM900A)

Wireless Security Camera

Arduino Lesson 0. Getting Started

DS2438EVKIT+ Smart Battery Monitor Evaluation Kit

Arduino ADK Back. For information on using the board with the Android OS, see Google's ADK documentation.

FLYPORT Wi-Fi G

Wireless Security Camera with the Arduino Yun

A REST API for Arduino & the CC3000 WiFi Chip

USB TO UART DRIVER INSTALLATION INSTRUCTIONS FOR EAGLE FIRMWARE VERSION 2.XXX

Data Sheet. Adaptive Design ltd. Arduino Dual L6470 Stepper Motor Shield V th November L6470 Stepper Motor Shield

Arduino Due Back. Warning: Unlike other Arduino boards, the Arduino Due board runs at 3.3V. The maximum. Overview

Using a Tablet with the AIM and VNA

Innovative Electronics for a Changing World INDEX

Fubarino TM SD Reference Manual

Accessories: 6-pin to 9-pin adapter cable.

FOLGER TECHNOLOGIES, LLC 2020 i3 3D Printer Kit

DATASHEET. ADAM Arduino Display Adaptor Module. Arduino Compatible Shield P/N: 4Display-Shield-FT843 For the 4D Systems 4DLCD-FT843 Display

Ethernet Radio Configuration Guide

obems - open source Building energy Management System T4 Sustainability Ltd

Building a Basic Communication Network using XBee DigiMesh. Keywords: XBee, Networking, Zigbee, Digimesh, Mesh, Python, Smart Home

Arduino DUE + DAC MCP4922 (SPI)

Workshop Intel Galileo Board

Options for ABB drives, converters and inverters. User s manual FDPI-02 diagnostics and panel interface

RC2200DK Demonstration Kit User Manual

WICE-SPI Hardware Operation Manual

MeshBee Open Source ZigBee RF Module CookBook

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

VirtualWire. Copyright (C) Mike McCauley. 1.0 Introduction. 2.0 Overview

A RF18 Remote control receiver MODULE

CAN-Bus Shield Hookup Guide

TSL2561 Luminosity Sensor

Verizon Wireless 4G LTE USB Modem 551L Software Upgrade

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Microprocessor Project Laboratory

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

LDG DTS-4/4R Desktop Coaxial Switch / Remote

Character LCDs. Created by Ladyada. Last updated on :45:29 PM EDT

Yun Shield User Manual VERSION: 1.0. Yun Shield User Manual 1 / 22.

LDG DTS-6/6R Desktop Coaxial Switch / Remote

How To Use An Ams 5812 Pressure Sensor With A Usb Starter Kit

Quick Reference Guide VT55 & OBDII. Customer Service TPMS Version: QSG /12

PL-1, Pocket Logger B

ISP Engineering Kit Model 300

Windows XP.. ELITE Firmware Update procedures.. v1.41

Tiny Arduino Music Visualizer

MAX6683 Evaluation System/Evaluation Kit

Electronic Brick of Current Sensor

AR1100 Resistive Touch Screen Controller Guide

Adafruit ATWINC1500 WiFi Breakout

JVC Monitor Calibration 2 User's Guide

TFA. KlimaLogg Pro. User Manual. Revision: 0.1

Arduino Lab 1 - The Voltage Divider

FM4100 USER MANUAL V1.4

Important Note Regarding Your Blu ray Drives

Note that you need to install the driver once on each laptop or desktop PC you use with the LP130.

The basic set up for your K2 to run PSK31 By Glenn Maclean WA7SPY

Schematic & Parts List: PIC16F688 Satellite Tracker & Rotor Controller

IOIO for Android Beginners Guide Introduction

Data sheet GIOD.1 Input/output module with CAN bus. ERP no.: Data sheet GIOD.1 V_3.0

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

AN588 ENERGY HARVESTING REFERENCE DESIGN USER S GUIDE. 1. Kit Contents. 2. Introduction. Figure 1. Energy Harvesting Sensor Node

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

Cypress Semiconductor: Arduino Friendly PSoC Shield

ARDUINO SEVERINO SERIAL SINGLE SIDED VERSION 3 S3v3 (REVISION 2) USER MANUAL

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

PM1122 INT DIGITAL INTERFACE REMOTE

ABB Drives. User s Manual HTL Encoder Interface FEN-31

INDEX. Trademarks All name and product s trademarks mentioned below are the property of their respective companies.

IR Communication a learn.sparkfun.com tutorial

Pololu DRV8835 Dual Motor Driver Shield for Arduino

AC-PG-USBASP USBASP AVR Programmer

Introduction. Getting familiar with chipkit Pi

SWITCH! DESCRIPTION. ENVIRONMENTAL SPECIFICATIONS Operating Temperature: 0 C to +40 C SPECIFICATION SHEET:

Lab 6 Introduction to Serial and Wireless Communication

SVC400P/SVC800P. 4/8 Camera Live Tracking Vehicle DVR Installation Manual. Version 1.0

Adafruit Proto Shield for Arduino

Maxtor OneTouch User's Guide

COBRA 18R2 Wired Reprogramming Instructions

User Guide Reflow Toaster Oven Controller

DIAL-UP DATA. User s Guide

Transcription:

The aim of this project is to build a hydrogen powered remote temperature sensor. It is based on the Arduino, Developer Kit fuel cell shield, Maxim DS18B20 1 Wire temperature sensor, and the Hope RFM12 radio transceiver HARDWARE REQUIREMENTS 2 SOFTWARE REQUIREMENTS 2 SOFTWARE PREPARATION 2 JeeLib library Developer Kit library HARDWARE PREPARATION 2 RFM12 Testing the radios BUILDING THE SENDER 4 PROGRAMMING THE RECEIVER 7 EXPANSION IDEAS 7

2 Arduinos Developer Kit 3W fuel cell inventor kit 2 Hope 433Mhz RFM12 transceivers 2 RFM12 breakout boards (optional) 1 DS18B20 temperature sensor Bread board Wires 5k resistor Arduino IDE The Developer Kit library The JeeLib library for RFM12 transceivers JeeLib library The JeeLib library is a set of utilities for running JeeNodes, which are small arduino compatible boards with a built in RFM12 radio. The library gives us an easy way to run these radios. We need the new version because it adds support for pin change interrupts. Download the library here. Then unzip it in your sketchbook/libraries folder. Developer Kit library Make sure you've got the latest version of the Developer Kit Arduino library installed by downloading and unzipping into your sketchbook/libraries folder. Start the Arduino IDE and have a look at the file->examples->developer Kit->sender and receiver sketches. RFM12 There are quite a few RFM12 radio module options. There are 315MHZ, 433MHz, 868MHz and 915MHz versions. We're using the 433MHz version. The others may work but haven't been tested in this application. Also, there are mounting differences: some with pins, some without. Either way, we need to be able to plug these into a breadboard. So if you feel happy soldering the 2mm pitch pins then solder some wires onto the following pins: GND, INT, SDO, SCK, SEL, SDI and VCC. Alternatively, you can buy an RFM12 on a breakout board from a number of suppliers, including JeeLib (includes the RFM12) or Robotmotic's breakout board (requires the pinless version of the RFM12). Finally, if you want to make your own breakout board, here are the Eagle schematics for a breakout board (requires the pinned version of the RFM12). Testing the radios Start by making the following connections from the radio to an Arduino: GND to GND VCC to 5V INT to pin 2 SEL to pin 10 SCK to pin 13 SDI to pin 11 SDO to pin 12 Then load the examples->jeelib->rf12->rf12demo sketch. Download this to the Arduino and open the serial monitor. You should see a lot of information presented regarding the options available and the current state of the RFM12. If you don't see this information then double check your connections, serial port speed (57600). If

you edited the JeeLib library with the Arduino IDE open you'll need to restart it. Figure 1. RF12demo Repeat the steps above to connect the second RFM12 to the second Arduino. Once you have got both Arduinos setup with radios and you've checked that the RM12demo sketch works with both, load the examples->jeelib- >RF12->pingpong sketch. Change the RF12_868MHZ to RF12_433MHZ and then upload the sketch onto both Arduinos. Look at the serial monitor, and if all is working you should see this OK 72101108108111330 repeated every 3 seconds. This shows the Arduinos are talking to each other over the radio. When this is working, we're most of the way there, so celebrate with your favourite beverage!

Let's start with the sender. Remove the wires for the RFM12 and plug the Developer Kit shield onto the Arduino. Then add the RM12 wires back where they were. It's worth checking that the radio is still working so plug the Arduino in and have a look at the serial monitor. Check that the pingpong sketch is still running as before. Now let's add an LED to tell us when the data is sent, and the temperature sensor. Use the picture below to wire up the components. Figure 2. LED and Temperature sensor Then load the examples->developer Kit->sender sketch and upload this onto the Arduino. Check the serial monitor. If you have not connected hydrogen to the shield, then you will get lots of errors about the stack voltage being too low. Ignore those and look for information about the temperature and the data being sent every 5 seconds: data ready to send: temp C: 19.19 stack V: 0.00 stack I: -13.51 sent You should also notice the LED flashing every 5 seconds as the data is sent. If you are not getting a reading for the temperature, check that you've got the temperature sensor wired up correctly, and that there aren't any error messages about the temperature sensor in the serial monitor. Finally, connect your hydrogen. Check the serial monitor to see that the Developer Kit shield is doing it's job: 1.43V, 0.50A 1.46V, 0.50A 1.43V, 0.57A 1.46V, 0.50A data ready to send: temp C: 19.25 stack V: 1.44

stack I: 0.51 sent Then unplug the USB cable. The status light of the Developer Kit shield should be flashing on and off every second, and the sent LED should flash every 5 seconds as data is sent. If all the lights go out when you unplug the USB cable, check the hydrogen is connected properly. Figure 3. Sender Note the interrupt line in this case is connected to pin 7. However the hardware has changed and now the interrupt connects to pin 2. Load the examples->developer Kit->receiver sketch and upload this onto the other Arduino. Check the serial monitor. You should see the data being received every 5 seconds when the sender's LED flashes. receiver start rf12 setup done got data: temp C: 19.19 stack V: 1.53 stack I: 0.48 got data: temp C: 19.25 stack V: 1.50 stack I: 0.55 This concludes the project, and shows the Developer Kit working to provide remote power to a wireless sensor module. Add more sensors, Send a warning when the stack voltage is getting low, Add an actuator on the sender that can be activated by the receiver.