Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« on: July 26, 2011, 01:12:07 pm » |
I am wondering if it is possible to make a simple, cheap, and reliable circuit/device to send out 1-bit data: i.e. i press a button on transmitter, led on receiver turns on. I am fully aware of the various digital radios including xbees, wixels, and nordic, but I don't want or need the features that $20 will get me. I just need 1-bit transfers, on or off. The range doesn't have to be that far (I was thinking 20ft max would be good) and the link would probably be line of sight, but I don't want to use IR. Would it be possible to do something using an RLC setup to simply turn on and off a frequency? But I want it to be as reliable as possible without sending checksums, etc, and I also would like for it to be micro-independent.
Thanks alot! baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #1 on: July 26, 2011, 01:26:14 pm » |
Here's a little sketch we put together showing an Arduino generating an 88.1 MHz FM radio signal: http://ruggedcircuits.com/Arduino/fmradio.pdeThe point is to show that yes, you can make a very simple RF transmitter without any extra hardware. Now the other side of this is to build the receiver  As you say, an RLC circuit tuned to the frequency of transmission may just get you a strong enough signal at short range to look like a digital high. -- The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #2 on: July 26, 2011, 01:26:47 pm » |
A cheap 27MHz R/C rig
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #3 on: July 26, 2011, 01:31:50 pm » |
27MHz R/C rig How do these work? LC? Rugged Circuits: I will try that. Once I build the LC receiver, how can I prevent my local stations from interfering? baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
0
Offline
Faraday Member
Karma: 12
Posts: 2857
ruggedcircuits.com
|
 |
« Reply #4 on: July 26, 2011, 01:47:32 pm » |
You can't, really. Instead of FM you may want to knock the frequency down to the AM range and find an AM radio frequency that is not used by local stations. Unfortunately then you are looking at getting longer and longer antennas. For FM radio (88 MHz and up) our code is relying on the 8th harmonic of an 8 MHz oscillation from the Arduino -- very inefficient, and you really can't play with different frequencies. But the antenna size is reasonable (85cm). For AM radio you can go down as low as 500 kHz or so. With the 16-bit timer you could get 1600kHz (divide by 10), 1455kHz (divide by 11), 1300kHz (divide by 12), etc. One of these frequencies has got to be free on your radio. -- Beat707: MIDI drum machine / sequencer / groove-box for Arduino
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #5 on: July 26, 2011, 01:50:24 pm » |
..but I want it to be microcontroller-independent, preferably just using transistors and passives, etc.
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
Boston area, metrowest
Offline
Brattain Member
Karma: 240
Posts: 16460
Available for Design & Build services
|
 |
« Reply #6 on: July 26, 2011, 03:17:31 pm » |
Baum, Do yourself a favor, spend $5 and learnto use virtualwire http://www.robotshop.com/433mhz-transmitter-receiver-pair.html17cm antenna (6.7"), can just be a peice of wirewrap wire.
|
|
|
|
|
Logged
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #7 on: July 26, 2011, 03:30:19 pm » |
I know how to. And that is what I will probably do, because it is really easy. But I am asking how a REALLY simple one could work using passives transistors, and diodes.
baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #8 on: July 26, 2011, 03:43:28 pm » |
It is really, really simple. But either unlicensable, illegal or both.
So, do as CrossRoads suggests.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #9 on: July 26, 2011, 04:01:40 pm » |
unlicensable, illegal over ~50ft maximum? Also, I wanted it to be microcontroller independent, meaning I could hook up a button to the transmitter and an led to the receiver and have a link, but I could also have to micros hooked up, either would work. Keep in mind I don't need anything complex: I just need to send on/off signals, with maybe a buffer op-amp at the receiving end. Could I use a 555 timer, maybe? baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Global Moderator
UK
Offline
Brattain Member
Karma: 137
Posts: 19006
I don't think you connected the grounds, Dave.
|
 |
« Reply #10 on: July 26, 2011, 04:04:11 pm » |
over ~50ft maximum? Over just about any distance you can measure.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
|
|
Connecticut
Offline
Edison Member
Karma: 16
Posts: 1214
RTFD (Datasheet in our case)
|
 |
« Reply #12 on: July 26, 2011, 04:20:14 pm » |
But those only work with the virtual wire library, I want something micro-free that is legal.  baum
|
|
|
|
|
Logged
|
I'm not kidding. If I am asking a question whose answer is found within the concerned product's datasheet, shame on me. If I am answering a similar question, shame on you!
|
|
|
|
Brazil
Offline
Jr. Member
Karma: 0
Posts: 62
Xano
|
 |
« Reply #13 on: July 27, 2011, 08:35:55 am » |
In my country (Brazil), most of the frequencies are prohibited. 2.4GHz (typically used by WiFi) is not, if you do not mind to take down your AP, or of the neighbor, you can use this frequency. 
|
|
|
|
« Last Edit: July 27, 2011, 08:37:41 am by xanok »
|
Logged
|
|
|
|
|
UK
Offline
Faraday Member
Karma: 15
Posts: 2852
Gorm deficient
|
 |
« Reply #14 on: July 27, 2011, 08:44:39 am » |
Type approval? EMC?
|
|
|
|
|
Logged
|
Per Arduino ad Astra
|
|
|
|
|