
Learn mikroC for PIC microcontroller programming on a PC using mikroC Pro and ISIS simulations. Build fundamentals with basic electronics, LEDs, and interrupts, then write and test code.
Download MikroC Pro for PIC microcontrollers from Microelectronica and install it on Windows by extracting the package and running the installer. The demo license enables up to 2K of code.
This lecture introduces Mikro C and Proteus ISIS, guiding you to create a new project, select the device and oscillator, explore libraries, and prepare for a first blinking LED demonstration.
Program a pic microcontroller to blink a led using mikroC by configuring RB0 as output, initializing portB to zero, and toggling RB0 with delays in a for loop.
Learn to add a push button to a PIC microcontroller project, drive an LED from RB0 when RB7 high, with 5 volts, ground, and 100 ms delay in Mikro C.
Drive a relay with a PIC microcontroller using a transistor, base resistor, and diode. Learn wiring, a test LED, and biasing to trigger the relay.
Drive a seven-segment display with a PIC16F877A in mikroC, exploring common cathode and common anode. Cycle digits 0–9 using an RB0–RB6 display array with 100 ms and 400 ms delays.
Explore wiring a 16x2 lcd to a pic16f877a and driving it with mikro c, including rb0, en, rw, and d0–d7, lcd init, and two-line text display.
Connect a keypad to the LCD via port C, wiring the first three pins as inputs and the last four as outputs, then implement keypad scanning and display ASCII characters.
Learn keypad scanning with a PIC microcontroller, mapping keys to ASCII characters and displaying results on an LCD. Manage screen navigation, delays, and RC assignments while exploring library usage.
Explore a water level indicator project with an LCD display and a Proteus-based status checker that shows tank levels from full to empty.
Create and save a new microcontroller project in mikroC, name it water level and text checker, set the device and clock to four megahertz, and begin coding step by step.
Learn LCD initialization in a new Mikro C project for a PIC microcontroller, set the device and clock to 4 MHz, and build a water level status checker.
Configure port c inputs, initialize the lcd on port b, clear the lcd, and set a static first-row level indicator in the microcontroller's main routine.
Program Mikro C code to read water levels with a while loop and a switch, showing empty, level one through four, and full tank messages on the LCD.
Review and debug microcontroller code in Mikro C. Verify LCD initialization and main function, then confirm projects compile and link successfully for water level and time status checks.
Simulate a water level monitoring project with a PIC microcontroller in Mikro C, showing levels 1 to 4 from empty to full and debugging status messages.
Explore a smart street light system powered by solar panels and batteries, using a light dependent resistor and motion sensors to control leds day and night.
Create and save a new Mikro C project named Audio smart strip light, select the project folder, set the clock cycle, and prepare for coding in the next tutorial.
Initialize the program for a PIC microcontroller by defining inputs and outputs, setting port d as output and B and C as inputs to prepare the while loop.
Explore MikroC coding for a PIC project that reads port C and drives port D to control smart street lights, using simple if statements and compiling the project.
Explore a Mikro C driven PIC microcontroller project simulating smart street lights with an LDR, LEDs, and daytime control; observe LED patterns and the hex file deployment.
Develop a water level indicator with a seven-segment display for PIC microcontroller and MikroC projects, using a 5-volt supply to visualize tank levels from full to empty.
Create and save a new water level indicator project in MikroC for PIC, set the target to four Mega, and configure a seven-segment display before finishing.
Initialize level tracking and seven-segment output on a PIC microcontroller: define i, an unsigned display array, and an eight-level level array, driving port B and port C.
Initialize the microcontroller inside main, configure Port C as input, and set up the LCD with initialization and command calls for the water level indicator.
Develop the water level indicator project by writing Mikro C macro code for a PIC microcontroller that drives a seven-segment display and loops from 0 to 9 to represent levels.
Explore building a water level indicator with a segment display on a PIC microcontroller using Mikro C, guiding you from loading the hex file to running the simulation.
Explore building a password-based wireless home automation system using a PIC microcontroller and Mikro C setup, controlling bulbs, fans, doors, and gates with rf communication.
Create and save a new project with the exude wizard, name it buzzword home automation, set the desktop folder, select the plc system f-27a, and finish for initialization.
Perform initialization of the lcd and external constants and variables for the project. Design modular functions and modules to guide step-by-step development.
Implement a verify function to monitor keypad presses, build a four-digit code from first through fourth keys, and reset on enter for mikro c projects.
Implement keypad password verification logic for a wireless home automation system using else-if constructs, clearing the keypad and LCD on errors and refreshing digits for retry.
Initialize microcontroller ports and the LCD, set up UART communication at 9600 baud, and prepare the keypad for scanning; future steps cover the do/while loop and complete main structure.
Learn to enable devices from a transmitter using a do-while loop, RB pins, and an LCD to display door and light status while managing external memory for gate and fan.
enables uart1 for transmitting and receiving on the pic microcontroller, showing how to send port b status to the receiver and create a separate microcode project.
Track keypad presses by wiring a 3x4 keypad to a PIC microcontroller using three columns and four rows, checking each column and clearing ports between tests.
Track keypad presses on row 1 of a matrix using D0, D1, and D2; validate digits under four and display results on the LCD.
Switch from columns to rows in the keypad code to track presses on rows four through six, using a 50 ms delay to debounce.
Track keypad presses on row 3 for a password-based wireless home automation system, using MikroC with PIC microcontroller, including key mapping for seven to nine and timing delays.
Track and verify keypad input using enter and clear functions, manage password entry, and update the LCD display with digits and verification steps in a microcontroller project.
Compile transmitter code for the password-based wireless home automation system, fix too many initializers to 15, and prepare uart communication to the receiver with the hex file ready.
Create a new receiver project for a password-based wireless home automation system using joystick, ensuring the receiver mirrors the transmitter on port b and syncing statuses.
Learn how to implement Mikro C code for the receiver in a password-based home automation system, including UART data handling, reading transmitter input, and port B verification.
Perform code review after building a password-based wireless home automation system to ensure the receiver and automation side work together; adjust LCD rows and run the project.
Conclude and simulate a password-based wireless home automation project for a PIC microcontroller using MikroC, integrating transmitter and receiver hex files to control bulbs, doors, fans, and gates.
Explore the four-way traffic light system with emergency override, showing wireless connections for a, b, c, and d lanes and interrupts that pause lanes and resume from where it stopped.
Create and save a new project for an emergency override traffic light system, selecting a project name, saving location, and finishing the setup with the final steps.
Learn program initialization for a traffic light project using ports B, C, and D, with arrays, counters, and emergency override setup before addressing interrupts.
Enable port B internal interrupts on RB5–RB7, implement an interrupt handler function, detect which button press occurs, and prepare to test each terminal in the next tutorial.
Configure the PIC microcontroller terminals to listen for incoming signals by mapping port b and port c values through sequential if-else checks, enabling signal listening across all four terminals.
Activate emergency at terminal one by leveraging an internal RB interrupt, zeroing B and C, and cycling through a 12-step array-driven blinking sequence for the display.
Activate the emergency override traffic light system at terminal two by adjusting gate b5 to b2 and c2 upwards, with focused, step-by-step guidance.
Activate emergency at terminal three using pic microcontroller and mikro c, by wiring Pb6 and adjusting B2 and B3 to trigger an alert when a signal is received.
activate the emergency override traffic light system by enabling terminal four and validating its RB7 signal, with a quick code review of void main.
Learn how to enable and clear the port B interrupt flag, configure the intercom register, and implement the interrupt handler to confirm execution.
initiate microcontroller initialization for a traffic light system by configuring ports b, c, and d as input/output and enabling interrupts to prepare for sensor data and output control.
Implement a final program using a while loop and a for loop to drive traffic-light displays Bebe and Cece, with a 0–10 counter and 100 ms delay.
Learn to compile and simulate a PIC microcontroller project by loading a hex file. See traffic light logic with emergency override and runtime debugging across states.
Explore a GSM-based four-lane traffic light system with a density checker using wireless sensors to count cars per lane, displaying counts on seven-segment indicators and reporting densities via GSM.
Create a new gsm based traffic light monitoring system project in mikroC, configure project name and folder, set device clock to four megahertz, and prepare to initialize tasks.
Master the initialization process for a traffic light system in Mikro C, configure ports B and C, declare variables for sensors and displays, and prepare seven-segment outputs for future steps.
Learn to implement an interrupt-driven data parser on a PIC microcontroller, using uart1 receive, edge detection, and an arcs indicator to track incoming symbols and command sequences.
Enable port b internal interrupts on mikro c to handle sensors connected to rb4, rb5, rb6, rb7, update interrupt flags, and drive leds for a four-way traffic light system.
Remove spaces from received data by adding a dedicated space-removal function outside the interrupt, using loops to count and process seven-character inputs for reliable data handling.
Learn to write and send SMS using AT commands in a microcontroller project, including creating a send SMS function, formatting cmgs commands, and handling phone numbers and delays.
Display lane a traffic density using PIC microcontroller and Mikro C, converting counts to text and sending the result via SMS to a phone number.
Learn to display traffic density for lanes B, C and D using a gsm based traffic light monitoring system, with code setup, string handling, and clearing counters for fresh input.
Initialize the PIC microcontroller by configuring uart1 to 9600 baud and setting port b as input/output, while enabling the global internal interrupt enable bit and the receiver.
Drive a traffic light and a seven-segment display with final MikroC code for a PIC microcontroller. Initialize components, use for and while loops, manage ports, and trigger sms via send_SMS.
Review the traffic light monitoring system with the density checker objective, initialize internal settings and UART1, enable interrupts, then compile the JSON-based traffic project to verify functionality.
Explore simulating a traffic light density system on a PIC microcontroller using MikroC, testing sensor inputs and density settings, with emphasis on case sensitivity and project workflow.
Explore a password-based security system with GSM alerts that grants access on correct entry, denies after failed attempts, and sends SMS notices with LED and LCD feedback.
Create and save a new password-based security system project for a PIC microcontroller using MikroC, including naming the project, selecting the PIC 16F877A, enabling GSM alerts, and organizing the folder.
Initialize and declare variables, using n1, n2, and m to track key presses and four-digit checks. Configure LCD module connections and initialization, then prepare to start coding.
Implement a four-digit password verification function in Mikro C, capturing key presses, building the password across digits, validating with the enter key, and displaying status on the LCD.
Explore password validation with a keypad, capturing four digits, clearing inputs for new attempts, and validating against 1842 using LCD feedback and nested if statements.
Learn to validate a password on a PIC microcontroller, count failed attempts with k, and trigger an alert after three failures, while using LCD messaging and red/green LEDs.
Develop and test SMS alert functionality using AT commands on a PIC microcontroller with mikroC, implementing an alert routine that sends intruder alerts via SMS to a phone number.
Learn microcontroller and lcd initialization for a password-based security system, including uart1_init, port configuration, lcd_init, lcd_cmd, and clearing the display to show the initial prompt.
Explore tracking keypresses on a keypad for a password-based security system with GSM alerts, using a PIC microcontroller and MikroC to scan keypad rows and columns and detect pressed keys.
Track the first keypad column on a PIC microcontroller using MikroC, update the LCD, hide the password, and perform password checks within a password-based GSM security system.
Track the keypad's second column on a PIC microcontroller using MikroC, wire D1 and D5 bits, and display the corresponding keypad value on an LCD.
Track the keypad's third column with MikroC on a PIC microcontroller, updating port D and rd7_bit, and handle the enter key with a 50 millisecond delay.
review and compile the password-based security system project for a gsm-enabled microcontroller, verify the code, build the project, and generate the hex file for use.
Simulate a password-based security system with GSM alert on a PIC microcontroller, upload the hex file, test password entries, and trigger SMS alerts on access attempts.
Learn to build a PIC16F877A underground cable fault locator with a base station and scan points, displaying wire status on an LCD and signaling faults with LEDs and a buzzer.
Create and save a new underground cable fault locator project, name it, choose its save location, configure the device block, and prepare for the next tutorial.
Initialize the underground cable fault locator project by setting up the lcd and fault indicators, and start organizing modular Mikro C code for future functions.
Develop a simple void display function for the LCD module, using a for loop from 0 to 2 to write lcd_character at each position during initialization.
Create and display a no fault function for an underground cable fault locator, showing no fault on the LCD for 1–3 km.
Initialize the microcontroller and lcd for the underground cable fault locator, configuring lcd_init, lcd_cmd, lcd_clear, and setting d0–d3 as outputs with a 1000 ms delay.
Learn to implement a control switch with a button input, display status on an LCD with w1, w2, w3, and blink indicators for an underground cable locator using do/while loops.
Track faults on ground cable wire 1 with a pic microcontroller using mikro c, reading d3 to locate faults at 1, 2, or 3 kilometers and display results on lcd.
Learn to implement a wire two fault tracking routine for an underground cable locator using mikroC on a PIC microcontroller, including ASCII handling, conditional logic, and display updates.
Track faults on wire 3 of an underground cable using mikroC for a PIC microcontroller, displaying 1–3 km readings on an lcd and updating the d2 status bit.
Explore the ASCII chart reference for PIC Mikro C projects, detailing decimal and hexadecimal equivalents for digits, letters, and symbols, and how adding 48 converts digits to characters for printing.
Review the Mikro C code by validating if and else if statements, adding semicolons, and aligning the mouse tracking logic; then compile, build, and execute the linked project.
Simulate a final project with a PIC microcontroller and Mikro C, focusing on wireless base station wiring and control switches. Follow along with the practice and code to verify behavior.
Build a high-speed detector with GSM alert using a PIC microcontroller and Mikro C, using sensors A and B, LED, and buzzer to flag speeding with a four-second threshold.
Create and save a new project for the Raj Drive and high speed detector, rename it, set the folder, select PC system F77a, and configure the megahertz before coding.
Initialize the lcd and declare essential data types in C, including unsigned int and unsigned char, with counters for hours, minutes, and seconds.
Learn to create a void interrupt function for a microcontroller project, counting sensor events, incrementing seconds, and resetting counters with timer zero and enable flags.
Learn to implement an SMS function using AT commands on a PIC microcontroller, enabling text mode and sending a speed message via CMGS over UART.
Implement an alert function on a PIC microcontroller to blink an LED and sound a buzzer for five cycles using a for loop and 500 ms delays in mikroC.
Learn to implement an lcd clear function in MikroC for PIC microcontrollers, clearing a 16x2 lcd when a vehicle passes the sensor and preparing the screen for next read.
Initialize a microcontroller in C, configure I/O pins, set up the LCD and UART at 9600 baud, and prepare the system for a do-while loop.
Activate sensor A to start remote monitoring, clear the LCD, and display time and speed within 16 characters, preparing for calculations in the next tutorial.
Implement a rush-drive high-speed detector with a PIC microcontroller and MikroC, display speed on an LCD, and trigger a GSM alert (SMS) when the speed threshold is exceeded.
Learn how to compile a Mikro C project, fix timer and time issues, and display the speed (default 375) on the LCD, then generate a hex file for Proteus simulation.
Simulate and conclude a pic microcontroller project: a rush drive detector with gsm alert, proteus modeling, mikro c code, and led, buzzer, and visual terminal for sensors a and b.
Embark on a comprehensive journey into the world of electronics circuit design and programming with our course, "PIC Microcontroller Projects with Mikro C Pro for Engineers" This course is meticulously crafted for beginners and intermediate learners who wish to master the art of circuit design and microcontroller programming, using the powerful Proteus IDE and Mikro C for PIC microcontrollers.
Introduction to Electronics Circuit Simulations on Proteus IDE
Dive into the world of circuit simulations as we introduce you to the Proteus IDE. You'll start by exploring and understanding the Proteus environment, where you'll learn how to select components, design your first circuit, and control an LED with a button. As you progress, you'll get hands-on experience with configuring NPN and PNP transistors, relays, simulating buzzers and DC motors, and even creating wireless circuit connections. By the end of this section, you’ll be equipped with the skills to save and manage your projects effectively.
Introduction to Electronics Circuit Simulations on Proteus IDE:
Exploring & Understanding Proteus Environment: Get familiar with the Proteus interface, its tools, and how to navigate the workspace.
How To Pick Components From Proteus: Learn how to select the right components from the Proteus library for your circuit designs.
Your First Circuit Design In Proteus: Create your first simple circuit in Proteus, understanding the basics of circuit layout.
LED Control With Button In Proteus: Design a circuit to control an LED with a button, a fundamental skill in electronics.
How To Save Your Project In Proteus: Learn to save your work properly to ensure your designs are preserved and easily accessible.
Configuring NPN And PNP Transistor: Understand the configuration of NPN and PNP transistors for circuit designs.
Configuring A Relay With NPN Transistor: Learn how to integrate a relay into your circuits using an NPN transistor.
Configuring A Relay With PNP Transistor: Explore the use of a PNP transistor to control a relay in your designs.
How To Simulate a Buzzer: Discover how to add and simulate buzzers in your circuits.
How To Simulate DC Motor: Learn to simulate DC motors, essential for many mechanical and robotics applications.
Wireless Circuit Connection: Delve into wireless circuit design and simulation, a critical skill in modern electronics.
Transition from simulation to real-world application as you learn Mikro C programming for PIC microcontrollers. Starting with the installation and setup of Mikro C and Mikro C Pro, you'll be guided through various programming exercises, including LED blinking, push button interactions, relay triggering, seven-segment displays, and more. This section will empower you with the knowledge to integrate Mikro C with Proteus ISIS for seamless design and simulation.
Download And Installation Of Mikro C: Step-by-step guide to downloading and installing Mikro C for PIC programming.
Download And Installation Of Mikro C Pro: Learn how to install the professional version of Mikro C for advanced features.
Mikro C And Proteus ISIS: Understand the integration of Mikro C with Proteus ISIS for seamless programming and simulation.
LED Blinking: Your first program: make an LED blink using Mikro C and a PIC microcontroller.
Push Button With LED: Program a push button to control an LED, a fundamental concept in embedded systems.
Triggering A Relay With PIC16F877A: Learn how to use Mikro C to trigger a relay using the popular PIC16F877A microcontroller.
Seven Segment Display With PIC16F877A: Display numbers on a seven-segment display, controlled by a PIC16F877A.
Displaying Text In LCD With PIC16F877A: Program an LCD to display custom text, enhancing your interface design skills.
Keypad Scanning: Learn to interface and scan a keypad, essential for user input in embedded systems.
Project Design and Programming:
Water Level Indicator with Seven Segment using PIC16F877A: Design and program a water level indicator with a visual display.
LDR Based Smart Street Light with PIC16F877A: Create an energy-efficient smart street light system using an LDR sensor.
Water Level Indicator with Tank Status Checker (PIC16F877A): Develop a more advanced water level indicator that also checks tank status.
Recommended Projects for Engineering Students:
Password Based Wireless Home Automation System with PIC16F877A
Emergency Override Traffic Light System with PIC16F877A
Traffic Light with GSM Density Checker using PIC16F877A
Password Based Security System with GSM Alert Technology with PIC16F877A
Rash Drive/High Speed Detector with GSM Alert with PIC16F877A
Underground Cable Fault Locator with PIC16F877A
Dot Matrix LED Display with 8051 Microcontroller
Printed Circuit Board Design with Proteus IDE
Benefits of This Course:
Comprehensive Learning: Gain a solid understanding of both circuit design and microcontroller programming, from basics to advanced projects.
Practical Skills: Develop hands-on experience with real-world applications of Proteus and Mikro C, preparing you for projects in electronics and embedded systems.
Career Advancement: Enhance your resume with skills highly sought after in electronics engineering, automation, and IoT development.
Project-Based Learning: Apply your knowledge to practical projects that can be used as a portfolio or as a basis for further innovation.
Real-World Application:
The skills learned in this course can be applied to various industries, including electronics design, home automation, robotics, IoT (Internet of Things), and more. Whether you're developing new consumer electronics or automating industrial processes, the knowledge gained here will be invaluable.
Enroll in "Proteus Circuit Design Simulations and Mikro C Programming" today and take the first step towards mastering the exciting world of electronics and embedded systems!