hello guys,
i need plz to know how to program a RF links transmitter used with an arduino uno ?
is it the same system as programing a XBee ?
hello guys,
i need plz to know how to program a RF links transmitter used with an arduino uno ?
is it the same system as programing a XBee ?
No problem
When you googled “arduino RF link”, what did you get? Was there a specific tutorial you were looking at that confused you?
[Please] give us a link to the tutorial you are looking at, and specifically what is confusing to you.
this is a video where he
this is a video where he used an RF links with arduino , so how can i use this RF ?
http://www.youtube.com/watch?v=3Rs3SJBsiYE
i need to buy a cheap transmitter and receiver that i can use with arduino uno !! there is XBee but it’s not cheap !!
if u can plz help and how to program it ? or if u have a gd tutorial ?
Just the youTube, huh?
Ok, lets start over.
“u” is not a word
"plz" is not a word
"gd" in not a word either
Text speak is the domain of the lazy man and makes you look like you don’t care.
Now, I went to Google and searched “arduino rf link” and found nothing but good links to good info. I also tried “arduino 315mhz” and “arduino 433mhz” with a TON of good results.
After that, I went to the Arduino website and from there, searched “rf link”, “433mhz” and “315mhz” and once again, found a TON of information via links, tutorials and forum posts.
Finally, I went back to Google, clicked “shopping” and searched again. There I found a link to all the major distributors for this part. Almost every seller of this product will include information on its use in the product description.
Didn’t Google any of this, huh?
–First lesson of robot building is learning to become an information seeker. This happens to be incredibly easy information to find, so if you are having problems with this, I would set down the bot for a bit and work on your Google skills. (Not sarcastic, not kidding)
first i am sorry about the
first i am sorry about the “u” and “plz” stuff , acctully i am not lazy because if i was then i would not be here but this becomes a habit you know using this for years but i will try to change it here no problem
and second yes i did googled, because i found it on google eh but problem is i got so confused !! :S
and i have a question what’s the difference between the 315Mhz and 433Mhz ? is it just the speed of reaching the receiver ?
I would say it’s just serial
I would say it’s just serial communication. Off hand the only thing I can think of specific to these rf devices is you need to prefix your transmission with AA or 10101010 first so they can “tune into eachother”.
If you haven’t used serial before then that’s what you need to look at first. There’s a stack of information on arduino serial out there.
i did use the rs232 but
i did use the rs232 but independantly with the mikrobasic for PIC !!
It’s basically two different
It’s basically two different frequencies. You should however be aware if it’s legal to use them wherever you reside, not only because you can get in trouble but mostly because if any of those frequencies are used for something else you’ll have (and may cause) interference.
Additionally, I just copy/paste “315Mhz and 433Mhz” into google, pressed “Enter” and picked one of the top results almost randomly, this one:
http://www.societyofrobots.com/robotforum/index.php?topic=12496.0
gave it a quick glance… and it seems to answer any doubts about your question. So if you still claim not to be lazy, then you surely lack method and your google-fu is indeed very poor. but hey… I’m just here for the ladies, so what do I know?
OK, lets get a bit more specific
What specifically are you confused by? If you just ask, “how do I…” or “I’m confused”, it will not help us.
What specifically are you confused by?
And what specifically, have you read, but were confused by? We can start with 315/433. These are just different frequencies and it does not matter which one you buy and use. --OK, first problem solved.
What is the next issue you have run into?
thank you guys for your time
thank you guys for your time and trying to help
well at Chris i got the RF links 433mhz today and now i need to know how to program it ? is by programming the arduino
or it must be programed by itself like the XBee ?
actully i searched for XBee vs RF Link to see the difference, but i didn’t understand a lot the difference between them but what i did get is that XBee is better and i guess it’s a transmitter and receiver in the same time donno if this is right ? but it has a low range
Programming
Ok, I still think you are being a bit vauge in your questions, but I think I can fill in the gaps.
These transmitter/ receiver pairs speak via serial communication (as mentioned above). Also, they require a “wake up” or “sync” signal at the begining of each send (as mentioned above, usually a series of HIGHs/LOWs (101010101)).
Luckily, there are a few libraries out there that do all the hard work for you. SparkFun electronics sells this unit and has a library as well. They would be a good place to start.
Beyond that, if you have the unit itself, I would simply grab your two arduinos, the RX and TX units, and simply start following a tutorial. There are literally hundreds out there. If the one you are using is confusing (or you don’t like it for what ever reason) just find another one to follow.
I personally would start by trying to send and recieve a simple count. Have the transmitting Arduino simply send out a 1…2…3…4… once a second. This is a good “data stream” to use for testing. Another option is to try to send a single character (its usually an “A” in most of the tutorials) and then blink a LED on the receiving arduino when you get it.
Let us know what else you need --and again, please be specific.
well ok, i was searching a
well ok, i was searching a little now and i guess i got the idea how it. As I mentioned before i have worked with serial communition from laptop to microcontroller except it wasn’t wireless, this time i need to work with wireless, so as ur saying the wireless is the same as the normal serial communication but it has no wire isnt it i mean the same functionning ?
so all i have to do is plug the transmitter Data pin into the TX of arduino, and the Data of receiver into RX of the other arduino right ?
and then for example connect the arduino which will send to a button for example and write a normal program including the serial functions and stuff same as sending from laptop ?
for tutorials i didn’t find any video tutorial that is a gd one, i have some but useless so any help about this please ?
Yes, Serial.
Yes, everything sent between these units will be done via serial. These units are sometimes called “data pipes” in that, what ever data is put in one end, will come out the other. Really, it very similar to the stuff you did before. However…
For the third time, these units require a small “start up routine” before each send. Typically, this is done via sending a series of HIGHs and LOWs (1010101010) and may need to be sent in a specific way for your units to operate.
Luckily, there are a few libraries out there to help, such as the one I suggested from Spark Fun.
If you are looking for a suggestion of a good tutorial, I would use the one(s) found at Spark Fun. Also, if you are looking for a libary to help you with the code required, I would also try the product page, then the links, found at Spark Fun.
Go to SparkFun and follow their stuff, please. --And if the tutorial there is not a “gd” one, please tell me SPECIFICALLY what is confusing.
ok just one more thing :if i
ok just one more thing :
if i want just to make a button light up a LED, i must connect the Data of the transmitter to a normal input in arduino or in the TX ?
and by the way the one i have is similar to this i mean so similar more than the sparkfun one but i guess same thing ? but i see sometimes there is 8 pins instead of 3 or 4 !!
actully i didn’t find
actully i didn’t find anything about this on sparkfun !! i tried the serial communication one and some other tutorial pages but didn’t find what i am looking for ! i need info about the transmitter in the link i posted in the previous comment please ?
OK
Let’s back up a bit.
You will be using serial communication to transmit your data. You will need a serial connection (not a “normal” input pin) on both ends. This is how it will work:
One arduino has a button and a transmitter. The button is pushed, the input pin changes state, the Arduino notices this change and transmits an “A” for example.
The second Arduino will sit there and wait for an “A” to arrive. When it does, a LED will be blinked to indicate the transfer happened.
The reason I sent you to SparkFun is that they are very good at clear, understandable tutorials. The units they show are identical to the ones you have. --I believe the receiver unit has 8 pins instead of 4, but if you note the pinout, you will notice it is actually just 4 pins, repeated.
I don’t know how you missed the tutorials at SparkFun. If you found the product, and scrolled down a bit, they are right there (in red).
To save everyone’s time, I will cut and paste links here.
Please go through the links I cut and pasted above and follow the tutorial. If you run into a snag please let me know what the problem is.
aha so you are saying that
aha so you are saying that the one i showed you from ebay which i have between my hands with just 4 pins is the same as the 8 pins ?
You tell me.
I want you to look at the pinout of the TX unit you have and note what pins are what (VCC,GND,TX) etc. Write them down on in a notebook. Now do the same with the TX unit shown at sparkfun (and in the tutorial) --write down its pinout.
Next, note and write down the pinouts of the RX unit you have and the one from Sparkfun.
Compare your lists. Does the 8-pin unit have the same pins as the 4 pin unit? Are 2 of the pins, say, both ground? Are there other similarities between the pinouts of the devices?
When you went throught the turorial, what pins were used? What pins were needed? I am sure the units (no matter how many pins) will need power. I would bet the TX unit probably has an input and the RX unit probably has an output --Are these connections shown in the tutorial?
Look carefully at the pinout for the units in the tutorial, and the one’s you have. Read the tutorial and see if your connections can be used.
well it’s a great tutorial
well it’s a great tutorial but i still have one more problem !!
i downloaded the virtualWire datasheet it shows how to connect the receiver and transmitter so my problem is i did connect the T and R same as the virtualWire datasheet said wich is : pin 12 in the first arduino should be connected to the Data pin of Transmitter and pin 11 from the second arduino should be connected to the Data of the receiver !! so it’s how i connected them and the LED is connected to the pin 13 from the second Arduino
but in the tutorial of sparkfun i didnt get from the code which pin i must connect the LED to and how to ?!
virtualWire datasheet?
Could you please send me a link to the “virtualWire datasheet”? I can not seem to find it, nor do I understand what you might be looking at. --I am very confused as to where you are seeing pin 11 and 12.
Please send me a link to the datasheet you are looking at --or a link to whatever you are following right now.