PIC12F675 interfacing with Blink Led & Push button in Proteus

PIC12F675 interfacing with Blink Led & Push button in Proteus

PIC12F675 interfacing with Blink Led & Push button in Proteus
Circuit connection diagram

PIC12F675 interfacing with Blink Led & Push button in Proteus

In this article, we will learn how to Interfacing PIC12F675 with Blink Led using Push button in Proteus.

In the last post, we learned how to Interfacing PIC16F675 with blink Led in proteus.

 

Components Required:

  1. Microcontroller (PIC16F675)
  2. LED
  3. Resistor (220R,10k)
  4. Capacitor (0.1uF)
  5. Push button
  6. Connecting wires

Circuit connection:

PIC12F675 interfacing with Blink Led & Push button in Proteus
Circuit connection diagram

How it works:

When the code runs, it continually checks the state of the push-button.

If the button is pressed, it activates a sequence that turns the LED on for 500 milliseconds, off for 500 milliseconds, and then repeats as long as the button remains pressed.

This results in the LED blinking while the button is held down.

When the button is released, the LED stops blinking.

Programming code:

PIC12F675 interfacing with Blink Led & Push button in Proteus
Program code

Usages:

  1. Learning and Education
  2. Prototyping and Development
  3. Simple Control Systems
  4. Low-Power Applications
  5. Embedded Systems