JLinX – Blog

Weblog von Jan Linxweiler

Atmel AVR

  • The Butterfly connects at a speed of 9600 Baud

The RS-232 Connection

Communication with the PC requires three lines: TXD, RXD, and GND. The TXD is the transmit line (data from the PC to the Butterfly), RXD is the receive line (data from the microcontroller to the PC) and GND is the common ground. Notice that there is a bit of relativity in this equation, the microcontroller’s RXD wire is the PC’s TXD wire and vice versa.

 

How to Program the Butterfly

  • Use AVR Studio | Tools | AVR Prog…
  • First reset Butterfly and press/hold down joystick
  • Then start AVR Prog
  • Upload .HEX file
  • Reset Butterfky again