Tuesday, August 3, 2010

PIC12F683 Based Laser Projector

This Laser projector draws spirograph patterns on a screen. It uses two DC motors with tiny mirrors attached on them. The Laser beam is reflected from one mirror to another and then projected on a screen. With precise controll of DC motor spinning with a PIC12F683, various patterns can be displayed on the scree.

Source: http://farm3.static.flickr.com/2274/4515039836_a548fbba2c.jpg

Since PIC12F683 has got just one hardware PWM, software PWM based on Timer0 is implemented here to control the speeds of DC motors.


The following are the electronic parts and the software development tools that were used to make this laser projector project:
  • Resistor: 330 (3), 1K (5) and 10K (1)
  • Trimport: 10K (2)
  • Capacitor: 100nF (2) and 10nF (1)
  • One 100uH Inductor
  • Two 1N4148 Diodes
  • Two Blue and one Red Light Emitting Diode (LED)
  • Two 2N2222A transistors
  • One Mini Push Button Switch
  • One Microchip PIC12F683 Microcontroller
  • Microchip MPLAB v8.46 IDE (Integrated Development Environment)
  • Microchip Macro Assembler MPASMWIN.exe v5.35, mplink.exe v4.35
  • HI-TECH C Compiler for PIC10/12/16 MCUs (Lite Mode) V9.70
  • Microchip PICKit3 Programmer (Firmware Suite Version: 01.25.20)


0 comments:

Post a Comment