@Richard_Crowley:
Do you know that the transmit part is working properly? You can substitute a regular LED for the IR laser LED so you can see the flashes. You can also use many electronic cameras (still and video) to "see" the infra-red beam for you.
I know it is working because the 0.2mw Laser is blinking bery fast, stops due to a delay(500) and blinks again. It does the same for a green 2.3V LED.
I think it is doing something because the second arduino gets characters in Serial.available() but they are garbage. like "ÿÿÿÿýýÿÿÜÿ" (when I am transmitting "ARDUINO\n"
btw there is not any capacitor between the TX pin and the laser. And I tried it with Serial and NewSoftSerial.
How did you come up with this idea? How did you select the components? Is this something you have seen someone else do successfully? Or are you striking out into new territory? Did you get information about doing this from some other source? Can you tell us what it is?
It's a 50-50! I saw this video on youtube and grabbed the same components:
http://www.youtube.com/watch?v=5oeVNewQtkY&feature=player_embedded
Are you talking about pin 0 on a Duemilanove? Please tell us which board you are using and give more detail about how you have things connected. A pin named "RX" (receive) would NOT be expected to output anything at all since it is an input.
Yes, I have an old Duemilanove w/ ATMEGA168. I'm referring to the pin labeled as "RX", not anyone I chose on my own.
As retrolefty said, it outputs 5V signaling the device is IDLE. I don't know why. When I studied serial protocol there wasn't neither a way nor a reason to output an IDLE status to the oposite TX/RX, so that, there was an implementation for internal errors like "FRAMMING ERR" or "PARITY ERROR".
I don't know what an "IR-resistor" is? Again, you will need to provide all the things in the list above if you want more than our sympathy.
I think you misunderstood me. I don't want you to do my research job, that's something I do on my own and I enjoy the most.
This is the url to the 5000bps demodulator that got me garbage:
http://www.pololu.com/file/0J19/TSOP34156.pdf
This is the datasheet for the phototransistor, or "IR-resistor" as I called it.
http://home.comet.bg/datasheets/Infrared%20LED/L-53P3C(V4).pdf
And yes! I really appreciate your sympathy!
@retrolefty:
Ok, I get it. But... How the hell does the arduino recieves data from another device through the RX pin if it is already set to 5V?
I there any chronogram or sketch to understand how the arduino uses the TTL logic to communicate? I have my old sketches from the university but they seem to differ...
I've never worked with pull-up resistors... I don't know how to deal with them...
Which values does the arduino uses for the TTL logic? +5V,-5V? +5V, 0V?
I may adapt the transistor to operate at another level...
Thanks in advance!
@tkbyd:
Ok, I'll try it... It can solve most of my problems if I deal with it in the early development.
Thanks!