Home AVR

AVR

Programming an Attiny44 using an Arduino

In this example we will program an Attiny44 using an Arduino The first step is to take a look at the pinouts and features available...

Programming an Attiny85 using an Arduino

In this part we will now try and program an Attiny85 microcontroller using an Arduino, the process is similar to our Attiny2313 example. Basically...

Program your attiny2313 with an Arduino

This is the second part of setting up an Arduino to program an Attiny microcontroller, in the previous parts we added support for the...

Atmega328 interrupts

This is a list of interrupts, in priority order, for the Atmega328: 1 Reset 2 External Interrupt Request 0 (pin D2)...

ATmega128 and MAX7219 8 x 8 matrix

This is a picture of the 8 x 8 LED matrix display I used which I connected to my ATmega128 Here are the connections CS ->...

Atmega128 and a 7 segment display

In this example we will show you how to connect a 7 segment display to our Atmega128. You can think of a 7 segment...

Atmega16 and MAX7219 seven segment display

In this example we connect a MAX7219 seven segment display to our ATmega16, the connection was as follows VCC → 5V GND → GND DIN → PB5 CS...

Attiny2313 PWM flashing LED example

A basic PWM example using an Attiny2313 Schematic Code #define F_CPU 1000000UL #include <avr/io.h> #include <util/delay.h> int main(void) { DDRB   |= (1 << PB2);                   // PWM output on PB2 TCCR0A = (1 <<...

ATMega16 and Arduino LCD Keypad shield

Being interested in various microcontrollers means we purchase lots of modules, development boards and sensors. One of these is the ARduino of which we...

Attiny2313 and LCD example

This is a very similar example to our ATMEGA16 and LCD example. We simply connect our 16x2 LCD display to our Attiny2313 PORTB. Again...