Datasheet

6 | Page
3 Atmega-328
3.1 Features
This device is compatible with the Arduino Uno. In contrast to the 328 on the GERTBOARD this
device runs of 5V, has the 16MHz oscillator and has connectors which are 100% Arduino-Uno
compatible. It also contains the reset switch.
This board also has the following components which you will not
find on the Uno:
2 User push buttons
6 LEDs
1
LEDs
One LED is connected to PB5 (aka Port-13 aka SCK). This is compatible with the UNO. The
GertDuino has a five more LEDs. The total list of LEDs is:
- PB5 (Port-13)
- PB1 (Port-9)
- PB2 (Port-10)
- PD3 (Port-3)
- PD5 (Port-5)
- PD6 (Port-6)
The LEDs are not directly connected but are buffered and thus do not give any significant load
on the signal pins.
User buttons
The two user buttons are connected to pins PC2 and PC3. They will only function correctly if the
pins have an internal or external pull-up. The button are connected through a 1K Ohm resistor
so they will not cause a short if a pin is set as output and the button is pressed.
3.2 Program the Atmega-328
To program this device from the Raspberry-Pi you have to place the following 4 jumpers:
Then run the script Program 328as described in section 8.1.Atmega-328.
To program the 328 using a JTAG-ICE you need to use the "squid" cable and make the following
connections:
1
LED: The first debug tool any programmer grabs for.