Atmel ATAVRBFLY Data Sheet

Page of 42
-20
AVR Butterfly User Guide
4271C–AVR–04/05
Make sure to disable the OCD-fuse after a debugging session, due to power 
consumption. The OCD-fuse will be disabled if pressing on the “Stop Debug-
ging” button in AvrStudio4, before disconnecting the JTAG ICE probe from the 
AVR Butterfly. 
Figure 3-10.  External Power
External power can be applied at pin 9 and 10 at both PORTB and PORTD, see Figure
3-7
 for the pinout.
If the JTAG are not in use, the four JTAG pins can be used as input for the ADC chan-
nels ADC[4:7]. See the ATmega169 datasheet for more information, available from
www.atmel.com
 
3.4
LCD Display
The LCD display on the AVR Butterfly is the same as used on the STK502 available
from Atmel. The connections between the ATmega169 and the LCD are also the same.
See the STK502 User Guide at 
www.atmel.com
 for more information about the LCD dis-
play, and the LCD bit-mapping.
For more information on how to write software for the LCD-display see application note
“AVR064: STK502 – A Temperature Monitoring System with LCD Output” and applica-
tion note “AVR065: LCD Driver for the STK502 LCD”.
Note:
Touching the LCD-pins will affect the segments on the LCD.
3.5
Joystick
The AVR Butterfly has a miniature joystick for input from user. It operates in five direc-
tions, including centre-push. The common line of all directions is GND. This means that
internal pull-up must be enabled on the ATmega169 to detect the input from the joystick.