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

Serial connection to HC-06 bluetooth module on Duet 2 board

Scheduled Pinned Locked Moved
Accessories and Add-ons
2
7
438
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.
  • undefined
    nikki-m
    last edited by nikki-m 3 Nov 2022, 18:45 11 Mar 2022, 14:05

    At the moment I use an Android app which provides full XYZ control (including the use of a touchpad to move in the XY plane) of a CNC machine (in fact it provides nearly everything offered by the web interface and/or the PanelDue). The app outputs a bluetooth signal which is picked up by an HC-06 bluetooth module which connects into my cnc control board, a Woodpecker 3.4.

    The wired connection from the HC-06 onto the control board consists 0f +ve, -ve, Tx and Rx. Exactly as supplied via the PanelDue connection on the Duet 2 board.

    The app provides standard G commands to drive the steppers.

    Would this HC-06 bluetooth module work with the Duet 2 board?

    undefined 1 Reply Last reply 11 Mar 2022, 21:35 Reply Quote 0
    • undefined
      T3P3Tony administrators @nikki-m
      last edited by 11 Mar 2022, 21:35

      @nikki-m possibly. does the HC-06 expect any setup commands over the serial before streaming the gcodes or is it all done over blutooth (or works with no setup?)

      www.duet3d.com

      undefined 1 Reply Last reply 11 Mar 2022, 23:22 Reply Quote 0
      • undefined
        nikki-m @T3P3Tony
        last edited by 11 Mar 2022, 23:22

        @t3p3tony Unfortunately, I don't know. When the bluetooth module connects, there is 2-way communications, initiated by the bluetooth module. See attached pic. Gcodes for movement are issued without needing any response.

        Screenshot_20220311-231130_G-Code2GRBL.jpg

        undefined 1 Reply Last reply 12 Mar 2022, 00:56 Reply Quote 0
        • undefined
          T3P3Tony administrators @nikki-m
          last edited by 12 Mar 2022, 00:56

          @nikki-m which app is that on Android?

          www.duet3d.com

          undefined 1 Reply Last reply 12 Mar 2022, 11:38 Reply Quote 0
          • undefined
            nikki-m @T3P3Tony
            last edited by 12 Mar 2022, 11:38

            @t3p3tony , "G-code2Grbl".

            I have been using it, via bluetooth, for some time on my smaller cnc machine, and found it to be excellent.

            If this were to work on the Duet, it would mean a wireless device which moves the spindle, runs jobs, and runs macros.

            undefined 1 Reply Last reply 12 Mar 2022, 13:29 Reply Quote 0
            • undefined
              T3P3Tony administrators @nikki-m
              last edited by T3P3Tony 3 Dec 2022, 13:30 12 Mar 2022, 13:29

              @nikki-m interesting. is the Bluetooth instead of Wifi they key benefit for you or is it the UI of the Grbl app vs DWC on a phone for CNC?

              Edited to say I will get an HC-06 to try out

              www.duet3d.com

              undefined 1 Reply Last reply 12 Mar 2022, 13:44 Reply Quote 0
              • undefined
                nikki-m @T3P3Tony
                last edited by 12 Mar 2022, 13:44

                @t3p3tony, I am still at the waiting stage for the arrival of my killerbee, otherwise I would test this out myself.

                My main interest lies in the bluetooth connection, because if this works it will be a much cheaper alternative to the PanelDue or a pendant, at a cost of around £5 (plus a couple of connectors).

                The app itself is free, and offers way more control and features, and can be used on an Android smartphone or tablet. It can control the cnc both with up/down/left/right buttons, and also with a really useful touchpad control. My limit of understanding is that the app is 'grbl1.1-compliant'. I'm not sure whether the Duet meets this requiement.

                As I said earlier, I have successfully used it on my CNC3018 for a while and find it really easy to use.

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