Datasheet

2 | Page
1 Contents
Contents .......................................................................................................................... 2
1 Introduction ........................................................................................................................................ 3
1.1 Identify ......................................................................................................................................... 3
1.2 Comparison ................................................................................................................................. 4
1.3 Vext ............................................................................................................................................... 4
2 RS232/UART .................................................................................................................................... 4
2.1 Atmega-328 & Pi UART ........................................................................................................... 5
2.2 Atmega-48 UART ....................................................................................................................... 5
3 Atmega-328 ..................................................................................................................................... 6
3.1 Features ....................................................................................................................................... 6
3.2 Program the Atmega-328 ....................................................................................................... 6
3.3 Using/running the Atmega-328 ............................................................................................ 7
4 Atmega-48 ........................................................................................................................................ 7
4.1 Features ....................................................................................................................................... 7
4.2 Program the Atmega-48 ......................................................................................................... 7
4.3 Using/running the Atmega-48 ............................................................................................... 8
4.4 Real Time Cloc ........................................................................................................................... 8
4.5 Infra-red receiver/remote control receiver ....................................................................... 8
4.6 Battery Drain .............................................................................................................................. 9
4.7 Atmega-48 LED trick .............................................................................................................. 10
5 Connectors ...................................................................................................................................... 11
5.1 Alternate functions. ................................................................................................................ 11
5.2 Atmega-328 .............................................................................................................................. 13
5.3 Atmega-48 ................................................................................................................................ 14
5.4 Raspberry-Pi ............................................................................................................................. 15
6 Frequently Asked Questions (FAQs) .................................................................................. 16
7 How to start ................................................................................................................................... 17
7.1 On the Raspberry-Pi: ............................................................................................................. 17
7.2 On a PC ...................................................................................................................................... 17
8 Example programs ...................................................................................................................... 19
8.1 Atmega-328 .............................................................................................................................. 19
8.2 Atmega-48 ................................................................................................................................ 23
9
Control Arduino Reset ............................................................................................................. 265
10 Appendix A : GertDuino Schematic ..................................................................................... 26