Introduction: How to Make a Super Simple Computer Controlled Disco Light
Hello,friends!This is my first instructable and a simple one to make.Sorry for the poor images.I don't have a good camera.This is a disco light system made of three LEDs.It is controlled by parallel port.The controller program is written in VB6.It can control the blinking speed and actually,it runs the LEDs by sending signals to parallel port output pins.
Step 1: Things You Need
For this project,you will be in need of this things:
1.Three ultrabright LEDs(Any LED should work)
2.A DB25 Connector Cable
3.Visual Basic 6 (To edit the source code)
Step 2: About the DB25 Cable
Look at the Female side of the cable(the side of the cable with holes)To make this project,you should know this pin configuration:
Step 3: Bend Your LED Pins
LEDs are polar,that means they have certain "+" and "-" electrodes.The Longer pin is "+" and the shorter is "-".Bend the pins to be fitted perfectly in the cable holes.Set the LEDs according to the diagram.After putting LEDs into the holes,this should be all you have done so far.
Step 4: Put the LED Pins Into Holes and Connect the Cable to the Port
Put the LEDs according to the diagram into correct holes.Then connect the cable to parallel port.
Step 5: Download and Start the Computer Program
Turn your PC or Laptop on.You should see the lights shining.Then download and start the Program "blinker2.exe".The lights should start blinking.You can Change their blinking rate by adjusting the slider.The source code is also included.
In order to run the program and for making any program related to parallel port interfacing,you need these files:
unzip the file.Then access the "Binaries" folder.Then from the "ocx" folder,copy the "hwinterface.ocx" to "windows\system32" folder.You should also copy the "inpout32.dll" from the "Dll" folder and paste it to "windows\system32" folder.Then run the "blinker2.exe".
We have a be nice policy.
Please be positive and constructive.