Arduino mega 2560 grbl pinout3/10/2024 step putty send request to 3018-control.Your arduino Mega is sending the commandsĪnd this requires some kind of equipment like asked aboveĪnother option might be to send a grbl-command using puttyĪnd looking at the answer that comes back.Ĭonnect your arduino-mega directly with putty and then to use putty to send the exact same character-sequence that putty received from the 3018-control You might not have the equipment for parallel listening but do you understand what it means?ĭo you have another microcontroller? Yes / Noĭo you have a 24 MHz 8 channel logic analyser? Yes/ Noĭo you have an extra TTL-to-USB-COM-port adapter? Yes / Noįor further narrowing down the problem you will need to analyse what the differencies between putty sending the commands To your laptop running putty directly connected to the 3018-control means? This does not help to analyse or narrow down the problem. This picture delivers not much information. Pin 47 connected to rx pin on CNC control board while pin 51 connected to tx pin on CNC control board. Int rxPin = 51 // this is the input pin of arduino and goes tp tx pin of cnc boardĬNCSerial.begin(115200) //Start CNC serialĬhar CNCCharData = (char) CNCSerial.read() Int txPin = 47 //this is the output pin of arduino and goes to rx pin of cnc board The machine works using usb, offine controller, I get output when connected to the rx/tx pins, but can't make it execute commands, what am I missing here?Ĭontrol board and rx/tx pins I'm trying to use: If I connect the offline controller to the 8 pin connector, it works fine. (no "ok", no movment, no error message)Īs a sanity check I connected to the grbl board via usb using PuTTy and was able to run typed commands. Once all is powered up, I get a message on the serial monitor saying "Grbl 1.1f ", so assume the rx bit is woking fine, however I can't seem to get anything I send to work, I've tried sending $, no response, $\n $\r $\n\r also some simple G-code G00 X1 Y1 Z0, nothing. I have found the rx and tx pins on the control board and wired up the Arduino to those pins using SoftwareSerial. This board has an 8 pin connector to an offline controller and I'm attempting to send G-code via these pins. I'm working on a project where I would like to send G-Code from an Arduino Mega 2560 to the control board of a 3018 CNC running GRBL 1.1.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |