Simple Sequencer : 16 Steps (with Pictures) - woodfordgaird1974
Introduction: Simple Sequencer
One of the keys to qualification good music is mindless repeat. That is what the simple sequencer is great at. It does the same affair over and over again in an eight take down sequence. You can adjust the frequency of the note, the length of the note and the break between notes. If you get really great, you bum anticipate the side by side note and change things up on the wing. This little box is sure to cater dateless hours of fun.
Pace 1: Go Get Stuff
(Note that some of the golf links on this page are affiliate links. This does not switch the cost of the item for you. I reinvest whatever proceeds I pick up into qualification new projects. If you would like any suggestions for alternative suppliers, please have me know.)
Step 2: Cut the Top Panel
Stick your woodgrain contact paper onto a sheet of acrylic. Lay aside it contact paper inoperative inside the optical maser cutter.
Trim down the acrylic with the following file and raster cut out information technology with the following settings:
Passes: 5
Power: 100
Speed: 100
DPI: 600
After you are done raster cutting, transmitter cut using the shadowing settings:
Might: 100
Speeding: 10
Frequency: 5000
Step 3: Cut Some Spacers
Cut out some mat board spacers on the optical maser cutter victimisation the file down the stairs.
The background I used for the vector pierced were:
Pep pill: 100
Power: 40
Frequency: 2500
Step 4: Wire the Pots
Attach wires to the left leg and the center leg of the 1M, 50K and 10K potentiometers.
Mistreat 5: Assemble the Top Board
Right away is time to get together the summit board.
For each potentiometer, swoop on a mat spacer then install it direct the back such that the pass on the pot is allied with the indent in the back of the acrylic.
In what you figured will glucinium the height wrangle, insert the 1M potentiometers.
In the middle row enter the 50K pots.
In the bottom row insert the 10K.
Dance step 6: Frame the Circuit
Following the schematic posted below and build the electric circuit.
This will require using a fair amount of board. I used two from Radioshack. On one I put the PIC chip and the 7805 regulator (and a relay I ran away of space for). Connected the second board I commit the relay race and the shifting show.
I built atomic number 3 much of the circuit as I could and then I added the potentiometers and lastly wired it to the audio circuit.
I didn't conducting wire ascending things that would ask to comprise installed in the side of the case same the power plug and the volume node. For testing I temporarily included a 9V stamp battery adaptor.
Step 7: Cut Mount Jury
Exploitation the files below, optical maser cut to a mounting bracket, 1/4" spacers and a cork line drive.
To vector cut the acrylate resin I used these settings:
Speed: 10
Power: 100
Frequency: 5000
To transmitter cut the cork I used:
Spedd: 100
Power: 50
Frequency: 1500
Step 8: Tack Circuit Panel
Tighten your circuit board to the floor panel with nuts and bolts. Don't forget to sandwich in 'tween the 1/4" spacer to give the circuit boards some elevations.
Neatly hot glue the Cork base to bottom.
Footfall 9: Computer program the Chip
Program the 16f877 chip with the following code and and then transfer it into the socket.
CPU = 16F877
MHZ = 20
CONFIG = 16254
SI sting A0
SCK memorize A1
RCK con A2
abit var byte(9)
nDur var word(8)
nP volt-ampere word(8)
counter volt-ampere byte
setValue volt-ampere byte
noteDuration var Word
notePause var tidings
'shift register address bits
abit(0) = %10000000
abit(1) = %01000000
abit(2) = %00100000
abit(3) = %00010000
abit(4) = %00001000
abit(5) = %00000100
abit(6) = %00000010
abit(7) = %00000001
abit(8) = %00000000
'duration array pins
nDur(0) = D0
nDur(1) = D1
nDur(2) = D2
nDur(3) = D3
nDur(4) = D4
nDur(5) = D5
nDur(6) = D6
nDur(7) = D7
'pause array pins
nP(0) = B0
nP(1) = B1
nP(2) = B2
nP(3) = B3
nP(4) = B4
nP(5) = B5
nP(6) = B6
nP(7) = B7
counter = 0
setValue = %00000000
main:
for counter = 0 to 7
HIGH nDur(anticipate)
pause 1
RCTIME nDur(counter),1,noteDuration
setValue = abit(anticipate)
gosub out595
pause noteDuration
Richly atomic number 93(comeback)
pause 1
RCTIME nP(comeback),1,notePause
setValue = abit(8)
gosub out595
intermission notePause * 3
next
counter = 0
goto of import
out595:
shiftout Ti, SCK, LSBPRE,[setValue\8]
pulsout RCK, 8
Go back
Stair 10: Debug
Hook up mogul and clear sure that it full treatmen. If it doesn't work:
- Check all of your connections. Puddle sure no are crossed and no are lacking
- Make certain the PIC chip is in the socket properly
- Turn the main volume knob. The sound could be down.
Step 11: Drill
Drill holes in the aluminum cause to mount your volume dial, audio jack, pull switch and might plug. Too drill verboten some holes so that you can present the speaker.
I wanted to match the holes already connected the speaker, so I rubbed unending ink happening the speaker and while IT was relieve wet, transferred this to white gaffers tape and stuck this to the caseful as a drill guide. I and so drilled.
Stair 12: Line the Case
Cut a sheet of contact paper large enough to fold all over onto all sides of the event with 1/4" to extra. In the corners, cut diagonally outwards so that you can fold them in.
Line the reside of the case with contact paper. Don't yet peel gone the backing for the last 1/2" around the edges as you volition need to keep this sticky to glue on when you gum the case closed.
Cut out holes where you bequeath be installation your jacks, knobs and whatnots.
Step 13: Secure Computer hardware
Securely fasten each of your computer hardware to the aluminum shell.
Impart that your audio jack boxershorts your circuit when it is installed in the casing. Cover the hole for the audio jack with reach paper and Mandrillus leucophaeus a golf hole in the top piece of acrylic to install the sound jack. Install it again.
Put your circuit boards in there. I glued the audio board to the inside of the case. The primary one I just let baby-sit on the bottom arsenic there are so more wires attached to it, information technology is not moving anywhere.
Stride 14: Case Closed
Countercheck to do sure that your circuit whole shebang one last time and so hot glue and/operating room epoxy the case shut.
Peel the remainder of the patronage from the wood liner and smooth it out onto the case.
Plough on all of your knobs and dials.
Step 15: Rubber Feet
Stick several adhesive rubber feet to the bottom so that it doesn't scram scuffed up.
Step 16: Make the Medicine
Turn the knobs every bit your heart desires and make some mighty fine pseudo-repetitive music.
Did you find this usable, fun, or fun?
Follow @madeineuphoria to see my latest projects.
Be the First to Share
Recommendations
Source: https://www.instructables.com/Simple-Sequencer/
Posted by: woodfordgaird1974.blogspot.com

0 Response to "Simple Sequencer : 16 Steps (with Pictures) - woodfordgaird1974"
Post a Comment