Author Topic: encoding in RF  (Read 664 times)

0 Members and 1 Guest are viewing this topic.

Offline vipulan12Topic starter

  • Robot Overlord
  • ****
  • Posts: 181
  • Helpful? 0
encoding in RF
« on: August 30, 2013, 10:59:10 PM »
hi, i am planning to buy these components for RF communication
https://www.sparkfun.com/products/10534
https://www.sparkfun.com/products/10532

so i looked up some tutorials wiring it seems easy but then it talks about data packets
all this encoding business which starts to get complicated
here is the link:
http://winavr.scienceprog.com/example-avr-projects/running-tx433-and-rx433-rf-modules-with-avr-microcontrollers.html

i would appreciate it if someone could generally explain how this works(i have some understanding about the structure of data packets)
also can some explain these different "ending methods"(whatever they are)
also how will the programming work if i was hooking this up with an arduino?

thanks

Offline waltr

  • Supreme Robot
  • *****
  • Posts: 1,944
  • Helpful? 98
Re: encoding in RF
« Reply #1 on: August 31, 2013, 08:17:21 AM »
Yes, to get reliable communications with those RF modules you must encode/decode the data.
To learn start by googling and read (Wiki has good info) on the following:
OOK/ASK
Manchester encoding

Good C code to study is the Virtual Wire:
http://www.airspayce.com/mikem/arduino/VirtualWire.pdf

These question of how to use these RF modlues has come up on this (and the SparkFun forum) many times. So search these forums for lots of info and discussions.

Offline vipulan12Topic starter

  • Robot Overlord
  • ****
  • Posts: 181
  • Helpful? 0
Re: encoding in RF
« Reply #2 on: August 31, 2013, 09:54:30 AM »
oh thanks

 


Get Your Ad Here