Step 3: 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.

Could you please get a hold of me? I am very interested in pricing for your latest controller board or if you maybe have a price list for all components. I hope you are still involved in this project.
<p>Hello,</p><p>I am a little confused by the concept. How are the patterns generated by the fans? Is it because the are not perfectly sqaure all of the time?</p>
<p>hiii this is nice laser pattern.</p><p>can u plzz send me cost that can cause to make one laser machine like one u havehavemae</p>
How would one integrate a spirograph into a party SAFELY? Would you aim it at the air, a wall, the ground? Lawyers are expensive.
<p>Mount it above eye-level and project it above eye-level.</p>
<p>Can you send me a pm about the price? Thanks!</p>
<p>Very nice build.</p><p>My commendations on your build quality and your great documentation.</p><p>*double thumbs up*</p>
<p>Yea, kit price? Great design, how do you power it, and how would i build it without the auto?</p>
<p>How much for the kit? I am interested in it. :)</p>
Good stuff. Great PCB design! <br> <br>Just curious...have you played around at all with a sound-reactive version of this? Like maybe a VU controlled PWM or something along that line of thought? <br>
Hi am very much interested on this KIT, can you send me the price list of the same. and do you send a predefined KIT / in spare....
Do you sell a kit?
I sent you PM.
hey i too want to build this but i too need to know the full price of parts can u PM mee please?
Hi can you PM me the price for parts, Printed board, and fully assembled unit. <br> <br>Cheers <br> <br>owen
I've sent you PM.
Hi can you also please pm me the price? thanks a lot!
303 comments! Sweet! =) Anyhow, have to ruin that beautiful number with my comment. <br> <br> <br>If you ppl. build DIY laser show equipments consider to add glass art in front of beam. <br> <br>It should be already weakened by other means though, because directions of the reflections would be more uncontrolled, and it has potential danger to cause eye damage. <br> <br>It would look good, that's for sure. <br> <br> <br>Another nice one is to get holographic lenses and put those in front of the device. I found those from EBAY.. were meant to be for lasers, and had good looking effects. <br> <br>They cause beams to spread out effectively. Seller guy demonstrated that in some of his videos and showed demo where was more than one lens in use at the same time. Impressive stuff! <br>
Nice Job. <br>Could you also send me the BOM for the parts? How much will it be if I buy them from you? <br>Thanks
PM has been sent.
I know that it has been a long time since you posted this, but could you also send me a list of prices for the parts and the preprogrammed PIC or an unassembled kit?
I sent you PM.
That is great !
Self cooling too! <br>Bonus!
great picturer, have you got other colour graphic, such as blue or red?
Does anyone have made one of these on an Atmel microcontroller?
i seriously want do one as same as yours ,but my patterns are very simple and ugly, i don't know how to solve my problems,would you like give me the nuclear advice,thank you very very much.
In this project I've implemented some rules that should provide random pattern generation and smooth transition.<br> <br> 1. All three fan should never run at the same speed or change speed at the same rate. Usually one or two fans are set for low/moderate speed and one is set for high speed. Human eyes cannot distinguish fast changing patterns so best results can be achieved only with regular low speed fans. On a lowest setting controller can maintain fan speed as low as 60 RPM.<br> <br> 2. If one fan or two are accelerating third one should decelerate.<br> <br> 3. Gradual speed increasing/decreasing. It may take 10 -15 sec for fan to accelerate from 0 to 100% speed.<br> <br> 4. One or two fans may stop spinning and take short brake for 5 -10 seconds.
thank you !
Hello, you would pass me the schematic image of what you did when you made this PCI: https://www.instructables.com/image/F3ENCQ6FCZERBZZ/Brain.jpg<br>If you are willing to pass me, this is my email: rafahans@ibest.com.br
PCB in PDF format is in archive <a href="https://www.instructables.com/files/orig/FTF/L8NA/GKS0RRFJ/FTFL8NAGKS0RRFJ.zip">pmls(MAR10).zip </a><br> Just download, unzip and print in 1:1 scale.<br> <br>
Mine was a speaker, wrapped with a balloon with a front surface mirror siliconed on... amazing.
it isnt really for a poor man and i cant even make it
Can you please send me separate pricing for:<br /> <br /> 1)&nbsp;a programmed PIC<br /> 2)&nbsp;circuit board only<br /> 3)&nbsp;full, un-assembled kit<br /> <br /> Thank you.<br />
PM has been sent.<br />
Hi could you also send me separate pricing for:<br><br>1) programmed PIC<br>2) PCB Board<br>3) full un-assembled kit<br><br>Thank you.
PM has been sent.
hi,&nbsp; could i have a price for the pre-programmed pic please<br /> <br /> many thanks<br />
PM has been sent.
How easy are these enclosures to drill? <br><br>
Hammond box is made from PVC plastic. It's a soft material and it's very easy to work with.
i want to make a laser show that analizes 3 frequency and depending on the frequency there will be a different colour of laser.. for example if the frequency of the sound right now is from 0Hz to 300Hz than the laser which is producing the light will be red. If it is from 300Hz to 5KHz the laser which is producing the light will be green and if the frequency is higher than the light will be blue. I will use matlab to generate different frequencies and dump them into the microcontroller. Any ideas on how to do this?
analogue vu meter basically...<br><br>microphone --&gt;LM386--&gt; 3x Hi-Q BPFs <br><br>Each output would swing between 0-5 V depending on the signal strength in each frequency &quot;bin&quot; made by the BPFs. <br><br>Could run each signal into a threshold detector/comparator circuit to turn the lasers on/off.
You will need an RGB laser set, with each one analog controllable. The 3 lasers are combined onto one beam with dichroic mirrors. You could have a computer looking at the music frequency output, and using a look-up table to drive the lasers.
The reply is very simple, &quot;color organs&quot; are used at discos and clubs. You just need one shrunk down to power your lasers without burning them out. If you want to be really smart, direct the three lasers through a prism so that they combine to form white light and then throw that on the mirrors, as your music changes the density of each primary color, the output of your display will change accordingly. (If been thinking of this for a raster-scan laster projector.)
You can do it even without microcontroller. <br>Check schematics of color organs.<br>Usually it includes three band-pass audio filters.<br>Output signal of each filter can be conditioned and used to drive TTL input of corresponding laser.
but how will i input a song if i don't have a microcontroller?
There are different approaches to accomplish the same task. <br>You can build analog version including audio preamp and band-pass filters or microcontroller-based digital version.<br><br>PIC with ADC input can be used to perform signal filtering.<br>Here's few examples <br><br>http://mondo-technology.com/organ.html<br>http://www.horrorseek.com/home/halloween/wolfstone/ColorOrgans/clomak_MakingColorOrgan.html<br>
could i replace the whole pic circuit with three of this circuit? https://www.instructables.com/image/FGH9VJOFHTAIQK6/Part-List.jpg
neat.. don't have any PICs lying around, but think i may whip up a manual PWM w/ this circuit for shiiiiizles<br>

About This Instructable




More by AP Digital light:DIY digital piano stand Wooden LED clock How to mount and balance mirrors for spirograph project 
Add instructable to: