บทความ

7 Segment Display Interfacing with PIC Microcontroller

รูปภาพ
7 Segment Display Interfacing with PIC Microcontroller EMBEDDED 12 7 Segment Display Interfacing with PIC Microcontroller This is our 8th tutorial of  Learning PIC microcontrollers using MPLAB and XC8 . We have come up all the way from  installing MPLABX  to using a LCD with PIC MCU. If you are new here, then look at previous tutorials where you can  learn timers ,  blinking LED ,  interfacing LCD  etc.. You can find all our  PIC Tutorials here . In our last tutorial we saw how we can generate  Custom characters with our 16*2 LCD display , now let us equip our self with another type of display module called the  7-segment display and interface it with PIC Microcontroller . Although  16x2 LCD  is much more comfortable than 7-segment display but there are few scenarios where a 7-segment display would come in handier than a LCD display. LCD suffers from the drawback of having low character size and will ...

Interfacing Ultrasonic Sensor HC-SR04 with PIC Microcontroller

รูปภาพ
Interfacing Ultrasonic Sensor HC-SR04 with PIC Microcontroller EMBEDDED 12 Interfacing Ultrasonic Sensor HC-SR04 with PIC Microcontroller For any project to come alive, we need to use sensors. Sensors acts as the eyes and ears for all embedded application, it helps the digital Microcontroller to understand what is actually happening in this real Analog world. In this tutorial we will be learning how to  Interface Ultrasonic Sensor HC-SR04 with PIC microcontroller . The  HC-SR04 is an ultrasonic sensor  which can be used to measure distance anywhere between 2cm to 450cm (theoretically). This sensor has proved itself worthy by fitting into many projects which involves obstacles detection, distance measuring, environment mapping etc. At the end of this article you will learn how this sensor works and how to interface it with PIC16F877A microcontroller to  measure the distance and display it on the LCD screen . Sounds interesting right!! So let...

Interfacing PIR Sensor with PIC Microcontroller

รูปภาพ
Interfacing PIR Sensor with PIC Microcontroller EMBEDDED By Pankaj Khatri   Apr 27, 2018 0 Interfacing PIR Sensor with PIC Micro-controller PIR (Passive Infrared) or Motion Sensor is used to detect the motion of moving human body or objects. Whenever someone comes in the range of PIR sensor, it gives High at its output pin. We have previously interfaced PIR with other Microcontrollers: Arduino Motion Detector using PIR Sensor IOT based Raspberry Pi Home Security System with Email Alert Automatic Staircase Light with AVR Microcontroller Today we are simple going to  interface PIR with PIC Microcontroller  PIC16F877A. In this circuit if some moving objects comes in the range of PIR sensor, the buzzer will start beeping. Material Required PicKit 3 PIR Sensor. PIC16F877A IC 40 - Pin IC holder Perf board 20 MHz Crystal OSC Female and Male Bergstick pins 33pf Capacitor - 2Nos, 100uf and 10uf cap. 680 ohm, 10K and 560ohm Resistor ...