1
\$\begingroup\$

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)

Vision schema

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).

\$\endgroup\$
8
  • \$\begingroup\$ I need to make loud tone, not only silent beep. Thats why I need to connect bigger external speaker \$\endgroup\$
    – Ondra
    Commented Feb 27, 2023 at 19:51
  • \$\begingroup\$ what's a general speaker? \$\endgroup\$
    – jsotola
    Commented Feb 27, 2023 at 19:52
  • \$\begingroup\$ See arduino.stackexchange.com/q/26101/4271 \$\endgroup\$
    – JYelton
    Commented Feb 27, 2023 at 19:54
  • \$\begingroup\$ @jsotola general speaker - something like this \$\endgroup\$
    – Ondra
    Commented Feb 27, 2023 at 19:57
  • \$\begingroup\$ @JYelton ohh, I tryed to google, but I haven't found this - thank you. But there are 2 answers that contradict each other - one says large is better, one small is better. But the capacitator that is mentioned in first comment is probab needed (I found it in another forum in different case), but I dont understand where any how :( \$\endgroup\$
    – Ondra
    Commented Feb 27, 2023 at 20:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.