Radio Frequency Transmitter and Receiver

Slides:



Advertisements
Similar presentations
temperature system wiring
Advertisements

Using the servo library living with the lab Libraries are computer programs written to add functionality to Arduino programs. A library to control hobby.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2012 David Hall.
Waterproofing a thermistor ENGR 121 living with the lab © 2013 David Hall.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
User-defined functions in Arduino sketches living with the lab © 2012 David Hall.
Cascaded switching of a solenoid valve living with the lab transistor relay solenoid valve © 2012 David Hall.
Assembly of conductivity flow loop living with the lab (in preparation for calibrating conductivity sensor)
Switches & whiskers on the Arduino living with the lab lever arm switches mounted to Arduino © 2012 David Hall.
Using fixed-cell references and built-in functions in Excel living with the lab © 2012 David Hall.
220  470  Gnd5V Currents Through Parallel Resistors 1 living with the lab © 2012 David Hall.
Using Hobby Servos with the Arduino living with the lab © 2012 David Hall.
Introduction to Microsoft Excel living with the lab © 2012 David Hall.
Kirchoff’s Current Law (KCL) living with the lab University of Pennsylvania Library and Wikipedia Gustav Kirchoff (left) and Robert Bunsen (right) Bunsen.
Adding a Barrel Jack to a Battery Pack living with the lab © 2012 David Hall.
Using for loops to control LEDs living with the lab 1 1 arduino.cc the for statement allows us to repeat a block of commands a limited number of times.
Building Circuits.
Pump Fabrication Day Group A will draw their pump
What you Need to Know to Succeed
Controlling Servos with the Arduino
Connecting Switches.
Series and Parallel Resistors
Pump Project Requirements
Introduction to the Arduino
Why Won’t My Arduino Work?
Robot Challenge Introduction
Troubleshooting Your Multimeter
Using servos.
Servo Library and Functions
Line Following Tips photoresistor circuits
Pump Project Overview.
Robot Assembly.
How to Use Dial Calipers
Controlling a Motor with Cascading Switches
Introduction to the Fishtank
RGB LEDs.
Conservation of Mass Problem
Linkages and Mechanisms
Maxbotix Ultrasonic Distance Sensor
Conductivity Sensor.
Servo Library and Functions
Troubleshooting Your Multimeter
a few of my favorite sensors
Relays.
using for loops to control LEDs
using the Arduino to make LEDs flash
Acquiring Data from an ADXL335 Accelerometer
Using Photoresistors with an Arduino
Line Following Tips photoresistor circuit
Torque and RPM of Gears
Conservation of Mass Problem
analog and digital measurements
Using “if” statements.
Controlling the Heater
Design Project Forecast
Digital Input from Switches
Cash Flow Diagrams <in> <out> $200 $300 $150 $100
Implementing Switches Using Interrupts
Arduino: For Loops.
Non-Concurrent Force Systems
IR Object Detection IR detector IR LED IR light reflected off object
Interfacing a Rotary Encoder with an Arduino
Conservation of Mass Problem
Non-Concurrent Force Systems
Evaluating Design Alternatives
Counting Servo Gear Teeth (FS90R Servos)
Static Equilibrium Problem
Reservoir Loop.
Freshman Design Expo Presentations
Gearmotor Efficiency W table top gearmotor pulley string.
Presentation transcript:

Radio Frequency Transmitter and Receiver Receiver XERE02A Transmitter XETX02A ~$20 from http://xenon-tech.com

DISCLAIMER & USAGE The content of this presentation is for informational purposes only and is intended for students attending Louisiana Tech University only. The authors of this information do not make any claims as to the validity or accuracy of the information or methods presented. Any procedures demonstrated here are potentially dangerous and could result in damage and injury. Louisiana Tech University, its officers, employees, agents and volunteers, are not liable or responsible for any injuries, illness, damage or losses which may result from your using the materials or ideas, or from your performing the experiments or procedures depicted in this presentation. The Living with the Lab logos should remain attached to each slide, and the work should be attributed to Louisiana Tech University. If you do not agree, then please do not view this content. boosting application-focused learning through student ownership of learning platforms

Transmitter Sends Signal to the Receiver B D C A four pins on the receiver are tied to four buttons on the transmitter a pin goes high when a button is pressed

Data Sheet for Transmitter: XETX02A economical short range RF transmission (< 45 meters) designed for automotive applications low power consumption (typically: 10nA when not transmitting) powered by a small 12V battery transmission power of 10mW available in frequencies of 315MHz and 435MHz available

Data Sheet for Receiver: XERE02A 2 – data valid 3 – GND 4 – output B 5 – output D 6 – output C 7 – output A 8 – antenna (18cm of wire for 433MHz) 8 1 2 3 4 5 6 7 economical short range RF transmission miniature size of 47 x 20 x 8 mm low power consumption (typically: 4mA) operating temperature range of -10°C to +70°C target operating voltage: 5V (should be between 4V and 6V) available in frequencies of 315MHz and 435MHz

Implementation pushing transmitter buttons will send different tones to the piezospeaker

Implementation void setup(){Serial.begin(9600); } void loop() { int A=digitalRead(2); int B=digitalRead(5); int C=digitalRead(3); int D=digitalRead(4); Serial.print(A); Serial.print(B); Serial.print(C); Serial.println(D); if (A==1) {tone(12,1000);} else if (B==1) {tone(12,1500);} else if (C==1) {tone(12,2000);} else if (D==1) {tone(12,2500);} else {noTone(12); } }

Transmitters and Receivers Must Be “Paired” Pair is labeled as #7 - solder the middle row to the upper row to pull pin 7 high 8 7 6 5 4 3 2 1 pull high pull low NOTE: For RF transmitter and receiver pairs rented though LWTL, this has already been done . . . no need for you to solder!

Transmitter Receiver Pairs The configurations below show how the eight pins can be pulled high or low through soldering to create 16 unique transmitter / receiver pairings There are 28 = 256 possible pairings If all 256 are desired, it would be nice to treat the pins as digits of a binary number . . . the soldering scheme here is just for convenience 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 pair 1 pair 9 pair 5 pair 13 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 pair 2 pair 10 pair 6 pair 14 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 pair 3 pair 11 pair 7 pair 15 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 pair 4 pair 12 pair 8 pair 16

Transmitting Signal to the Receiver transmitter 7 receiver 7 transmitter not paired with receiver 7 Transmitter 7 controls receiver 7. Using another transmitter at the same time jams communications between transmitter 7 and receiver 7.