Reverse Engineer Smart Cool

Results 1 to 11 of 11

Thread: Reverse Engineer Smart Cool

  1. #1
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Reverse Engineer Smart Cool

    The Tormach SmartCool appears to be a great tool but, as a mostly hobbyist, I can't justify its cost. Has anyone investigated reverse engineering it?.

    Similar Threads:


  2. #2
    Member
    Join Date
    Jul 2007
    Location
    Canada
    Posts
    1602
    Downloads
    5
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool



  3. #3
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    That thread was my original inspiration! BTW my Leonardo now convinces PP that it is a SmartCool and it understands coolant on/off, alt-U, alt-D, etc.



  4. #4
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    All good thoughts and I considered most before starting anything. I'll try to explain my decision process:
    Yes, it is a small volume accessory so the price has to be high to recoup development costs. I have no intentions of selling a substitute.

    If I were running a production shop I wouldn't hesitate to purchase a turnkey unit. I see this as mainly a learning exercise between paying work and a way to keep my aging brain working.

    My coding skills with micros is far better than with Linux so I wanted to minimize PP changes. Plus, it is an ongoing pain to retrofit changes after each PP release.

    Using a stepper has many advantages but requires some sort of homing mechanism to position it on startup. I didn't want to require a custom PCB to combine the micro and stepper driver for a one-off. With that in mind I'm using a R/C servo. That means the only electronics is the micro, a relay board to control the air blast pneumatic valve and a wall-wart power supply.

    I'm still fighting to get the aiming exactly right. However, aiming is sorta working, air on/off, timed air, wiggle mode and the keyboard shortcuts are all working. Total code is less than 300 lines including lots of comments and debug code. The electronics cost about $15 plus $25 for the servo. Now to complete the mechanics and box things!



  5. #5
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    Yes, I have a Leonardo plugged into a USB port. I parse the commands sent by PP and move the nozzle and control the air as commanded. Only a single line of PP must be changed.



  6. #6
    Member
    Join Date
    Nov 2012
    Location
    United States
    Posts
    591
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    You can set up a rule in /etc/udev/rules.d/ to create the symlink /dev/zbot_schnozz to your Leonardo serial port, and then you need no modification to your Leonardo nor to your PathPilot software.



  7. #7
    Member
    Join Date
    Nov 2012
    Location
    United States
    Posts
    591
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    all we need is a stepper motor hanging onto the spindle
    The Schnozz/SmartCool uses a Robotis AX-12A servo motor, which has an absolute position sensor. It talks single-duplex TTL serial protocol, and costs about $45. It's a reasonable choice for this kind of application. (Robotis has since released an even cheaper and mechanically smaller version called the XL-320, it's about $25.)



  8. #8
    Member kstrauss's Avatar
    Join Date
    Apr 2013
    Location
    Canada
    Posts
    1788
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    Quote Originally Posted by jwatte View Post
    You can set up a rule in /etc/udev/rules.d/ to create the symlink /dev/zbot_schnozz to your Leonardo serial port, and then you need no modification to your Leonardo nor to your PathPilot software.
    That is precisely what I did -- a one line change to PP! I assume that the change will be overwritten when I do the next upgrade but it isn't hard to redo.

    I'd like to implement my own version of the Tormach Shuttle but the PP Shuttle handler checks the VID/PID so it isn't as simple as with the SmartCool and USBIO boards. I notice that there is a rule for "Tormach_MPG" that connects to something with an FTDI USB chip. Any idea what that is for?



  9. #9
    Member
    Join Date
    Dec 2008
    Location
    Switzerland
    Posts
    740
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    Quote Originally Posted by kstrauss View Post
    ..."Tormach_MPG" that connects to something with an FTDI USB chip. Any idea what that is for?...
    If you check out the photos of the 1100MX you'll see a pendant on the right side of the monitor. I'd assumed it was the interface for that.
    I'm not very keen on the SmartCool but I just reprogrammed one of my USBIO clones to behave like the SmartCool thinking I would get signals for M7 and (pure) M8. Alas, M8 still runs via the old route (obvious with hindsight) so I'll go back to modding PP for now - not that I actually need both M7 and M8 at all. It was just for fun.
    For me the USB interface was the obvious place to hook into these systems because all commands and data pass though this one channel and it's likely to remain stable - by that I mean the interface isn't going to change with every PP release.
    Step



  10. #10
    Member
    Join Date
    Nov 2012
    Location
    United States
    Posts
    591
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    a one line change to PP!
    If you create a new file in "/etc/udev/rules.d", it will not be removed by the next update.
    The updates mainly update the "v2.xxxx" directories and update the "tmc" symlink to point to the new version.
    In general, I think of "PathPilot" as the TMC directory/code, and the greater OS simply as Linux Mint.
    For example, new files in the "operator" home directory do not get deleted, nor do files in the "gcode/" subdirectory.



  11. #11
    Member
    Join Date
    Jun 2008
    Location
    uk
    Posts
    3
    Downloads
    0
    Uploads
    0

    Default Re: Reverse Engineer Smart Cool

    Hi Kstrauss,

    could you share your leonardo code and the line to modify?..

    I'd like to simulate an atc and getting a head start on usb/serial data transfer would give me a huge leap forwards.

    Thank you in advance...

    Ian



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Reverse Engineer Smart Cool

Reverse Engineer Smart Cool