All Discussions Tagged 'Serial' - Grasshopper2024-03-28T09:31:50Zhttps://www.grasshopper3d.com/group/fireflyplugin/forum/topic/listForTag?tag=Serial&feed=yes&xn_auth=noGyro x,y,z data organizationtag:www.grasshopper3d.com,2014-11-05:2985220:Topic:11626782014-11-05T20:31:19.453ZAaron Lehrhttps://www.grasshopper3d.com/profile/AaronLehr
<p>Hi </p>
<p>So I am new to using FireFly and have not used grasshopper in a few years. I wanted to know if anyone would be able to give me some advice on how I can organize the data coming in through the serial port in to x, y, z coordinates. I was only able to separate the 3 values in to 2 separate values not 3. I attached a a short screen capture of my grasshopper file and that data I have coming in. Im looking forward to seeing anyone can help.</p>
<p>Thank you</p>
<p>Aaron Lehr</p>
<p>Hi </p>
<p>So I am new to using FireFly and have not used grasshopper in a few years. I wanted to know if anyone would be able to give me some advice on how I can organize the data coming in through the serial port in to x, y, z coordinates. I was only able to separate the 3 values in to 2 separate values not 3. I attached a a short screen capture of my grasshopper file and that data I have coming in. Im looking forward to seeing anyone can help.</p>
<p>Thank you</p>
<p>Aaron Lehr</p> Serial read problem in Fireflytag:www.grasshopper3d.com,2013-04-23:2985220:Topic:8355742013-04-23T11:13:05.988Zfergal.coulterhttps://www.grasshopper3d.com/profile/fergalcoulter
<p>Hi guys,</p>
<p>I'm communicating with a 3D printer via Grasshopper / Firefly (and eventually) Silkworm.</p>
<p></p>
<p>So far, I can quite happily send G-Code move commands to the printer - which is a Leapfrog Creatr, based on Arduino Mega / RAMPS electronics - via the generic Serial Write command. </p>
<p>I also want to get a return feed of information, which will basically tell me when the printhead has reached its destination (so normally sending the printer a code 'M114' will get it to…</p>
<p>Hi guys,</p>
<p>I'm communicating with a 3D printer via Grasshopper / Firefly (and eventually) Silkworm.</p>
<p></p>
<p>So far, I can quite happily send G-Code move commands to the printer - which is a Leapfrog Creatr, based on Arduino Mega / RAMPS electronics - via the generic Serial Write command. </p>
<p>I also want to get a return feed of information, which will basically tell me when the printhead has reached its destination (so normally sending the printer a code 'M114' will get it to return a string along the lines of :</p>
<p></p>
<p>X:100.00Y:15.00Z1.20E:0.00 Count X:100.00Y:15.00Z1.20E:0.00</p>
<p>ok</p>
<p></p>
<p>you can see this works in an arduino serial monitor window from the screenshot below.</p>
<p></p>
<p>Unfortunately I can't seem to get the generic "Serial Read" block to work for me in Grasshopper. (I do have the arduino serial monitor closed, and the "Hurray" message is displaying)</p>
<p>When I write a log file, the txt file does grow, but full of empty lines.</p>
<p></p>
<p>I'm stumped, really - there are lots of other people who have asked this question / had this problem, but unfortunately most of them never explained how they got it working when they did....</p>
<p></p>
<p>Thanks in advance</p>
<p>Fergal</p>