I am in the middle of a Laser build using a Smoothieboard v1.0a. While I am waiting for the laser module to arrived on a slow boat from China, I started thinking about the electronics. I picked up a Smart LCD Controller, which works well with the Smoothieboard, but then I started thinking it would be cool to have a custom panel with joysticks and buttons to control it. (I did something similar with my old CNC) Yes, I know that I could use the switch module, but using a Teensy or Arduino could be a fun project and give me more control. I am also thinking that it might be possible to read a file from the external SD and send it line by line. An added benefit, might be that I can use longer cables between the Smoothieboard and my chosen controller/screen but I have tested this yet.
So, after a quick bit of testing I am able to talk to the Smoothieboard over UART, access the Smart LCD Controller SD card, buttons, speaker and write to the display using a Teensy. So far, so good!
I couldn’t find out much info about the UART, as the smoothieware.org site has been down for a day or but using a cached version I found this…
‘you MUST rigidly use the ping-pong protocol, send ONE line of gcode per ok received.’
One thing I noticed after trying a few commands is that M114 sends the ok first, while others such as M119, M115 send it after.(is this a bug?)
Anyway, I wondered if anyone had done anything similar and had any tips.
Regards,
Les