how to communicate to a usb device

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mkculp
Posts: 6
Joined: Tue Aug 13, 2013 5:05 pm

how to communicate to a usb device

Post by mkculp » Thu Oct 10, 2013 11:48 pm

I would like to write a stack that can send gcode to a device be it 3d printer cnc machine or laser cutter. In livecode is therw a way to send a gcode file to a usb port. I've only just started researching this but was hoping there was a wizard out there that just knows exactly how to do this.

I have a tinyg controller in mind from syntetos that can iinterpret the gcode sent to it to run the machine. On their wiki they describe doing this with a terminal program so it can't be that difficult.

Thanks in advance

Michael

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10354
Joined: Wed May 06, 2009 2:28 pm

Re: how to communicate to a usb device

Post by dunbarx » Tue Oct 15, 2013 11:29 pm

Hi.

Posting here because I see nobody has replied. I have used an external device called a "Service USB Plus" by Bonig und Kallenbach that takes a USB output and translates these into real-world control circuits, such as PWM, A/D conversion and a bank of I/O channels via SSR's and buffered inputs,

But this is not pertinent. The gadget uses a PIC to do the processing. I think you would need a PIC as well, running behind some sort of USB converter. Do some of the hobby robotic companies, like FisherTechnik, make anything like this?

Craig Newman

Post Reply