I’ve read all over the internet but I can’t find a solution to this problem.
I have Arduino IDE v1.0.5. r2, and a Arduino Mega 2560 as ISP to program an ATtiny85. I don’t have problems programing the ATtiny85, but I need to known the output data at Serial Monitor.
But when I connect pin ‘PB3’ (real 2) of the ATtiny85 and the pin ‘TX0->’ of the Arduino Mega 2560, but i don’t have data. I try to put a 220ohm resistor between the pins without exit.
Hi Raschemmel,
The software serial is for the ATtiny85, not for the Arduino Mega 2560.
I tried to program my ATtiny85 with the example. I connected ‘PB4’ (tx) with ‘TX0->’ (tx to tx), but the serial communication with the Arduino IDE (using Mega 2560) doesn’t work… :(.
rataweb:
I tried to program my ATtiny85 with the example. I connected 'PB4' (tx) with 'TX0->' (tx to tx), but the serial communication with the Arduino IDE (using Mega 2560) doesn't work... :(.
I'm not surprised. You're connecting two outputs. You need to connect an output to an input...tx to rx (and rx to tx for 2-way comms).