Hi all, Iam considering purchasing a complete ACRO system along with a blackbox controller. Is it possible to send G-code over serial to blackbox using open builds Control as the "middle man"? The idea is to create a "responsive" pick and place machine for an interactive art project so I would be using something like Unity or Processing to send G-Code or coordinate information. Any advice or if you can point me in the direction of a tutorial that would be great! Thanks
you dont need a middleman, you only the ability to send strings over serial USB read this gnea/grbl for details
Hi Krishna, Wondering if you had any luck with this? I'm trying to make an XY gantry move in real-time with data from sensors located around a room. Any insight would be appreciated. Thanks, phil
I've been using an Arduino Uno Rev 3. Currently I'm running everything from the Uno, I'm just not sure if that is the best solution. I'm thinking about using the Uno just to collect the data and then send grbl to the black box and allow it to control the motion. I've been using some TMC2208 V3.0 as my motor drivers.
Yes, so then you'll code a ping pong buffer into one arduino, to send serial commands to the controller running Grbl. See Grbl v1.1 Interface · gnea/grbl Wiki
PS: Remember to do the wait for the OK so your queues doesn't go out of sync. Its somewhat tricky on an Arduino, but you may be able to find some other Grbl host sketches to extract the feedback parsing and queue management and sending from
You do mention "sensors in a room" - so also going to point you to: Home Assistant which comes with ESPHome — ESPHome built in ESPHome running on an ESP32/8266 can read your sensors too, integrate it into hassio (Home Assistant) and esphome can also send/receive Serial data UART Bus Depending on your actual use case, a more fully fledges solution like this may ultimately be easier (depending on your Arduino skills) as its super easy to build Automations using Home Assistant
I'm using two VL53l1X "Time of Flight" distance sensors and two IR break beam sensors. The raw data is converted to get distance and speed on x/y axis. The desired out come is to have the carriage move in reaction to people coming in and out of the room and moving through the space.