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 if you decide to use…
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 if you decide to use…
In this part we will now try and program an Attiny85 microcontroller using an Arduino, the process is similar to our Attiny2313 example. Basically slightly different connections and change the…
This is the second part of setting up an Arduino to program an Attiny microcontroller, in the previous parts we added support for the variety of microcontrollers. For reference purposes…
This is a list of interrupts, in priority order, for the Atmega328: 1 Reset 2 External Interrupt Request 0 (pin D2) (INT0_vect) 3 External Interrupt Request 1 (pin D3) (INT1_vect) 4…
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 -> PORTC 2 DIN ->…
In this example we will show you how to connect a 7 segment display to our Atmega128. You can think of a 7 segment display as 7 individual LEDs in…
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 → PB0…
A basic PWM example using an Attiny2313 Schematic Code [c] #define F_CPU 1000000UL #include <avr/io.h> #include <util/delay.h> int main(void) { DDRB |= (1 << PB2); // PWM output on PB2…
Being interested in various microcontrollers means we purchase lots of modules, development boards and sensors. One of these is the ARduino of which we have purchased many different shields, as…
This is a very similar example to our ATMEGA16 and LCD example. We simply connect our 16×2 LCD display to our Attiny2313 PORTB. Again for simplicity the code is written…