CHALKROACH-2 |
|||||||||||
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |||||||||||
| set up the programming environment for the chalkroach | |||||||||||
make a chalkroach ATMega32 microcontroller board set up the programming environment for chalkroach |
|||||||||||
| . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |||||||||||
Now that we have made and stuffed the chalkroach board, we can program the chip. The steps below will show you how to set up the programming environment on your computer. The softwares and tools below will enable you to write a C program and load it onto your microcontroller board. Instructions for Windows: (for mac instructions click here) 1. download and install AVR-GCC AVR-GCC is a freeware C compiler and assembler for the Atmel AVR microcontroller series. You can download the source code for free or get an ready installation package depending on your operating system.
more links:
2. download and install AVRlib When writing code in most programming languages, it is a good idea to look on the internet for available libraries in order to reduce the time needed to perform common asks. There are many C libraries for Atmel AVR processors, including the very user friendly Procyon Avrlib. This library covers simple and not so simple tasks and modules such as: Print functions, Command Line Interface, Fixed-Point Math Library, A/D Converter, RC-Servos, Graphic LCD Modules and a number of other tasks. Avrlib is a well documented and commented library and provides example programs to illustrate the use of the different functions. To install Avrlib follow these steps:
more links:
|
|||||||||||
make a chalkroach ATMega32 microcontroller board set up the programming environment for chalkroach |
|||||||||||