trying to communicate using F Bus with a Nokia phone (an no tuto I have found is working as is ...), I got to this point :
the only time I received something back from my Nokia is when I inverted TX signal using a transistor.
Here is the wiring (red part inverts my TX signal):
As I said, this is working fine, but after seconds, transistor is getting hot, as my ATMEGA chip.
I guess I need resistor somewhere, but transistor is still confusing to me.
And when I try to add resistor to "protect" the transistor (my understanding, sorry), the only thing I do is reducing the base voltage, and Nokia does not answer my requests.
Any suggestions ?
Thank you for your help !
PS: by the way, reading the forum, I noticed that serial signal can be inverted using a library and another pin up to 115200 Baud (http://arduino.cc/forum/index.php/topic,146140.0.html). So I'll try this in parallel, but I write down the link for future readers, and I am still interesting in a hardware solution, to understand a little more those confusing transistors ...
Using pin 0 (RX) and 1 (TX) could conflict with the Serial library and sketch uploading.
The SoftwareSerial library creates another serial port on digital pins.
I read once that it was able to invert the RX and TX, but I'm not sure and I don't know how.
wrong? it's an abomination to all transistors out there!
add a resistor, that transistor should NOT get warm, hot... anything but cold, it means you're damaging the arduino > 40ma i'd love to measure the current draw!