Step 3: Spirograph controller V2.

Picture of Spirograph controller V2.


New controller board is completely redesigned with use of SMT components.
5V switching voltage regulator eliminates needs for heatsink.  As result controller has became 1.5 times smaller and that provides possibility of making truly pocket version of spirograph.
Embedded voltage regulator for low power laser module provides power within 2 - 4V.
Controller supports 5V and 12V fans. Fan voltage can be set by wire jumpers on board.

Along with auto and manual modes of operation modified controller has ability to store your favorite patterns in internal memory with just press of a button and replay them as a slide show.

New controller can store up to 80 user defined patterns and replay them as endless sequence. Time of showing  single pattern can vary from 3 to 60 seconds. Also there's manual mode when next pattern in sequence is triggered by a user.

Descriptions of new controls.

PROG/CYCLE - selects PROGRAM (manual)  or CYCLE (auto) mode of operation. 
RAND/MEM - selects subroutine to generate random pattern or reading stored patterns from internal memory.
CONT/STEP - selects CONTINUOUS or STEP mode of showing sequence of patterns.
This switch is active only in MEM mode.

Button STEP/MEM: 
 - in PROG or CYCLE/RAND modes button writes current pattern in internal memory. Stored patterns can be displayed as slide show in CYCLE/CONT mode.
 - in CYCLE/MEM/STEP mode button cycles trough sequence of stored patterns.
If button is being held pressed during powering up all internal memory will be cleared.

 - in PROG mode defines speed of motor 1.
 - in CYCLE/MEM/CONT mode defines time interval ( from 3 to 60 Sec) of showing single pattern from sequence.
 - in PROG mode defines speed of motor 2.
 - in PROG mode defines speed of motor 3.

Description of operation.

There are two working modes : PROGRAM (manual)  and CYCLE (auto).
In PROGRAM mode, pattern being displayed depends on positions of potentiometers.
Current pattern can be saved in internal memory by pressing button MEM. After 80 patterns have been stored, each new pattern will substitute the oldest pattern.
To clear memory press and hold MEM button during powering up.

In CYCLE mode, unit displays endless sequence of pattern.
In CYCLE/RAND mode, patterns are randomly generated by software. Initial positions of pots determine shape of the first pattern in sequence. Current pattern can by saved in internal memory by pressing button MEM.
In CYCLE/MEM/CONT mode, unit continuously reads patterns to display from internal memory. Time interval for displaying single pattern depends on position of POT A and can vary from 3 to 60 sec.
In CYCLE/MEM/STEP mode, reading of next pattern from memory is triggered by button STEP.

All technical notes such as
- schematic;
- PCB in PDF format;
- BOM;
- HEX file for PIC18F1320;
- C source code for CCS compiler.

can be downloaded from here

Upon request I can provide assembled SMT controller, mirrors and other stuff for this project.