hey guys , i just got my first two Arduino (uno) and some RF links http://www.nkcelectronics.com/433Mhz-RF-link-kit_p_185.html
my phone SD card is messed up so i had to draw out my connections
The problem is that i am trying to figure out how to connect these RF links and have the Arduinos talk to each other, and I do not want to use the software serial library either.
So as far as i understand , in its most basic form a serial connection is first initiated (serial begin) on both ends then one listens (available) untill it has something to work with, and the other end simply sends. Now while powered by the USB this works fine because its not really doing anythign special its all routed through the usb and ONE arduino serves as both tx and rx
but once i have the code on the arduino and I keep my receiver plugged into usb so i can print to serial monitor the data being received and then i use the power plug on the transmitter, the transmitter does not transmit , the TX light flashes and works fine when powered by the usb but not when powered by powerplug. And i did do my research before i came here and i found two things...
1.this same question on the old arduino forum which now is "read only" and the issue was resolved but i dont know what this means "If its on the edge for smoothing or voltage, you can get unexpected problems." which im assuming was the answer to the mans question. but i dont know what it means http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1263010462
2. this just helped me get around of why there where two data cables on the reciever and i hope im doing it right .. http://letsmakerobots.com/node/12336
this also mentions an additional library to download but im assuming arduino already has all it needs to make this work..
here are my connections as well as my code, like i said I just want the most basic connection ,and from there i will build up on it.
and heres the code
while (Serial.available() == 0);//loop until something is heard
int val = Serial.read() - '0'; // convert to char
//this is assuming im only sending over one character i will work out the rest later as to reading strings and aggregating
// but i need at least this basic thing here to work!!
Serial.write("6"); // i have also tried print and println but my issue is not what type of data is sent
// the issue is that on this side of the project the tx led doesnt even blink once :( when using the power plug
// and yes the "on" led is on
// end transmitter