Instructions
40Hardware
© 2013 Conrad Electronic
2.1.6 Mega32 Application Board
USB
The "C-Control Pro Application Board MEGA 32" (Conrad Item no. 198245) provides a USB interface
for the program’s loading and debugging. Because of the high data rate of this interface data trans-
mission times are considerably shorter compared to the serial interface. Communication takes place
through a USB Controller by FTDI and an AVR Mega8 Controller. The Mega8 provides its own Reset
push button (SW5). During USB operation the status of the interface is indicated by two light emit-
ting diodes (LD4 red, LD5 green). When only the green LED lights up the USB interface is ready for
operation. During data transmission both LED’s will light up. This also applies to the Debug mode.
Flashing of the red LED indicates an error condition. Is a program started in the Interpreter, the red
LED is turned on during the runtime. For USB communication the SPI interface of Mega32 is used
(PortB.4 through PortB.7, PortA.6, PortA.7), which must be connected by their respective jumpers.
Note: Detailed information on the Mega32 can be found in the IC manufacturer’s PDF files on the C-
Control Pro Software CD-ROM.
On-Off Switch
The switch SW4 is located on the front of the application board and serves the power-up (On) or
power-down (Off) of the voltage supply.
Light Emitting Diodes (LED)
There are 5 light emitting diodes (LEDs). The LD3 (green) is located on the front below the DC ter-
minals and lights up when supply voltage is applied. LD4 and LD5 indicate the status of the USB in-
terface (see Section USB). The green LEDs LD1 and LD2 are located next to the four push buttons
and are freely available to the user. They are connected to VCC through a dropping resistor. By
means of jumpers LD1 can be connected to PortD.6 and LD2 to PortD.7. The LEDs will light up
when the corresponding pin port is low (GND).
Push Buttons
There are four push buttons provided for. SW3 (RESET1) will initiate a reset with Mega32 while SW3
(RESET2) will do the same with Mega8. The push buttons SW1 and SW2 are freely available to the
user. Through jumpers SW1 can be connected to PortD.2 and accordingly SW2 to PortD.3. There is
the possibility to connect switches SW1/2 to either GND or VCC. The possibilities to choose from
are determined by JP1 and JP2 resp. In order to have a defined level at the input port while the push
button is open the corresponding pull-up should be switched on (see Section Digitalports).
Pressing SW1 during power-up of the board will activate the Serial Bootloader Mode.
LCD
An LCD module can be plugged onto the application board. It displays 2 lines at 8 characters each.
In general also differently organized displays can be operated through this interface. Each character