PIC16F877A Binary Output Using 8 LEDs (PORTB) | Button Controlled Patterns | MikroC Tutorial
Guys, My lectures are free for everyone. If you want to support my channel, then become a Youtube member by following link below: https://www.youtube.com/channel/UCpdIWTTY36Dhyb20V4EnMiA/join Seek knowledge from the cradle to the grave /// In this lecture, we explore how to generate binary outputs using 8 LEDs connected to PORTB of the PIC16F877A microcontroller. Four push buttons connected to PORTC are used to trigger different binary patterns, demonstrating how digital inputs control output states in real time. The code configures PORTC as input (for buttons) and PORTB as output (for LEDs). Based on which button is pressed, a specific decimal value is sent to PORTB, which lights up LEDs in unique binary combinations. This helps in understanding how numbers map directly to binary output pins. What you’ll learn: Interfacing push buttons with PIC16F877A Controlling multiple LEDs using PORTB Converting decimal values into binary outputs Basic decision-making using if-else logic in MikroC Applications: Digital output control systems Embedded debugging using LED indicators Binary counters and pattern generators Control panels in industrial machines Signal indication systems Industrial Use: This concept is widely used in PLC interfacing, automation systems, and embedded control panels, where binary outputs are used to control relays, motors, and status indicators. /////////////////////////////////////////////////////**********************************///////////////////////////////// Hello guys, Welcome to Learning Microcontrollers youtube Channel, Guys I have also compiled course on Udemy as well. Where you will learn under my direct supervision in a more supervised way. Here is the links to the courses I have on Udemy, By taking any of these courses you will be supporting my channel aswell. This will help me to make more videos with better hardware in the future. I hope you look forward to it. Courses Links: 1- https://www.udemy.com/course/pic16f877a-interface-lm35-temp-sensor-mikroc-collection 2- https://www.udemy.com/course/mikroc-for-pic-libraries-with-examples-using-pic16f877a-mcu 3- https://www.udemy.com/course/mikroc-for-pic-libraries-with-examples-using-pic16f877a-mcu 4- https://www.udemy.com/course/pic-microcontroller-using-mikroc-for-pic-from-scratch 5- https://www.udemy.com/course/learn-arduino-uno-coding-using-arduino-ide ///////////////////////////////////////////////////// #electronics #arduino #arduinoproject #project #microcontroller #circuitdiagram #circuitdiagram #simulator #simulation #proteus #proteus8 #pic16f877a #arduinotutorial #electronictutorial #embedding #embeddedprojects #embedded_system #embeddedprojectcenters #embedded_system #diy #diycrafts #diyideas #diyproject #diyarbakır #toggle #toggleswitch #switch #bluetooth #hc05 #wireless 1- How to download and install MikroC for PIC full version for free from official website. 100% Legit. https://www.youtube.com/watch?v=PNI5D9DAgfM 2- Tutorial on downloading, installing and using PICKIT 3 programmer tool. https://www.youtube.com/watch?v=jej9yWmESDo 3-Setting up a PIC16F877A/PIC16F887/PIC18F****. https://www.youtube.com/watch?v=CNwoRa1Lk3U&t=158s 4- PIC16F877A a basic Introduction. https://www.youtube.com/watch?v=e4pA_6ucHTc&list=PLREvqv4Hfqoh1qce7w8UvxxHcF70192pA 5- If you guys like my work you can support my work using Patreon link below: patreon.com/user?u=81261678
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.