Welcome to Our Community

Some features disabled for guests. Register Today.

INTERFACE CNC Touch to other controllers

Discussion in 'Interfaces' started by ChrisPol, Oct 17, 2024.

  1. ChrisPol

    ChrisPol New
    Builder

    Joined:
    Oct 16, 2024
    Messages:
    4
    Likes Received:
    0
    So my controller has Mega328P wired to a CH340G

    Overview
    - Pin 30 (rx) from the atmel goes to 2 (tx) on the serial transciever
    - Pin 31 (tx) from the atmel goes to 3 (rx) on the serial transciever

    I was thinking as long as I do not have the usb plugged in I could hijack the rx/tx from the mcu going into the transciever to connect to the cnc touch.

    CH340G is 5v/3.3 tolerant, can it be this simple or do i need to add a

    Any thoughts / ideas?
     
  2. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,047
    Likes Received:
    4,313
  3. ChrisPol

    ChrisPol New
    Builder

    Joined:
    Oct 16, 2024
    Messages:
    4
    Likes Received:
    0

    Thanks Peter, I actually found a second serial port, on the proverxl v2, the offline pin header, lower 4 pins these go through a transciever.

    Tx Rx Gnd 5v

    I did get the control to detect my machine, but after upgrading to the latest firmware it does not connect, and when booting i get Usb drive : [no drive] and I did prepare the usb drive and insert it into the controller with the proper wifi settings which do not get activated , I assume because of the drive issue
     
  4. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,047
    Likes Received:
    4,313
    CONTROL latest version will connect to grbl 1.1f or 1.1h GitHub - gnea/grbl: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino
    CONTROL not for connecting to Interface though (PC or Interface, one at a time, can't have two hosts in charge at the same time)

    USB: Must be good old FAT32 format.
    PS: some newer Win10/11 PCs not great for formatting anymore (Windows Finally Expands FAT32 Formatting From 32GB to 2TB - Windows changed the tool after decade - breaks some older stuff)
     
  5. ChrisPol

    ChrisPol New
    Builder

    Joined:
    Oct 16, 2024
    Messages:
    4
    Likes Received:
    0
    WoHoo, it all works, I jusy find the buttons a tad sensitive.

    Now just need to figure out how to support manual tool changes and refine touchplate height.
     
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,454
    Likes Received:
    1,915
    the usual way for GRBL based controllers is to split the job into seperate files by tool.
    setup tool 1, run tool 1 file
    setup tool 2, run tool 2 file
    etc
     
    Peter Van Der Walt likes this.
  7. ChrisPol

    ChrisPol New
    Builder

    Joined:
    Oct 16, 2024
    Messages:
    4
    Likes Received:
    0
    Is therer anywhere to set the touchplate height?
     
  8. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,047
    Likes Received:
    4,313
    Edit the macros on the USB drive, standard macros assumes our probe docs:xyzprobe:start [OpenBuilds Documentation]
    Not using our probe does come with limitations (custom macros can't accomodate XY offsets for endmill diameter) - best to upgrade to ours
     
    David the swarfer likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice