Pages: [1]   Go Down
Author Topic: RF transmitter and Receiver with arduino  (Read 1089 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

here is my hardware......http://www.sparkfun.com/commerce/product_info.php?products_id=8945 and http://www.sparkfun.com/commerce/product_info.php?products_id=8948 and an Arduino ATmega328.

I attached the output from a Parallax PIR(http://www.parallax.com/dl/docs/prod/audiovis/pirsensor-v1.2.pdf)into the transmitter..and the receiver to my Arduino. I'm basically trying to create a wireless motion sensor. The PIR goes high if triggered then sends the signal through the transmitter…arduino receives it and does something.A basic HIGH OR LOW scenario. I'm having a problems..it seems the signal won't transmit right…any advice.
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 634
Posts: 34572
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I attached the output from a Parallax PIR(http://www.parallax.com/dl/docs/prod/audiovis/pirsensor-v1.2.pdf)into  the transmitter..and the receiver to my Arduino.

Sorry that will not work (as you have found) you can't transmit arbitrary DC levels through an RF link. you have to encode the data in some form or other into pulses. Something like serial data will do it.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5597
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I suspect, Manny, that what you really needed was a "wireless relay switch"; many places sell them (usually used to control a relay to wireless start a car, turn on a radio/amp, lock the doors - they are often used in auto installations). If you got hold of a single relay version (cheapest), with a key-fob transmitter, you would have to modify the transmitter to allow the PIR device to "click" the button on the transmitter (typically by bringing it low or high - depends on the transmitter design), then modify the receiver so that instead of activating a relay, it brings a digital I/O pin on the Arduino low or high (you would have to trace from the coil of the relay to the receiver module, then remove the relay from the circuit - unless it is needed for something).
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Pages: [1]   Go Up
Jump to: