USB IO module

More
7 years 9 months ago #123746 by crowloy
USB IO module was created by crowloy
Anyone ever find out a source for the USB IO module that Tormach uses? So far I've only found one that's similar and it might be possible to make it work, but it's a definite might.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #123748 by smgvbest
Replied by smgvbest on topic USB IO module
Looking at how PP communicates with the board there are Tormach specific strings in it.

I would tend to believe that the board is either custom tormach or a commercial board that has been customized by Tormach.

it send the command VE and gets back two values, r and data, data contains the "Tormach I/O"

this is contained in the usbio.py file

A bit of recoding in the usbio.py probably could make this work with other boards.

the other thing you can do is you can map in the hal file I/O directly. i did this for 4 outputs as a test

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #123781 by sharmstr
Replied by sharmstr on topic USB IO module
At one time (last year) the IO module was a CP2102 with 4 relays attached.

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #124692 by jwatte
Replied by jwatte on topic USB IO module
It's a CP2102, a microcontroller, and four relays (output) plus four optocouplers (inputs) plus an ID selector.

If you're comfortable rolling your own, I reverse-engineered the protocol, and wrote firmware for the Teensy 3.2/3.5 microcontroller (Arduino-like but harder/better/faster/stronger) that emulates the USB I/O: github.com/jwatte/teensy_tormach_usbio

It can also be used on an Arduino Leonardo with minor changes, I've heard, but it doesn't work well on a "plain" Arduino because the serial bootloader gets in the way of properly detecting the board.
The following user(s) said Thank You: sharmstr

Please Log in or Create an account to join the conversation.

More
7 years 9 months ago #124731 by crowloy
Replied by crowloy on topic USB IO module
thank you for this. I figured that someone probably had done this before. I was going to eventually look into this myself, but this works too.

Please Log in or Create an account to join the conversation.

More
7 years 8 months ago - 7 years 8 months ago #127084 by Rhine_Labs
Replied by Rhine_Labs on topic USB IO module
I seen this on youtube..




Found the board in the video on amazon..

www.amazon.com/gp/product/B07DGPT293
Last edit: 7 years 8 months ago by Rhine_Labs.
The following user(s) said Thank You: tivoi

Please Log in or Create an account to join the conversation.

Time to create page: 0.215 seconds
Powered by Kunena Forum