Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    How do I add a physical buzzer to Duet board?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    9
    20
    1.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TomFundefined
      TomF
      last edited by

      I want to add a buzzer (a simple piezo) to make a noise for alarms and such when there is an event.

      The M300 command sends messages to my phone/ computer but unless I've got the app open at the time I don't hear it. An actual buzzer would work better for me and I'm sure there is a way to attach it to an 3.3V output but I can't see any information on how.

      Any suggestions on how to "export" an alarm to a specified io port? I'd like to be able to send a similar alarm for various events, such as filament error, crash detection, print completed.

      I have a Duet 3 Mini 5+, firmware 3.4

      zaptaundefined oliofundefined 2 Replies Last reply Reply Quote 1
      • zaptaundefined
        zapta @TomF
        last edited by

        @tomf, do you have an unused fan output? You can connect to it a DC buzzer of the correct voltage.

        Or, if you have a free stepper driver, you can connect a small stepper with some printed rotating noise maker.

        OwenDundefined 1 Reply Last reply Reply Quote 0
        • OwenDundefined
          OwenD @zapta
          last edited by

          @zapta said in How do I add a physical buzzer to Duet board?:

          Or, if you have a free stepper driver, you can connect a small stepper with some printed rotating noise maker.

          My mind went straight to..."where do I get an STL for an air raid siren?" 🤣

          zaptaundefined 2 Replies Last reply Reply Quote 2
          • zaptaundefined
            zapta @OwenD
            last edited by

            @owend, you can try a Klaxon. It uses a wavy disk and a diaphragm. E.g. https://www.thingiverse.com/thing:4795143

            (I had some exposure to conventional British submarine technology and they used a Klaxon to signal the diving stations together with the Dive Dive Dive call. It worked on 220VDC because they had 200 Tons of lead-acid batteries under the floor. I always loved the uniqueness of that sound.).

            1 Reply Last reply Reply Quote 0
            • oliofundefined
              oliof @TomF
              last edited by

              @tomf you should be able to attach a buzzer at the 12864 header pins for that, enable the 12864 display and then it should buzz for good.

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              1 Reply Last reply Reply Quote 0
              • zaptaundefined
                zapta @OwenD
                last edited by

                @owend said in How do I add a physical buzzer to Duet board?:

                My mind went straight to..."where do I get an STL for an air raid siren?"

                Here is one, it's loud. 😉

                a78f5524-06ea-4174-aefa-d834082a125a-image.png

                STLs

                noise_maker_wheel - press_fiit_wheel.stl

                noise_maker_base.stl

                noise_maker_wheel - wheel_for_deflanged_pulley.stl

                Onshape source design:

                https://cad.onshape.com/documents/dcd2825ffa2baeb2cd18c35f/w/2651eac77ecf6eb286c090dc/e/8220d6ee52c25f6b71d3f575?renderMode=0&uiState=6313bdcebe9916498f312aaf

                https://cad.onshape.com/documents/de585374452b155ba0d29f64/w/ca47280d5d6c3248de0b9a5b/e/4817e0dcb39c8a642e0091c3?renderMode=0&uiState=6313bdeec5bcfa44f61b3f7c

                Norderundefined 1 Reply Last reply Reply Quote 3
                • Norderundefined
                  Norder @zapta
                  last edited by

                  @zapta
                  That's awesome.
                  I like it !

                  Accordingly, one could also take a fan and convert it into a flute.
                  With different speeds and possibly two fans you could play a melody.
                  🎶 A digital dijurido for the printer 🎵

                  DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                  Thingiverse

                  zaptaundefined 1 Reply Last reply Reply Quote 0
                  • zaptaundefined
                    zapta @Norder
                    last edited by

                    With the right gcode you may also be able to play tunes on AM radios. 😉

                    https://www.youtube.com/watch?v=zf17TJamcso

                    Norderundefined 1 Reply Last reply Reply Quote 0
                    • Norderundefined
                      Norder @zapta
                      last edited by Norder

                      @zapta
                      There is an MP3 player that runs on 3,3 volt - 5 volts and can be triggered by a microswitch (or Duet Board).
                      Up to 999 MP3 files can be played, so the next MP3 file in the list is played each time the microswitch is pressed.
                      Of course, an MP3 file is also possible, which is then always played.

                      The part would be the ideal supplement for a Duet Board, which announces an event such as a filament change or similar.

                      Here's a video.
                      In the video description you will find the link to their website.

                      DFPlayer (AZ-Delivery)
                      DFPlayer Info (Wiki - DFRobot / English)

                      P.S.:
                      I don't have a 100% idea of that, but isn't it possible to use this module to announce various events from the Duet Board (WITHOUT Arduino) ?
                      Check out the DFPlayer info page.
                      Please give your assessment!

                      Thanks

                      P.S.S.:
                      To explain a little more...
                      Playing an MP3 track is no problem, but you can also play specific MP3 tracks from the SD card via Arduino.
                      Is this possible with the Duet Wifi eg with a GCode command?

                      Google Translate
                      --- Original Text ---

                      Es gibt einen MP3 Player der mit 3,3Volt - 5Volt betrieben wird und per Microschalter (oder Duet Board) ausgelöst werden kann.
                      Es können bis zu 999 MP3-Files abgespielt werden, also nach jedem betätigen des Microschalters wird das nächste MP3-File in der Liste abgespielt.
                      Es geht natürlich auch ein MP3-File, welches dann immer abgespielt wird.

                      Das Teil wäre die ideale Ergänzung für ein Duet Board, welches einem ein Ereignis wie zB ein Filamentwechsel o.ä. ansagt.

                      Hier ein Video.
                      In der Videobeschreibung findet ihr den Link zu deren Webseite.

                      DFPlayer (AZ-Delivery)
                      DFPlayer Info (Wiki - DFRobot / English)

                      P.S.:
                      Ich habe da nicht 100% Ahnung von, aber ist es mit diesem Modul nicht möglich verschiedenste Ereignisse vom Duet Board (OHNE Arduino) ansagen zu lassen ?
                      Guckt euch dazu die DFPlayer Info Seite an.
                      Bitte um Eure Einschätzung !

                      Danke

                      P.S.S.:
                      Um es etwas genauer zu erklären...
                      einen MP3 Titel abzuspielen ist kein Problem, aber man kann per Arduino auch bestimmte MP3 Titel von der SD Karte abspielen.
                      Ist dieses mit dem Duet Wifi möglich zB mit einem GCode Befehl ?

                      DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                      Thingiverse

                      1 Reply Last reply Reply Quote 0
                      • jumpedwithbothfeetundefined
                        jumpedwithbothfeet
                        last edited by

                        https://forum.duet3d.com/topic/15722/turn-your-printer-into-a-juke-box had some fun with this 🙂

                        6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

                        Norderundefined 1 Reply Last reply Reply Quote 1
                        • Norderundefined
                          Norder @jumpedwithbothfeet
                          last edited by Norder

                          @jumpedwithbothfeet
                          Not bad.
                          But an MP3 sound file which says "Please change filament", "Important message in the console" or "The filament spool is empty" etc pp is more elegant.
                          At least an MP3 file is easy to play, but the GFPlayer can play a specific MP3 file from the list, just HOW to control it with the Duet-Wifi without Arduino ?
                          Is that even possible ?
                          There are probably other uses that I can't think of at the moment.

                          The Duet (Smart Duet) of the future...
                          Duet, what time is this print ready?
                          Duet, is there enough filament for this print?
                          Duet, which layer is currently being printed?
                          Duet, turn off the bed heater!
                          Duet, Babysteps 0.05mm down!

                          🙂

                          DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                          Thingiverse

                          jumpedwithbothfeetundefined MintyTreborundefined 2 Replies Last reply Reply Quote 1
                          • jumpedwithbothfeetundefined
                            jumpedwithbothfeet @Norder
                            last edited by

                            @norder sounds like you need siri or alexa built in for that not an avenue I would want to go down....sure you can print this but just watch this advert first!

                            the SBC on a duet 3 would be the ideal I would of thought store the mp3 file on the duetpi SD card then reference it in a macro or setting for the Pi to playback plus the Pi has a speaker jack for better sound, not sure if that`s possible but it seems logical 🙂

                            6HC Voron Trident based, 6XD CNC, Mini 5 polar printer

                            dc42undefined 1 Reply Last reply Reply Quote 0
                            • Norderundefined Norder referenced this topic
                            • dc42undefined
                              dc42 administrators @jumpedwithbothfeet
                              last edited by dc42

                              @TomF @Norder you could use a RPi Pico with a few additional components to emulate a small part of PanelDueFirmware, connect to the PanelDue port and play MP3 files when certain events occur. You could start from https://learn.adafruit.com/mp3-playback-rp2040.

                              Duet WiFi hardware designer and firmware engineer
                              Please do not ask me for Duet support via PM or email, use the forum
                              http://www.escher3d.com, https://miscsolutions.wordpress.com

                              1 Reply Last reply Reply Quote 1
                              • TomFundefined
                                TomF
                                last edited by

                                @OwenD @zapta @oliof @Norder @dc42

                                Wow, I'm amazed by the inventive range of ideas proposed by respondents to this post! Air raid sirens. Klaxons. MP3 tunes. Now, a buzzer sounds so yesterday. Thanks to all who responded.

                                I opted for the motor idea from @zapta with a few mods to the stl's so I can hang it at a jaunty angle on the back on my printer and have a flat on the shaft. I'm running some tests at the moment. Currently it sounds like a machine gun so I will make some adjustments to avoid anyone calling the police!

                                20220912_103857.jpg

                                Norderundefined 1 Reply Last reply Reply Quote 0
                                • Norderundefined
                                  Norder @TomF
                                  last edited by

                                  @tomf
                                  Excellent !
                                  I would like to see a video of that.

                                  This version attracts cats rather than the police. 😄
                                  barrel.jpg

                                  DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                                  Thingiverse

                                  TomFundefined 1 Reply Last reply Reply Quote 1
                                  • TomFundefined
                                    TomF @Norder
                                    last edited by

                                    @norder
                                    Here you go: https://1drv.ms/v/s!AuxTgg3LI_8tiahB6JDrQMikGXz2jg?e=4Hjyba

                                    zaptaundefined 1 Reply Last reply Reply Quote 1
                                    • zaptaundefined
                                      zapta @TomF
                                      last edited by

                                      @tomf, awesome!

                                      1 Reply Last reply Reply Quote 0
                                      • hayseed_byteundefined
                                        hayseed_byte
                                        last edited by

                                        I just want to say I love everything about this thread.

                                        https://wildbot.me/wildbot
                                        Gcode Definitions for VSCode extension: https://github.com/hayseedbyte/rrf-gcode-definitions

                                        1 Reply Last reply Reply Quote 0
                                        • MintyTreborundefined
                                          MintyTrebor @Norder
                                          last edited by

                                          @norder it is possible to create some interesting notifcation options with node-red and nodeDSF.

                                          https://youtu.be/1MJyWXhrCpE

                                          This potato quality video (sorry it's an old video now) shows notifcations on smart speaker, LG TV, and sending emails. But there are many more options available to you with node-red. nodeDSF will work with SBC or stand-alone board configurations over the network.

                                          NodeDSF - Native Node-Red integration with Duet boards.
                                          BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
                                          ReleaseMgr - Duet update info inside DWC.
                                          Repo

                                          Norderundefined 1 Reply Last reply Reply Quote 1
                                          • Norderundefined
                                            Norder @MintyTrebor
                                            last edited by Norder

                                            @mintytrebor
                                            That is very interesting.
                                            I'll take a look and see if it's something for me.
                                            LG 4K Smart TV is available and serves as my computer monitor and is always on during construction and printing.

                                            Thanks for the link, @MintyTrebor
                                            Two of your PlugIn's are already running on my DWC, maybe there will be three soon ? 😉

                                            Thank you for your time and work on the PlugIn's. 👍

                                            DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                                            Thingiverse

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA