[SOLVED] Listening to external ATMega serial output with Arduino board

Hi

I have programmed an ATMega328 chip to be run in my little electronics project, and I wish to listen to its serial output with my Arduino Duemilanove to aid in debugging.

I've tried connecting pins 2 and 3 of the external chip to my Duemilanove's identical ports, and also shared the grounds, but with no success. I have tried this with the chip both connected and disconnected on the Duemilanove.

Any ideas?

Thanks.

The serial pins on an ATmega328 are 2 (RXD) and 3 (TXD).

The serial pins on the Arduino are 0 (RXD) and 1 (TXD).

Pull out the processor on your Arduino. Connect either Data Pin 0 or pin 2 of the processor socket to pin 2 of the 328. Connect either Data Pin 1 or pin 3 of the processor socket to pin 3 of the 328. That will allow you to use the USB interface of the Arduino to talk to the external 328. Connect the grounds together.

If the external 328 has an Arduino bootloader you can upload sketches to it the same way. You will have to use the manual reset.

Excellent, it worked.

Thank you.