<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[SoliForum - 3D Printing Community — daVinci Jr gcode commands via serial]]></title>
	<link rel="self" href="https://www.soliforum.com/feed/atom/topic/15001/" />
	<updated>2016-07-30T20:58:20Z</updated>
	<generator>PunBB</generator>
	<id>https://www.soliforum.com/topic/15001/davinci-jr-gcode-commands-via-serial/</id>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/125624/#p125624" />
			<content type="html"><![CDATA[<p>@crcasey - The last update I pushed probably needs some updates to its unit tests. I haven&#039;t been able to check that out yet. Maybe I&#039;ll get to fixing that this weekend, we&#039;ll see.</p><p>In other news, I have successful prints coming out of my Jr RAMPS now! I think I will start a new thread documenting my experiences with the conversion soon, as I definitely learned a lot along the way and want to pass that on.</p><p>For now, just to show off a bit, here&#039;s a pic of the RAMPS 1.4 conversion with the full graphic reprap screen. I tried to be as non-destructive as possible, and I think I was fully successful in that goal (aside from fixing a few things I broke by accident). That means no desoldering, cutting or drilling. I used JST and Dupont connector kits with some ribbon cable to make new cables for all the connectors.</p><p>Oh, and by the way, the light bar is fully controllable using the M42 gcode on pin 4 (it&#039;s a 12v input with a 5v signal to turn it on/off)<br /><span class="postimg"><img src="https://www.dropbox.com/s/5lacd5mnh0cr8v0/20160728_164800.jpg?dl=1" alt="https://www.dropbox.com/s/5lacd5mnh0cr8v0/20160728_164800.jpg?dl=1" /></span></p><p>This was my first full print -- just a test disk using XYZ nature filament.:<br /><span class="postimg"><img src="https://www.dropbox.com/s/i319tpkmcz4xhvb/disk.jpg?dl=1" alt="https://www.dropbox.com/s/i319tpkmcz4xhvb/disk.jpg?dl=1" /></span></p><p>And here&#039;s my current print job, half finished -- a Robot Turtle (<a href="http://www.thingiverse.com/thing:216285">http://www.thingiverse.com/thing:216285</a>)<br /><span class="postimg"><img src="https://www.dropbox.com/s/mli0kevbmzkx1pj/Screenshot%20from%202016-07-30%2016-45-38.png?dl=1" alt="https://www.dropbox.com/s/mli0kevbmzkx1pj/Screenshot%20from%202016-07-30%2016-45-38.png?dl=1" /></span></p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-07-30T20:58:20Z</updated>
			<id>https://www.soliforum.com/post/125624/#p125624</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/125557/#p125557" />
			<content type="html"><![CDATA[<p>Thanks for the good start Anthem.</p><p>I will have to take a look at your gethub and see how you did the command encoding.&nbsp; It looks like there may be some issues with the last update to your github.</p><p>Are there any external python libs that your code needs?</p><p>Good luck on your ramps conversion. I hope you open a thread for that project.</p><p>-C</p>]]></content>
			<author>
				<name><![CDATA[crcasey]]></name>
				<uri>https://www.soliforum.com/user/13261/</uri>
			</author>
			<updated>2016-07-28T14:30:16Z</updated>
			<id>https://www.soliforum.com/post/125557/#p125557</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/125518/#p125518" />
			<content type="html"><![CDATA[<p>If you want to check out my latest version, here&#039;s the repo:</p><p><a href="https://gitlab.com/anthem/py-threedub">https://gitlab.com/anthem/py-threedub</a></p><p>This supports printing, getting the raw or a (slightly) translated status from the Jr, and a couple more small things. There&#039;s nothing very useful other than those operations that can be done with the Jr (that I know of -- there may be hidden secrets I&#039;m not aware of).</p><p>This code implements firmware update, too. Feel free to play with it, but you&#039;ll have to reenable it in printers.py yourself as I&#039;ve disabled it for safety reasons. However I believe the file upload process to be safe, there are just certain times and ways that you shouldn&#039;t use it. In my case, I may have used a bad firmware file, or my attempt to update while printing could have been what blew up my firmware. I&#039;m just not sure. Unfortunately because the firmware decryption happens on-board and no one has cracked the firmware encryption yet, there&#039;s currently no way to restore stock firmware (and no, there&#039;s still no repetier support for the board).</p><p>Be aware that the serial communications can be a little tricky. I&#039;ve sometimes had to retry printing several times before it succeeds. Usually that looks like a long pause in the upload progress followed by an error message. I think it has something to do with timing issues buffering the serial data one way or the other, as it seems to happen more on slower systems like my Raspberry Pi I set up as a print server. That said, the protocol is in place and if anyone can improve on the situation they&#039;re welcome to do so. I probably won&#039;t be spending much more time on it because my Jr is soon to be a RAMPSenstein.</p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-07-27T03:08:08Z</updated>
			<id>https://www.soliforum.com/post/125518/#p125518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/125513/#p125513" />
			<content type="html"><![CDATA[<p>I finished implementing all the commands I know how -- including firmware update. However, that&#039;s *extremely* experimental and possibly extremely dangerous. I blew up my own Jr using that command. While I believe the firmware update process is safe, I tried to update it in a very stupid way -- I tried to update to 2.2.7 on top of 2.2.7 *while* printing. I live dangerously.</p><p>As a result, I&#039;m now in the process of converting my Jr to RAMPS 1.4, and I no longer have a Jr to test with <img src="https://www.soliforum.com/img/smilies/sad.png" width="15" height="15" alt="sad" /> If someone with a Jr wants to take over development, I&#039;d be more more than happy to turn over the reigns.</p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-07-26T23:59:02Z</updated>
			<id>https://www.soliforum.com/post/125513/#p125513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/125501/#p125501" />
			<content type="html"><![CDATA[<p>Anthem,</p><p>Any update on your serial =&gt; Jr serial?</p><p>Thanks</p>]]></content>
			<author>
				<name><![CDATA[crcasey]]></name>
				<uri>https://www.soliforum.com/user/13261/</uri>
			</author>
			<updated>2016-07-26T18:35:56Z</updated>
			<id>https://www.soliforum.com/post/125501/#p125501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124614/#p124614" />
			<content type="html"><![CDATA[<p>Nope, those commands are for an ancient firmware version thqt I doubt was ever used for the Jr.</p><p>The jr&#039;s commands on latest firmware all are prefixed with XYZv3/, indicating a third version of the protocol.</p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-06-29T00:22:40Z</updated>
			<id>https://www.soliforum.com/post/124614/#p124614</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124596/#p124596" />
			<content type="html"><![CDATA[<p>Remember me an old - very old thread about this and 1.0 : <a href="https://forum.voltivo.com/showthread.php?tid=7974">https://forum.voltivo.com/showthread.php?tid=7974</a></p><p>Are commands same for Jr ?</p>]]></content>
			<author>
				<name><![CDATA[luc]]></name>
				<uri>https://www.soliforum.com/user/8495/</uri>
			</author>
			<updated>2016-06-28T12:01:29Z</updated>
			<id>https://www.soliforum.com/post/124596/#p124596</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124585/#p124585" />
			<content type="html"><![CDATA[<p>Wanted to let you guys know I&#039;m making progress on this front. I&#039;m still cleaning up the code,&nbsp; but I successfully printed a file to my Jr over serial today.</p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-06-28T04:12:36Z</updated>
			<id>https://www.soliforum.com/post/124585/#p124585</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124316/#p124316" />
			<content type="html"><![CDATA[<p>With enough information anything is possible. If you run XYZware inside a virtual machine on Linux, it&#039;s easy enough to sniff the USB traffic without special hardware. Combine that with the string dumps of XYZware others have posted here, and you might be on your way. A lot of work, sure, but it&#039;s possible.</p>]]></content>
			<author>
				<name><![CDATA[Anthem]]></name>
				<uri>https://www.soliforum.com/user/14460/</uri>
			</author>
			<updated>2016-06-19T03:01:07Z</updated>
			<id>https://www.soliforum.com/post/124316/#p124316</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124273/#p124273" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>kr15_uk wrote:</cite><blockquote><p>Ladies and gents,</p><p>Maybe I don&#039;t know how to use search properly but I can&#039;t find any thread about getting serial connection to Jr to send manually gcode commands.<br />I&#039;ve tried to co serial connection using few common port numbers and rest of the settings but with no luck there.</p><p>Can anyone point me to the right answer?!</p><p>Thanks.</p><br /><p>Regards,<br />Kris M</p></blockquote></div><p>Without a flash update to a different firmware like Repetier which is not available for jr., there is no way to send serial data due to the protocol used by the stock firmware. This was one of the reasons why so many flashed all the other pre jr models to Repetier sp they could talk to the printer.</p>]]></content>
			<author>
				<name><![CDATA[carl_m1968]]></name>
				<uri>https://www.soliforum.com/user/7731/</uri>
			</author>
			<updated>2016-06-17T16:51:23Z</updated>
			<id>https://www.soliforum.com/post/124273/#p124273</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[daVinci Jr gcode commands via serial]]></title>
			<link rel="alternate" href="https://www.soliforum.com/post/124269/#p124269" />
			<content type="html"><![CDATA[<p>Ladies and gents,</p><p>Maybe I don&#039;t know how to use search properly but I can&#039;t find any thread about getting serial connection to Jr to send manually gcode commands.<br />I&#039;ve tried to co serial connection using few common port numbers and rest of the settings but with no luck there.</p><p>Can anyone point me to the right answer?!</p><p>Thanks.</p><br /><p>Regards,<br />Kris M</p>]]></content>
			<author>
				<name><![CDATA[kr15_uk]]></name>
				<uri>https://www.soliforum.com/user/14138/</uri>
			</author>
			<updated>2016-06-17T13:43:29Z</updated>
			<id>https://www.soliforum.com/post/124269/#p124269</id>
		</entry>
</feed>
