0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« on: November 08, 2010, 10:26:36 am » |
Hi, all I'm new to arduino and robotics, i have a low cost RF transmitter (434 MHz) and Receiver pair.And i'm using HT12E and HT12D pair for error handling. i've Connected PC serial port's TX pin to AD8 pin of HT12E and HT12D's D8 to arduino RX(pin 0). All i've to do is send some msg from the computer(stream of chars) serially to the arduino ,but i'm not able to do this. I've adjusted the baud rate to less than 100bps,but still no result .I've given same voltages at receiver and transmitter ends. I've enabled transmission by driving TE low on HT12E . The VT(Valid Transmission) on HT12D is never high. Am i doing this correctly or are there any other factors that must be considered. Please Help. Thank you 
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 315
Posts: 35519
Seattle, WA USA
|
 |
« Reply #1 on: November 08, 2010, 10:36:42 am » |
Now that you have made your first post, you can post links. Please do so, for the transceivers that you have.
A sketch of how you have them connected would not be a bad thing, either.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #2 on: November 08, 2010, 10:47:45 am » |
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 315
Posts: 35519
Seattle, WA USA
|
 |
« Reply #3 on: November 08, 2010, 10:55:40 am » |
I've connected pretty much in the same way given in the link above. "Pretty much" and "Exactly" aren't the same thing. In electronics, "Exactly" is required unless you know what you are doing.
|
|
|
|
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 315
Posts: 35519
Seattle, WA USA
|
 |
« Reply #4 on: November 08, 2010, 10:57:52 am » |
@Richard OP did say that one end of the chain was an Arduino. That pretty much qualifies for posting here.
Unlike some posters who seem to think that having once heard of an Arduino is reason enough.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #5 on: November 08, 2010, 11:08:42 am » |
@richard i'm using HT-12 pair for handling errors that may occur during transmission. i want to know whether i can connect the DOUT from receiver directly to RX (pin 0) in arduino.
@paul i've told it as "pretty much" because my application(Wireless Data Transfer) is different from what is given in link(RF remote Control).
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #6 on: November 08, 2010, 11:24:43 am » |
@Richard Thank u for ur reply. I just want to know if there's any library or functions built into Arduino IDE for error handling . And links to projects similar to mine would be helpful 
|
|
|
|
|
Logged
|
|
|
|
|
Cape Town South Africa
Offline
Edison Member
Karma: 17
Posts: 1104
A newbie with loads of posts, and still so much to learn !
|
 |
« Reply #7 on: November 08, 2010, 11:42:00 am » |
you can try the virtualwire library, that has error checking I seem to recall when I looked at it...
The HT12 error checking is by repeating the code several times and checking if they are identical, the whole address and code, it works well for my projects over the last 10 years, but it is so slow !
|
|
|
|
« Last Edit: November 08, 2010, 11:44:33 am by John_Smith »
|
Logged
|
We live in the era of the smart phones and stupid people.
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #8 on: November 08, 2010, 01:13:49 pm » |
The project consists of a robot/set of robots which actively take commands and messages from PC wirelessly through RF and then process the data received and carry out the operation as required.And i want to extend this to web also wherein it'll take requests from web portal also 
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #9 on: November 08, 2010, 01:24:17 pm » |
@boffin Thanks for the reply i want to use Arduino's built in UART capabilities to the max.Virtual wire does this by taking digital pins for I/O i want to know 1 more thing, if i use a transceiver module instead of just a transmitter or receiver at both the ends,will i be able to upload the programs to the board, some thing like "on the go program upload" , that would be interesting. 
|
|
|
|
« Last Edit: November 08, 2010, 01:25:26 pm by sashank1989 »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #10 on: November 08, 2010, 01:47:03 pm » |
if the msg length is < 500 bytes and it is transmitted in bursts with average interval of < 2sec. which error handling mechanism would be suitable.
|
|
|
|
« Last Edit: November 08, 2010, 02:18:16 pm by sashank1989 »
|
Logged
|
|
|
|
|
Seattle, WA USA
Offline
Brattain Member
Karma: 315
Posts: 35519
Seattle, WA USA
|
 |
« Reply #11 on: November 08, 2010, 04:19:32 pm » |
Another factor, that you haven't defined, is how critical loss of data is. If you are sending data to control the color of an RGB LED, and one packet get lost/corrupt, it probably isn't worth the effort to communicate that fact back to the sender, and request re-transmission.
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #12 on: November 08, 2010, 09:15:11 pm » |
So u would prefer some Checksum(CRC) or Parity Checks(Hamming Code) for this kind of application ?
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 9
Arduino rocks
|
 |
« Reply #13 on: November 08, 2010, 09:37:26 pm » |
Ok i understood. Thank you. i want to know 1 last thing if i use a transceiver module instead of just a transmitter or receiver at both the ends,will i be able to upload the programs to the board, some thing like "on the go program upload" is this possible? if yes, how? 
|
|
|
|
|
Logged
|
|
|
|
|
|