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

Similar documents
ARDUINO MINI 05 Code: A000087

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

How to use the Zduino LEE Module with the Trainer Board

JeeNode V2. A small *duino-ish MPU board with a wireless RF module. Jean-Claude Wippler jeelab.equi4.com March 2009

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Create your own wireless motion sensor with

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Adafruit DS3231 Precision RTC Breakout

keyestudio Keyestudio MEGA 2560 R3 Board

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:

Bill of Materials: Turn Off the Lights Reminder PART NO

Adafruit 1-Wire GPIO Breakout - DS2413

Evaluates: MAX MAX31856 Evaluation System. General Description. Features. EV System Contents. MAX31856 EV Kit Files. MAX31856 EV System Photo

This tutorial will show you how to take temperature readings using the Freetronics temperature sensor and an Arduino Uno.

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

AT42QT1010 Capacitive Touch Breakout Hookup Guide

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Adafruit Terminal Block Breakout FeatherWing

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

TA0013 ARDUINO RFID UNO STARTER KIT

Arduino Micro Breadboard Laboratory Interface Processor (Micro BLIP) User Manual

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

Hardware Overview and Features

TLC5947 and TLC59711 PWM LED Driver Breakouts

Quickstart CHAPTER 1. Powering Up. Installing the Software

PN532 NFC RFID Module User Guide

Breeze Board. Type A. User Manual.

IDUINO for maker s life. User Manual. For IDUINO Mega2560 Board(ST1026)

Grove - 3 Axis Digital Accelerometer±16g Ultra-low Power (BMA400)

SKU:TEL0092 WiFi Bee-ESP8266 Wirelss module

Introduction to Arduino (programming, wiring, and more!)

A Hacker s Introduction to the Nokia N900

USB Type A Female Breakout Hookup Guide

Mayhew Labs. Extended ADC Shield User Manual

WS2812B RGB LED Strip

Grove - I2C Thermocouple Amplifier (MCP9600)

AT42QT101X Capacitive Touch Breakout Hookup Guide

Arduino Dock 2. The Hardware

Adafruit BMP280 Barometric Pressure + Temperature Sensor Breakout

OpenSprinkler v2.1u Build Instructions

These instructions were adapted from Arduino: Installing Standard Firmata which is licensed under Attribution- NonCommercial-ShareAlike 2.

Embedded Workshop 10/28/15 Rusty Cain

Make your own secret locking mechanism to keep unwanted guests out of your space!

RedBoard Hookup Guide

Arduino ADK Rev.3 Board A000069

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

MMA8452Q Accelerometer Breakout Hookup Guide

Stand-alone programming AVRs using CircuitPython

Adafruit BME280 Humidity + Barometric Pressure + Temperature Sensor Breakout

BASIC Arduino. Part I

Monitor your home remotely using the Arduino

04/12/11 version 1.0

Rob Faludi, 8/17/11

Grove - Fingerprint Sensor

Lab 2.2 Ohm s Law and Introduction to Arduinos

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

RFX 328p dev/deployment board - Assembly instructions (long version, v1.3, Feb 12, 2015)

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Adafruit BME680. Created by lady ada. Last updated on :10:23 AM UTC

GRBL SHIELD FOR ARDUINO UNO USER MANUAL

Ardusat Space Kits in the Classroom

Bosch BMP085 Breakout Board

The Riverside Robotic Society June 2016 ESP8266

Adafruit PDM Microphone Breakout

User's Guide for the BAM Shield with DICE boards. User Manual. BAM-Shield with DICE-Boards. Author: Konrad Meyer. Page 1 / 13

Micro-controllers. Applications in Experimental Aircraft. RAA Meeting Nov 14, Terry Fisher

USER MANUAL ARDUINO I/O EXPANSION SHIELD

OpenSprinkler v2.2u Build Instructions

Goal: We want to build an autonomous vehicle (robot)

IS-S0108 Single Switch Solution

Basic Electronic Toolkit for under $40

Phi-connect for Arduino (connector board V1.9)

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

A4988 Stepper Motor Driver Carrier with Voltage Regulators

DS1307 Real Time Clock Breakout Board Kit

Create moving images in forward and reverse with your Arduino when you connect a motor to an H-bridge and some still images BATTERY POTENTIOMETER

AndyMark Arduino Tutorial

Grove - Mini I2C Motor Driver v1.0

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

All types of ECU use the same version of GuzziDiag. Click on the link for your operating system:

Adafruit HMC5883L Breakout - Triple-Axis Magnetometer Compass Sensor

Laboratory 1 Introduction to the Arduino boards

Proper Debugging of ATSAMD21 Processors

Alessandra de Vitis. Arduino

EDK MHz EDK 350U 902 MHz EDK 400J 928 MHz. EnOcean Developer Kits USER MANUAL. Observe precautions! Electrostatic sensitive devices!

Lesson 5 Arduino Prototype Development Platforms. Chapter-8 L05: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Adafruit HTU21D-F Temperature & Humidity Sensor

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

How-To #3: Make and Use a Motor Controller Shield

TalkToMe: Your first App Inventor app

I2CMux Grove Board 0057-GRV4I2CMux-DSBT/ SF

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C)

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

Adafruit USB Power Gauge Mini-Kit

Mailbox Notification Service. Created by Adam Kohring

Transcription:

SKU: 810011 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.