Close

It works, but not a lot of it!

A project log for Case study: A polyphonic PIC18F music box

Does this work? An online article discusses about building this music box.

nyh-workshopNYH-workshop 11/27/2017 at 14:340 Comments

Yes! It actually worked... but this whole thing needs improvement.

Here are the results, using the first schematic on the first log, and toggling the TRIS instead of the PORT bit:

The switch is at 0.

The switch at High-Z.

What you did not see was the amplitude of the square wave decreases slowly, but it is moving upwards instead of downwards. I suspect the sound has diminished, but not a lot. There was some modifications earlier which I needed to manually recover...

Discussions