A simple program that uses the pulse width multiplier on timer2 of the PIC18F4520. (With assistance of a DAC)
Using interrupts and assigning various points of a sin wave to an array. it was relatively easy. Then using the joystick you could select between: my attempt of the Victory theme from Final Fantasy VI (felt it was appropriate) my attempt at the Bicycle Ride music from Pokemon Yellow, Red, and Blue (nostalgia FTW) lastly you could simply play an octave
The speaker is pretty crappy so it doesn't sound too good, I should have given the Peizo speaker a shot. It was pretty hard to hand solder the new resistor into the DAC since it is so small and I did such a good job of using as little solder paste as possible so I had to heat up the whole pad before removing the old one.
very nice job. also don't mind the dumbfucks beneath. still as is the case with any amateur electronics project, it would be nicer if you share the code and such.
perplexedmoth 2 months ago
Oh Shit i wasted 28 Seconds of my life
hameeds01 1 year ago
where is sinewave? I see only your hand and some crapy circuit... what does it show?
you should learn , how to upload an effective youtube video..
agrana75 2 years ago
can i get the codes for this programm. if you dont mind as i am doing the same project=)
sha81 2 years ago