PIC18F4520 push button example
In a previous example we connected a 16×2 LCD to our development board and displayed text on it, in this example we use the 2 buttons on the board to display some text on the LCD There are 2 buttons…
In a previous example we connected a 16×2 LCD to our development board and displayed text on it, in this example we use the 2 buttons on the board to display some text on the LCD There are 2 buttons…
In this example we connected an LCD to the LCD 1602 LCD connection on the Open18F4520 PIC evaluation development board from Waveshare. A simple example is to display some basic text on the LCD display. This is a picture of the…
In this example we will connect a buzzer to our pic and then play a basic tune, we will use mikroC and the Sound library that is available. Here is the schematic Schematic Code The code was written in mikroC,…
In this example we connect an LCD to our PIC16F873 microcontroller Schematic Code Mplab X using the XC8 compiler requires lcd.h lcd header file [codesyntax lang=”c”] #define _XTAL_FREQ 4000000 #define RS RC0 #define EN RC1 #define D4 RC2 #define…
In this example we connect a push button switch to the first bit of PORT C (RC0) which will be configured as an input pin. The push button is connected to a 10k pull up resistor this means that the input pin is…
This is the usual introduction to a different pic, this time we will start to show you some examples with the PIC16F873 microcontroller, you can find out more about this micro from Microchip but to summarise its a 28 pin sdip…
In this example we will show you how to connect a 7 segment display to our PIC16F877. You can think of a 7 segment display as 7 individual LEDs in a configuration like the picture below. Image 1 shows the…
In this example we interface an AD keypad to our PIC16F877 and we also connect an LCD display. The LCD display is simply as a debug tool to display A/D readings, the nature of an AD keypad is that there…
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 the amount of…
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 this was connected to PORT E pin 2 of our…
This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Read More