I am trying to connect general speaker as an output to an Arduino Nano and play some tone.
My vision is:
- will connect:
- Arduino D8 (digital) output pin to left and right channel
- GND to GND
- in code, I will call
tone(pin, frequency, duration)
function to play tone -tone(8, 262, duration)
(262
- C4 from example)
But in mentioned example, they use directly wired buzzer. My question is, if this will work as is on image, and if is it save (I will not damage both speaker and Arduino). I don't know, what voltage range is expected by speaker (on 3.5mm jack).
general speaker
? \$\endgroup\$general speaker
- something like this \$\endgroup\$