PIC Stroboscope using PIC12F675 microcontroller

Summary of PIC Stroboscope using PIC12F675 microcontroller


This article details the construction of a PIC-based stroboscope using a PIC12F675 microcontroller to visually slow down moving objects like fans. The project utilizes standard electronic components including a perf board, voltage regulator, capacitors, resistors, LEDs, a potentiometer, and a transistor, powered by a 6V battery or regulated supply.

Parts used in the PIC Stroboscope:

  • Perf Board
  • 6 volt battery pack (AA)
  • 7805 regulator
  • 220uF capacitor
  • 2 0.1 ceramic disc capacitors
  • 2n2222 NPN bi-polar junction transistor
  • 7 680ohm Resistors
  • Potentiometer (100K recommended)
  • 7 LEDs
  • PIC Programmer
  • PIC12f675 Microprocessor

PIC Stroboscope

You have probably been to a party where there is a strobe and it delays everything. Today we are going to use this principle to “slow” stuff (fans) down. Maybe you have seen one using 555 timers, the Arduino and maybe even the Propeller chip. However, have you ever seen one with a PIC?

We are going to build this today. I am using the PIC12f675 from Microchip. THer is a video below to show the inner workings.

PIC Stroboscope

Step 1: Get the Parts

You will need:
Perf Board
6 volt battery pack (AA) (If you want, it can have a power switch and cover.)
7805 regulator (I use it in case I use a power supply.)
220uF capacitor
2 0.1 ceramic disc capacitors (it should say 104 on it.)
2n2222 NPN bi-polar junction transistor (use this transistor or a power transistor…I say this because 2n2222 can drive up to 1 amp but really, a transistor with 500mA will work.)

Schematic PIC Stroboscope
7 680ohm Resistors (I say seven because it has 1 “power led” See Notes at the bottom to hear why. This other LED also strobes like the others.)
potentiometer (I like 100K…gives me good range)
7 LEDs ( I prefer blue but any bright LED will work.)
PIC Programmer (I used the old fashioned QuickWriter.)
…and most importantly the PIC12f675 Microprocessor!

 

For more detail: PIC Stroboscope using PIC12F675 microcontroller

Quick Solutions to Questions related to PIC Stroboscope:

  • What is the main purpose of this project?
    To use the stroboscope principle to visually slow down moving objects like fans.
  • Which microcontroller is used for this build?
    The project uses the PIC12f675 from Microchip.
  • Can I use a power supply instead of batteries?
    Yes, the 7805 regulator allows you to use a power supply if desired.
  • What type of transistor can drive the circuit?
    A 2n2222 NPN bipolar junction transistor works, or any transistor rated for 500mA.
  • Why are seven resistors needed?
    Seven resistors are required because there are seven LEDs, including one designated as a power LED that also strobes.
  • What is the recommended potentiometer value?
    A 100K potentiometer is preferred as it provides a good range.
  • Does the color of the LED matter?
    No, while blue is preferred, any bright LED will work.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter