Description:
A simple low cost development board for experimenting with Atmel's popular ATmega32 microcontroller. It can be powered from an external 5V power supply, or via a USB port using a mini USB cable (not supplied). The board also has a convenient ISP header which is compatible with most ISP programmers including our USBTinyISP (HCARDU0002).
1. On-board Atmega32
2. Supports ISP and JTAG.
3. All the IO ports are leaded out, including the PA, PB, PC, PD ports.
4. On-board programmable LED.
5. On-board 8MHZ crystal (replaceable).
6. On-board AMS1117-3.3 power chip, provides 800mA maximum current.
7. On-board Mini USB interface, 5V power supply, capacitor filter, chip operating voltage jumper, can choose 3.3V or 5V operating volatge.
Software:
Windows
[url=http://www.atmel.com/tools/ATMELSTUDIO.aspx]Atmel AVR Studio.
WinAVR (Includes avrdude command line programmer).
Example avrdude command line using USBTinyISP programmer: avrdude -c usbtiny -p atmega32 -U flash:w:MyProject.hex
Example code (Written in AVR Studio):
Code: Select all
/* FILE: ATmega32_Development_board_Test_Program.cpp
DATE: 19/07/13
VERSION: 0.1
REVISIONS:
19/07/13 Created version 0.1
This is a simple program that will slowly flash the on board LED connected
to DIO pin PB0 repeatedly.
You may copy, alter and reuse this code in any way you like, but please leave
reference to HobbyComponents.com in your comments if you redistribute this code.
This software may not be used directly for the purpose of selling products that
directly compete with Hobby Components Ltd's own range of products.
THIS SOFTWARE IS PROVIDED "AS IS". HOBBY COMPONENTS MAKES NO WARRANTIES, WHETHER
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ACCURACY OR LACK OF NEGLIGENCE.
HOBBY COMPONENTS SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR ANY DAMAGES,
INCLUDING, BUT NOT LIMITED TO, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY
REASON WHATSOEVER.
*/
#include <avr/io.h>
/* Used to create a very simple delay loop */
long Delay;
int main(void)
{
/* Set all port B pins to outputs */
DDRB = 0xff;
while(1)
{
/* Set DIO pin PB0 high */
PORTB = 0b00000001;
/* Wait a little */
for(Delay=0; Delay <=50000; Delay++);
/* Set DIO pin PB0 low */
PORTB = 0b00000000;
/* Wait a little */
for(Delay=0; Delay <=50000; Delay++);
}
return 1;
}
Downloads: