Arduino-PC communication

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

I have a question about Arduino (with which I have no experience).

 

Suppose I want to use "Dccduino UNO R3 ATmega328" without Arduino IDE.

I can write and compile the program in AvrStudio, then burn it into Avr with Avrdude.

Then, when the program runs, is it possible to send data to PC terminal for debugging?

 

On my old test board with a bootloader, pins RXD TXD remain connected with PC after programming, so I can simply write to PC via USART. 

But I suspect it is otherwise with Arduino USB bootloader (according to what I have read). 

 

Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you use the Arduino IDE,   it provides a "Serial Monitor".

If you use AS6,   there is an add-on "Terminal".    It is complete cr*p.

If you use the "Visual Micro" add-on,  it provides a Terminal that works (I think)

The Codevision IDE and the Rowley IDE both provide working Terminals.

 

Of course you can always use an independent Terminal app like Bray.

The Dccduino hardware has still got the USB-UART chip.   It does not matter what language you write the program in.

 

I use the bootloader for uploading programs from ANY language.

Note that if you choose to use an external ISP programmer,   the bootloader gets destroyed.   So you should remove the BOOTRST fuse.

 

The Dccduino has got extra holes for mounting extra headers.   This is absolutely brilliant for prototyping.    I have the yellow version with a microUSB socket.

 

David.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks for your answer, David.