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…
In this example we connect the ever popular DS18B20 temperature sensor to our PIC, we will then display the temperature on our LCD We used the DS18S20 in our example…
In this example we will read the temperature and humidity using a DHT11 sensor and display the readings on our LCD. We have linked to the datasheet at the bottom…
In this example we will connect an LDR again but this time when the ADC value goes below a certain number we will switch an LED on, in real life…
In the following example project we will convert an analog input to channel 0 to 10 bit digital number and display it on an LCD Schematic Code [c] sbit LCD_RS at…
In this example we will connect an RGB led to our Pic 18F4520 Port D. We will then light the red, green and blue individually. We will connect this up as…
This is a simple ‘Hello world’ type example. This was to test out a PIc18F4520 development board that I purchased, the board comes with 8 LED’s connected to PORT B.…