I tried but still the same. Couldn't figure out why it gives me these values. But it responds in a proper way to GCodes. Thanksby Abinav_Shankar - Firmware - Marlin
I tried declaring the serial settings explicitly but no effect. It still gives me single character response. Any other suggestions would be greatly helpful. I was away for a while so couldn't test it out immediately. Thanks.by Abinav_Shankar - Firmware - Marlin
QuoteDust UTF8??? we work in ascii... Sure some of it is the same... (values under 128) ... needs looking deeper. EDIT: On further reflection I don't think this is it... I tried playing with other data types and utf-8 is the only type the printer seems to accept. For others it just throws an error.by Abinav_Shankar - Firmware - Marlin
Quoteenif Could this be that the setting of your serial connection is wrong, so that the Pi interprets the parity bit of the arriving byte to be the 8th data bit? (That could explain why the "k" is received correctly and the "o" not - the 2 characters have different parity.) I have set the baud rate equal to that of my 3D Printer. Is there anything else that needs to be set? Sorry, I'm new to 3by Abinav_Shankar - Firmware - Marlin
Hi, QuoteDust This makes zero sense. the printer does respond with 'ok' so there is an issue if you notice several lines down you get the k.. There is something wrong with your code... How about sharing your code, instead of posting the same thing again? I have attached the source code of my program. Its for a college project. Its function is to read the coordinates and other parametersby Abinav_Shankar - Firmware - Marlin
Hi, I have an ANET A8 3D Printer running Marlin 1.1.x. I'm using a Raspberry Pi to use serial communication for the 3D Printer for my school project. I was able to send GCodes properly to the 3D Printer but I couldn't interpret the printer response correctly. It always gives me a character within quotes preceded by b (E.g. b's'). If I decode the message using decode() I get a single digit responsby Abinav_Shankar - Firmware - Marlin
Hi, I was trying to communicate with my 3D Printer through USB Serial communication. I have a ANET A8 with Marlin 1.1.7 firmware. I was able to successfully establish a communication with the printer and it's responding well to my GCode commands. But the response I get from the printer is a bit wierd. I have seen from forums that it gives an 'Ok' as response. But all I get is b's' for all kinds oby Abinav_Shankar - Experimental