i don't really understand whats being transmitted. what input do i need to create any given output? i don't understand what part of it is 2.4 ghtz and what is 434 mhtz. i also don't really understand what the sample code is doing and so i can't really make my own. anyone know any examples of how it's used by any chance?
My recomendation is that you re-read all 5 links that have been posted. I do not know anything about programming and yet I learned a little just by reading these links. I will try to answer your questions as I am looking to use these boards in a project of my own and by helping you I will also learn.
What is being transmitted is simply data bits that are being sent to the transmitter. For example, if you have one Arduino board output a digital string of [001 010 011] then that is what the transmitter will transmit. That is also what the receiver should receive and send as an input to the other Arduino board.
So what ever code you want your robot to "see" is the code you should input into your transmitter.
There is no mention of anything 2.4Ghz here. There are four (4) types of boards here that transmit on different frequencies. You need to be 100% sure which board you got as the receiver for each one has a different VCC requirement. All the transmitters though can take anything from 2-12V it seems. Other than knowing the VCC requirements, it's really not that important for you to know which freq you're using at this stage in your development. (Although others may disagree)
Which sample code are you referring to? Almost every link has a different sample code. Post the code that is confusing you and hopefully someone else can help you cause like I said, I do not know anything about programming yet. From what I read though, it seems a lot of that programming has to do with encoding the data sent as the receiver tends to pick up any signal that is close to the tuned freq which could cause your bot to do things you don't want it to.
Other little things I've picked up from the links posted that I think you should know:
- the antenna pin needs to be connected to a piece of wire that is 30cm long.
- real world range seems to be around 250ft, and not the 500ft that is listed on sparkfuns website.
- TX/ RX each need about 20/30 micro seconds to "warm up". So any data that is sent in that first 20-30 micro seconds may not be received properly.
Post up any other questions you have about these. They seem to be pretty straight forward with the only hard part being the programming if you don't know how to program