I really need to update the Projects page.

 

 

Fall quarter I took a class about microcontrollers, and one of the things I built for that class was a stroboscope.  A stroboscope is a device which pulses a bright light at a user-input frequency.  This flashing light can be used to observe the motion of rotating or vibrating objects.  A fan for instance will appear to rotate very slowly or not at all.  A guitar string can be observed to move very slowly side to side, stand still stretched to one side, or even reverse direction.  This can also be used to find the frequency of some rotating/vibrating object.

This stroboscope has a variable frequency from 8Hz to 10kHz, in steps of 0.01Hz.  It has an LCD screen for easy reading and a set of four buttons to control the frequency.  Two one-watt LEDs provide the light pulse.  The microcontroller I used is a PIC18F2525, rather overpowered for this device but it's what I had.  All said and done, it's a $40 device with about the same features as the $1500 device you would buy from some company.

 

This was my first try at making a PCB, so it's only one layer.  It came out pretty well though and I will certainly use this method in future projects.  You can find instructions for making a PCB here.

This is the mask I used to make the PCB.  A printable PDF of this file can be downloaded here.

 

Circuit with parts labeled:

Click here for full-size image.  Sorry about being hard to read.

 

Parts List

Q1 TIP31
Q2 LM7805 (or as required due to power source)
U1 Lumex 16x2 character LCD
U2 PIC18F2525
U3 General connections for main pulsed LEDs
U4-U7 tactile buttons
LED1 (optional for backlight) Screen Backlight or LED
LED2 (optional for auto-backlight-on) photoresister
LED3 (optional for power LED) power LED
C1 1000uF capacitor
C2 10nF capacitor
R1 ~1kohm (or as required)
R2 ~3.3kohm 
R3 10kohm (master reset pullup)
R4 (optional for auto-backlight-on) 80% of photoresister in ambient light
R5 1ohm (or as required due to LED/source)
R6 1ohm (or as required due to LED/source)
R7 1ohm (or as required due to LED/source)
R8 (optional for auto-backlight-on) 5x that of photoresister in ambient light
R9 (optional for power LED) ~1kohm
R10-13 100kohm button pullups
CONN1 This is the in-circuit-serial-programming port
CONN2 connected directly to CONN3 for controls
CONN3 connected directly to CONN2 for controls

 

If anyone is interested in actually building one of these things I will update this page with all the required details. Code to run the PIC is here.  This code could be improved, so if anyone is seriously interested in building this I will rewrite it all to make it faster and add options.

 

 

As of 04/28/2008

Eric Nees

Free Web Site Counter
Online Degree Program