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 …
shedboy71
-
-
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 of the page, download it and then you can read …
-
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 an RGB led to PORT C 0 – 2 of our PIC16F877A. Again we are using the Ql 200 PIC development board. The RGB LED is a common anode type, so to light an individual …
-
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 follows DO – RED LED D1 – GREEN LED …