Tested operation of the cannibalized enclosure speaker. MCU Pin 4 configured for PWM output. Resistor divider used for one leg of the speaker for 1.65V constant reference. The other leg hooked up to the PWM signal. Worked okay connected to the MCU pin with 100 ohm resistor. Need to decide how to drive speaker via transistor and test before starting PCB layout.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.
Driving speaker with npn transistor wasn't much louder, connected to the 3.3v reference or the 9V battery input.
Going to see how loud the stock circuit drives the board. Maybe try to see what the mystery 4 pin device that drove the speaker in the stock design actually does. Maybe it will get reused too.
Are you sure? yes | no