• 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 …

  • The requirements when I initially investigated a development board for doing some PIC training was I required a system that could cater for a variety of different PIC microcontrollers if possible and also had various peripherals on board that could …

  • 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 this could be an alarm or a night light. The …

  • In this example we connect an LDR to ADC channel 2 which is PA 2. Once again you will get a value in theory between 0 and 1023. The more light that there is the higher the value. We will …

  • 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   [codesyntax lang=”c”] sbit LCD_RS at RB4_bit; sbit LCD_EN at RB5_bit; sbit …

  • In this example we connect a push button switch to RD0 when the button is pressed we will light an LED(s), when the button is not pressed the LED(s) will not be lit. Since we are using a QL200 development …

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More