Download presentation
Presentation is loading. Please wait.
1
Radio Frequency Transmitter and Receiver
Receiver XERE02A Transmitter XETX02A ~$20 from
2
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
3
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
4
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
5
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 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
6
Implementation pushing transmitter buttons will send different tones to the piezospeaker
7
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); } }
8
Transmitters and Receivers Must Be “Paired”
Pair is labeled as #7 - solder the middle row to the upper row to pull pin 7 high 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!
9
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 pair 1 pair 9 pair 5 pair 13 pair 2 pair 10 pair 6 pair 14 pair 3 pair 11 pair 7 pair 15 pair 4 pair 12 pair 8 pair 16
10
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.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.