Instructions
72Hardware
© 2013 Conrad Electronic
Since the outputs of the AVR32Bit Unit can not be overly stressed, a small driver stage should al-
ways (see picture) be used downstream. In the example an LED is driven, according to consumer a
corresponding FET or transistor must be used. This circuit is used for loads up to 100mA. For in-
ductive loads a freewheeling diode must be connected in parallel to the load.
With the C-Control Pro AVR32Bit UNIT pins are no longer configured with
"Port_DataDir" or "Port_DataDirBit"! Since the AVR32Bit UNIT offers more options to config-
ure the pins, here the function "Port_Attribute" is introduced.
It is important to study the pin assignment of the AVR32Bit before programming, since
important functions of the program development (eg, LAN, USB) are on certain pins.
ADC Reference Voltage
The microcontroller has an Analog-to-Digital converter with a selectable resolution of 8/10/12 bits.
This means that measured voltages can be represented as whole numbers from -2048 to 2048, since
the AD-converter always works differential. In addition, an ADC preamplifier gain of 1, 2, 4, 8, 16, 32,
64 can be set by software.