Skip to content
Mauro edited this page Jun 10, 2013 · 4 revisions

What is needed:

  • 1x ULN2003 (DIP version preferred) control board

  • 1x 28BJY-48 stepper motor

  • 1x laser line module

  • 1x Webcam -- compatible with either pygame.camera or mjpg-streamer

  • Dupont (female terminals) cables. (I scrounge them from an old desktop case (front USB port) or from the serial connector M/B to slot)

  • BASIC soldering skills :)

  • Some inventiveness/ingenuity for assembling all the parts together (rpi, stepper, spin table and laser line) or alternatively a 3D printer to print parts (soon to be tested).

My example of assembly:

  • V1
    v1

  • V2
    v2

  • The individual parts should be generally positioned as depicted below:
    general



I removed the male 4-pin header from uln2003 board and soldered the cable leads as described and depicted below: * in1 to in4 leads on the board are used for stepper control
* in5 lead is used to switch ON-OFF (PWM) the laser line module
* in6-in7 leads are joined to have more output current and attach 5V DIY LED module or USB lamp

I use 5V to power the ULN2003 board on its respective input pins (- & +). You can draw power from the respective RPi pin but an external power is preferred. (I use the 5V RPi pin only when I power the RPi with an old HTC phone charger rated for 1.5A @ 5V. However when using a similarly rated chinese iphone charger knock-off it doesn't live up to its advertised rating and the RPi crash when starting to use either the ULN2003/stepper or the Webcam)

uln2003

rpi

Clone this wiki locally