PIC18f2550 dark activated light
The concept of a dark activated light is quite simple, we use a light dependent resistor (LDR) to an ADC pin on our PIC micro, we then read in a…
The concept of a dark activated light is quite simple, we use a light dependent resistor (LDR) to an ADC pin on our PIC micro, we then read in a…
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…
In this example we will show you how to connect a 7 segment display to our PIC18F2550. You can think of a 7 segment display as 7 individual LEDs in…
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…
This is made easy by the TEXT LCD library. The schematic shows how to connect up the 16×2 LCD to the MBEd Schematic Code [c] #include “mbed.h” #include “TextLCD.h” TextLCD…
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…