I have programmed to ATmega 164P to make PBO high when PC1 is low. In programming, I'm adding other peripherals as well.
But I am facing one issue regarding generating a tone. I have drawn low pass filter and using LM386. But I can't produce 50-100 Hz frequency with 12V ac from 5Vdc pin. I use some circuit but didn't help.
So if you could suggest me about how can I build circuit which can convert 5 VDC to 50-100 Hz 12VAC for generating tone. If you have any suggestion or suggested circuit for me, please let me know. By the way I'm learning timer and counter but couldn't able to program efficient way yet.
can't produce [12 Vac from 5 Vdc]
Well, that isn't easy without a transformer: 12 V "effective" sine means about 34 Vpp (peak-to-peak). Please add to the post howcan't produce…
shows, motivate "the 12 V requirement" and tell what options you see for power supply - e.g., a 19 V laptop supply. \$\endgroup\$