<p>I just looked in the Marlin FW <code>pins_RAMPS.h</code> where the pin assignments are located:</p>
<pre><code>      #define BEEPER_PIN        37
</code></pre>
<p>Please check for yourself. I assume you run Marlin, but my version is old and may not be correct.</p>
<p>As you mentioned there is no LCD on your printer so most likely this pin is free, just need to find it.</p>
<p>Also, just a warning, use a proper buzzer or beeper module with the onboard transistor. Do not connect a buzzer directly to the signal pin as the current draw can kill your controller.</p>

CC BY-SA 4.0
2022-12-23T22:27:47.407Z
2022-12-24T10:28:08.740Z
2022-12-24T10:28:08.740Z
Gerge
<p>Possible is this an idea found at the octoprint web site?</p>
<p><a href="https://plugins.octoprint.org/plugins/pwmbuzzer/" rel="nofollow noreferrer">https://plugins.octoprint.org/plugins/pwmbuzzer/</a></p>

CC BY-SA 4.0
2022-12-23T14:06:39.037Z
Welcome to 3D Printing! Whilst this may theoretically answer the question, [it would be preferable](//meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.
agarza
CC BY-SA 4.0
2022-12-23T15:42:23.297Z
Thanks for your answer but we are looking for comprehensive answers that provide some explanation and context. Very short answers cannot do this, so please [edit] your answer to explain why it is right. Additionally, we prefer answers to be self contained where possible. [*link only*](https://meta.stackexchange.com/questions/8231/) answers are frowned upon (as links [tend to rot](https://en.wikipedia.org/wiki/Link_rot)) & will be rendered useless if the linked-to content disappears. If you add more context and detail from the link, it is more likely that people will find your answer useful.
0scar
CC BY-SA 4.0
2022-12-23T17:05:06.953Z
Hi and welcome to SE.3DP. Unfortunately, our answer is a bit too brief. As already stated, please [edit] and expand your answer, otherwise it will probably be deleted, or converted into a comment. Many thanks.
Greenonline
CC BY-SA 4.0
2022-12-23T14:00:18.030Z
2022-12-23T14:00:18.030Z
OCLab
<p>My Prusa i3 does not appear to have any sound device incorporated.  I've read &quot;<a href="https://3dprinting.stackexchange.com/questions/11056/writing-g-code-audible-alert-at-end-of-print">Writing G-Code: Audible Alert at end of print</a>&quot; and it seems everything needed to implement audible alerts is built into the G-code syntax and firmware but my rig appears to be lacking the necessary noise maker.</p>

CC BY-SA 4.0
2022-09-12T15:38:32.453Z
At least on my Ender 3 V2, the speaker is on the LCD control board and not on the mainboard itself.
agarza
CC BY-SA 4.0
2022-09-12T19:42:41.443Z
There is no LCD unit on my printer, nor an SD card reader. It's directly connected to a PC.
allardjd
<prusa-i3><g-code><ramps-1.4><arduino-mega-2650>
How can a speaker or active buzzer be connected to the Arduino 2560/RAMPS 1.4 boards to provide alerts in response to M300 commands in the g-code
allardjd
# How can a speaker or active buzzer be connected to the Arduino 2560/RAMPS 1.4 boards to provide alerts in response to M300 commands in the g-code

(Asked by: username_0 on 2022-09-12)

My Prusa i3 does not appear to have any sound device incorporated. I've read "[Writing G-Code: Audible Alert at end of print](https://3dprinting.stackexchange.com/questions/11056/writing-g-code-audible-alert-at-end-of-print)" and it seems everything needed to implement audible alerts is built into the G-code syntax and firmware but my rig appears to be lacking the necessary noise maker.

**Tags:** prusa-i3, g-code, ramps-1.4, arduino-mega-2650
> **Comments:**
> **username_1**: At least on my Ender 3 V2, the speaker is on the LCD control board and not on the mainboard itself.  
> **username_0**: There is no LCD unit on my printer, nor an SD card reader. It's directly connected to a PC.  

---

## 2 answers

### Answer by username_2 on 2022-12-23. Score: 3

I just looked in the Marlin FW pins_RAMPS.h where the pin assignments are located:
      #define BEEPER_PIN        37

Please check for yourself. I assume you run Marlin, but my version is old and may not be correct.
As you mentioned there is no LCD on your printer so most likely this pin is free, just need to find it.
Also, just a warning, use a proper buzzer or beeper module with the onboard transistor. Do not connect a buzzer directly to the signal pin as the current draw can kill your controller.


---

### Answer by username_3 on 2022-12-23. Score: 0

Possible is this an idea found at the octoprint web site?

<https://plugins.octoprint.org/plugins/pwmbuzzer/>

> **Comments:**
> **username_1**: Welcome to 3D Printing! Whilst this may theoretically answer the question, [it would be preferable](//meta.stackexchange.com/q/8259) to include the essential parts of the answer here, and provide the link for reference.  
> **username_4**: Thanks for your answer but we are looking for comprehensive answers that provide some explanation and context. Very short answers cannot do this, so please [edit] your answer to explain why it is right. Additionally, we prefer answers to be self contained where possible. [*link only*](https://meta.stackexchange.com/questions/8231/) answers are frowned upon (as links [tend to rot](https://en.wikipedia.org/wiki/Link_rot)) & will be rendered useless if the linked-to content disappears. If you add more context and detail from the link, it is more likely that people will find your answer useful.  
> **username_5**: Hi and welcome to SE.3DP. Unfortunately, our answer is a bit too brief. As already stated, please [edit] and expand your answer, otherwise it will probably be deleted, or converted into a comment. Many thanks.  

---

