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 -> PORTC 2 DIN ->…
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…
This was another Attiny micro that I had in the tool box, so I decided to create a simple DIY development board (more on that later) and create some basic…
This example is the hello world of LCD examples, we display that text on the LCD in question. Connection is straightforward and you can see it at the top of…
A couple of simple examples, we used an RGB LED breakout. This was a common anode type, so to switch an LED on you need to switch the appropriate port…
Similar to our previous example, in this case we connect 3 LEDs up to Pin 5, 6 and 7 which are PB0,1 and 2 Here is the schematic for this…