Tutorials Archive
This is a picture of the 8 x 8 LED matrix display I used which I connected to my ATmega16 Here are the connections CS -> PORTD 2 DIN -> PORTD 1 CLK -> PORTD 0 Schematic
In this example we will show you how to connect a 7 segment display to our Atmega16. You can think of a 7 segment display as 7 individual LEDs in a configuration like the picture below. Image
Datasheet Til 311 datasheet Connection Here are the TIL311 pin PINS 1 and 14 LED supply/Logic Supply 5v PIN 2 Latch Data Input B PORT D pin 1 PIN 3 Latch Data Input A PORT D pin 0 PIN 4 Left
Sometimes in your projects you simply do not have enough I/O lines available, take for example a lot of the multiple LED examples, these use 8 outputs to control 8 LEDs via your PIC, that can restrict
In this example we connect an LED to PB2 (Pin 14) of an Attiny 2313. The PWM output is obtained from the OC0A output of timer/counter0. Schematic Code Avr studio code example Links 5 PCS
I recently bought a development board for an ATMEGA128, sadly there was no examples and no schematic supplied but after some trial and error I managed to get this up and running. The board came with 8
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 in MikroC PRO for AVR. We actually
This was one of the first Attint chips that I looked at, so I decided to create a simple DIY development board (more on that later) and create some basic examples to play around with Not a
In this example we have 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 the code, we use Port B
Similar to our previous example when we flashed a single LED, in this case we connect 3 LEDs up to Pin 5, 6 and 7 which are PB0,1 and 2. We will then flash 3 LEDs Here