<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1049074935738975009</id><updated>2011-09-05T06:12:36.494-07:00</updated><category term='sensor'/><category term='tools'/><category term='stepper'/><category term='motors'/><category term='3dp'/><category term='printer'/><title type='text'>Gray Projects</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-7727671884333014151</id><published>2009-11-27T01:53:00.001-08:00</published><updated>2009-11-27T02:07:15.787-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Mine is bigger than yours</title><content type='html'>&lt;p&gt;Finally got my new big stepper motor. It was bigger than I had realized and took some effort to mount to my system.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/Sw-hziAcB9I/AAAAAAAAAIY/TPP1FLxDBFM/s1600/big.stepper.motor.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/Sw-hziAcB9I/AAAAAAAAAIY/TPP1FLxDBFM/s400/big.stepper.motor.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5408719584169297874" /&gt;&lt;/a&gt;

&lt;p&gt;Then I learned to drive it. Turns out my greatest enemy is inertia. What I've built is just so damn heavy and massive I can't just start off the motor at full speed. Being a half-assed physicist I should know that already. But I guess experience is also needed.

&lt;p&gt;So to get the motor running properly - careful speedup, slowdown and backslash delay at return need to be coded. Actually. I'm making this all up as I go, don't have any formal education and doing inertia calculations seems like a pain. So I try and see what works.

&lt;p&gt;But basically I need to reduce weight. All that steel and heavy aluminium beams I'm moving along take a lot of effort. And cause excessive shaking of the whole machine resulting in some jitter at the printed page. Also the HP printer carriage is designed to slant forwards and backwards at different stages of the rail. The movement of the whole assembly though causes it to shake at the wrong places, more distorting the printed page.

&lt;p&gt;However. It's not all that bad. Please enjoy my latest print:

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yO7Ax8oZTFY&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/yO7Ax8oZTFY&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;

&lt;p&gt;The page is starting to look pretty nice:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Sw-jDKfMmJI/AAAAAAAAAIg/bTfIG3mle-8/s1600/printed.page.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 400px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Sw-jDKfMmJI/AAAAAAAAAIg/bTfIG3mle-8/s400/printed.page.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5408720952245393554" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-7727671884333014151?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/7727671884333014151/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/mine-is-bigger-than-yours.html#comment-form' title='37 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7727671884333014151'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7727671884333014151'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/mine-is-bigger-than-yours.html' title='Mine is bigger than yours'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/Sw-hziAcB9I/AAAAAAAAAIY/TPP1FLxDBFM/s72-c/big.stepper.motor.jpg' height='72' width='72'/><thr:total>37</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-3224856603145862981</id><published>2009-11-14T14:14:00.000-08:00</published><updated>2009-11-14T20:07:52.552-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Chariots of Fire</title><content type='html'>&lt;p&gt;I added my old USB chip (FT 232RL) to the game so that I can both control and get diagnostics from the microcontroller. The MCU runs at 20MHz now and I think it wouldn't keep up with the printer at any slower frequency. Getting diagnostics allowed me to plot the main roller/motor movement sequence:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.mare.ee/indrek/3dp/files/printing_sequence.pdf"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 280px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Sv9-NndqH0I/AAAAAAAAAIA/HNxRcBiT0wQ/s400/printing.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5404176850264661826" /&gt;&lt;/a&gt;

&lt;p&gt;I had a lot of trouble figuring out when to turn the paper sensor on. To understand what the printer does I had to rebuild the old printer from the pieces I had. And I discovered that there's a lever that is pushed when the printer head moves to the very right. When this lever is pushed - no paper is fetched if the roller turns. And paper fetching is actually done with roller turning backwards. But adding another sensor is a pain so I just deduced from the roller movement when it expects the paper sensor to turn on.

&lt;p&gt;This happens when the roller moves backwards, then sits still for 450-600ms, and then moves again backwards. A few cm after that I will turn the paper sensor on and printing commences. The paper-on period is between the two vertical tics on the image.

&lt;p&gt;Another thing I discovered is that the printer is, well, too fast for my rig. It scrolls paper through at mindnumbing 12cm/second. While my rig can probably do 2-3cm/second. However I can control this by printing my stuff inside a box/frame. That forces the printer to slow down. But even that is not enough, the edges get distorted due to slow movement. I need a stronger stepper motor.

&lt;p&gt;This shows my completed rig, with everything I've built so far attached:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Sv8tITxDYDI/AAAAAAAAAHw/Ru96S2xXMI0/s1600-h/rig.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Sv8tITxDYDI/AAAAAAAAAHw/Ru96S2xXMI0/s400/rig.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5404087698636103730" /&gt;&lt;/a&gt;

&lt;p&gt;There were a few quirks getting the printing working though. Had to add a few hacks. But after some fiddling it finally started working.

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/s4kHu0RPT4M&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/s4kHu0RPT4M&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;

&lt;p&gt;The printed page from this video looks like this:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/Sv8uNotdEvI/AAAAAAAAAH4/jLq2dw-wOwo/s1600-h/gray.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/Sv8uNotdEvI/AAAAAAAAAH4/jLq2dw-wOwo/s400/gray.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5404088889669128946" /&gt;&lt;/a&gt;

&lt;p&gt;It is a bit fuzzy but it's mostly down to the printer head being too much distance away from the paper surface, paper being slanted and also the print head itself is slanted. So lots of fiddling to do to get to better quality.

&lt;p&gt;Phase 1 successful. I need to give this project some rest now as I've lagged behind my other responsibilities.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-3224856603145862981?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/3224856603145862981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/chariots-of-fire.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/3224856603145862981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/3224856603145862981'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/chariots-of-fire.html' title='Chariots of Fire'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_D4Da07WDejk/Sv9-NndqH0I/AAAAAAAAAIA/HNxRcBiT0wQ/s72-c/printing.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-8863254780768445919</id><published>2009-11-12T20:41:00.000-08:00</published><updated>2009-11-13T00:41:25.617-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Progress</title><content type='html'>&lt;p&gt;I can report some progress. The paper jam errors I got before are over. Printer now properly initializes, cleans itself and goes into idle mode. The problem was with my motor response timing and the way I had coded it. Fixed now. I also modularized my designs so everything goes through the energy chain now.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvzjerwjsKI/AAAAAAAAAHg/YnP7EAYVKVc/s1600-h/modules.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvzjerwjsKI/AAAAAAAAAHg/YnP7EAYVKVc/s400/modules.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5403443769219723426" /&gt;&lt;/a&gt;

&lt;p&gt;Initialization sequence can be seen from this video:

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/fdg3-0xTsMc&amp;hl=en_US&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/fdg3-0xTsMc&amp;hl=en_US&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;

&lt;p&gt;Printing still does not work though. When I try to print I eventually get a paper/cartridge jamming error. But what I've got now is I think a purely software problem. Will have to try new things again to resolve this.

&lt;p&gt;Update-update. Now I get an out-of-paper error. Yay. Need to figure out now when to turn the paper sensor on. But first I'm going to get some diagnostics.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-8863254780768445919?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/8863254780768445919/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/progress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8863254780768445919'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8863254780768445919'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/progress.html' title='Progress'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/SvzjerwjsKI/AAAAAAAAAHg/YnP7EAYVKVc/s72-c/modules.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-894255528574487316</id><published>2009-11-12T12:53:00.001-08:00</published><updated>2009-11-12T13:26:48.647-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Reverse engineering</title><content type='html'>&lt;p&gt;So after the hassle I decided to reverse engineer the optical paper roller position sensor so that I can fake it digitally. I attached a set of wires to it to see what was happening:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/Svx2QImFbZI/AAAAAAAAAG4/fj-i_Jj-Ig8/s1600-h/wires_probing.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/Svx2QImFbZI/AAAAAAAAAG4/fj-i_Jj-Ig8/s400/wires_probing.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5403323672494960018" /&gt;&lt;/a&gt;

&lt;p&gt;After running oscilloscope I determine what each wire did. Only two of them had a changing signal when the wheel turned - we've got a 2 channel encoder. This is what the wires represent:

&lt;ul&gt;
&lt;li&gt;BLACK (pin 1) - ground, 0V
&lt;li&gt;BROWN (pin 2) - channel 1
&lt;li&gt;BLUE (pin 3) - +5V
&lt;li&gt;RED (pin 4) - channel 2
&lt;li&gt;ORANGE (pin 5) - +3.3V
&lt;li&gt;YELLOW (pin 6) - the other side of the LED
&lt;/ul&gt;

&lt;p&gt;The sensor has pretty much the same layout as Avago's AEDS-965X. Here's a picture off that item's PDF file:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_D4Da07WDejk/Svx50O3A-yI/AAAAAAAAAHA/NeXtywNKWOs/s1600-h/sensor.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 246px;" src="http://3.bp.blogspot.com/_D4Da07WDejk/Svx50O3A-yI/AAAAAAAAAHA/NeXtywNKWOs/s400/sensor.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5403327591186758434" /&gt;&lt;/a&gt;

&lt;p&gt;So what was left was to desolder the sensor and attach proper wires I could fake my own signal on:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Svx6WbPKZZI/AAAAAAAAAHI/iv8oN-X_vPw/s1600-h/wires.ready.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Svx6WbPKZZI/AAAAAAAAAHI/iv8oN-X_vPw/s400/wires.ready.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5403328178624816530" /&gt;&lt;/a&gt;

&lt;p&gt;Now with wires there I could start generating a circuit. I spent a better part of the night trying to make it work. It tended to just crash the printer. Finally I realized it was an electrical problem - I was drawing way too much current from the +5V source - apparently there's a really weak current pump behind it.

&lt;p&gt;I also realized that my motor-on sensor was not working 100%. After fixing that it started working like a charm. Here's the basic circuit I used:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Svx7lvaRgaI/AAAAAAAAAHY/RCIvnQWRCGM/s1600-h/fakert.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 394px; height: 215px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Svx7lvaRgaI/AAAAAAAAAHY/RCIvnQWRCGM/s400/fakert.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5403329541249794466" /&gt;&lt;/a&gt;

&lt;p&gt;So can I print stuff now? Not really. The printer has some really fancy mechanics inside of it. I think it runs the motor at several power levels and expects it to get stuck on some gear or lever. As that doesn't currently happen it eventually ends up in an error. I'm not really sure how to fix this properly as I didn't take any proper measurements or recordings on how the printer actually is supposed to behave. There are lots of gears and systems inside it and I didn't really investigate how they all work in unison.

&lt;p&gt;So more to do. Perhaps I still do need a second version of that printer so that I could properly observe its workings in its prime to replicate them.

&lt;p&gt;But all in all I believes this reverse engineering and sensor faking was a success.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-894255528574487316?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/894255528574487316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/reverse-engineering.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/894255528574487316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/894255528574487316'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/reverse-engineering.html' title='Reverse engineering'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/Svx2QImFbZI/AAAAAAAAAG4/fj-i_Jj-Ig8/s72-c/wires_probing.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-7335733545094430505</id><published>2009-11-11T11:33:00.001-08:00</published><updated>2009-11-11T11:47:17.053-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stepper'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Driver</title><content type='html'>&lt;p&gt;Finally my stepper driver arrived. Now I don't need to use my own home-grown driver circuit.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvsRh-5zKEI/AAAAAAAAAGg/_lqy-G0UP_Q/s1600-h/driver.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvsRh-5zKEI/AAAAAAAAAGg/_lqy-G0UP_Q/s400/driver.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5402931453479823426" /&gt;&lt;/a&gt;

&lt;p&gt;The benefits are: DIP-switch controllable current (up to 4.2A, my own circuit only does up to 1.5A) and sub-stepping up to ludicrous levels (using Allegro A3955 I get only down to 1/8 steps). And it's very easy to use. Just plug it in and it does its work. I just have two pins to worry about - direction and pulse. It steps the stepper itself. The downside of course the price.

&lt;p&gt;Unfortunately the speed I hoped for did not really materialize. If only slightly. Currently I'm unsure if it can keep up with what the HP control circuit expects. If not - need to get a better stepper motor. But that's easy - just need to plug it in, driver takes care of the rest.

&lt;p&gt;And on another note I found out why my printer got paper jam errors. The contraption to move the sensor was just not fast enough. I down-geared it by around  ~1:4.45 because the encoder wheel has 1200 dashes while my stepper does 400 steps. Instead I should have relied on sub-stepping the motor and attached the encoder directly. If I overdrive the motor I can almost get it to work. It even started scrolling out the paper when the paper sensor was on. But its checking systems move it forw-back very sharply and the stepper tends to jam on that.

&lt;p&gt;I don't feel like rebuilding the stepper thingie right now so am instead reverting to reverse-engineering the sensor. I've already attached wires to it and it seems to indeed be a two-channel system. Though I haven't really got the sense of all the pins, only two of them seem to have any sensible life in them as can be seen on the following picture:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SvsUk7FtJ7I/AAAAAAAAAGw/Q0LgXNCjvLw/s1600-h/turning.right.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 283px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SvsUk7FtJ7I/AAAAAAAAAGw/Q0LgXNCjvLw/s400/turning.right.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5402934802530510770" /&gt;&lt;/a&gt;

&lt;p&gt;As you can see the green leads the yellow - two channels being covered by the encoder strip as it moves.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-7335733545094430505?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/7335733545094430505/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/driver.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7335733545094430505'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7335733545094430505'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/driver.html' title='Driver'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/SvsRh-5zKEI/AAAAAAAAAGg/_lqy-G0UP_Q/s72-c/driver.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-603415988303792319</id><published>2009-11-10T16:57:00.000-08:00</published><updated>2009-11-10T17:09:17.997-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Remote sensing</title><content type='html'>&lt;p&gt;The printer's paper motor runs on 32V. To get the signal from that I'm going to use an optoisolator. But the motor can run both ways and so I need to protect the LEDs inside the optoisolator from the huge reverse voltage.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/SvoMdoquzVI/AAAAAAAAAGQ/Iy8CVNFjOG8/s1600-h/schematic.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 281px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/SvoMdoquzVI/AAAAAAAAAGQ/Iy8CVNFjOG8/s400/schematic.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5402644406256717138" /&gt;&lt;/a&gt;

&lt;p&gt;Now I'm not absolutely certain this is the way, but I went with protecting them using another diode plus adding a big resistor to take care of the reverse current still leaking through.

&lt;p&gt;And this is the resulting circuit. Seems to work fine so far. The optoisolator I'm using is HCPL 2631.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SvoMrFstJLI/AAAAAAAAAGY/VNrQlYQKz8U/s1600-h/translator.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SvoMrFstJLI/AAAAAAAAAGY/VNrQlYQKz8U/s400/translator.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5402644637387924658" /&gt;&lt;/a&gt;

&lt;p&gt;Unfortunately I can't report success yet. I get paper jam errors no matter what I do at the moment. Have to investigate more. Perhaps the stepper is too jumpy. Or too fast. Or too slow. I think I need to get another printer of this kind to get a solid reference and make a comparison.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-603415988303792319?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/603415988303792319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/remote-sensing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/603415988303792319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/603415988303792319'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/remote-sensing.html' title='Remote sensing'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/SvoMdoquzVI/AAAAAAAAAGQ/Iy8CVNFjOG8/s72-c/schematic.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-3582781257560925594</id><published>2009-11-09T17:07:00.000-08:00</published><updated>2009-11-09T17:18:05.259-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>The fifth wheel</title><content type='html'>&lt;p&gt;I have a problem. The paper roller of the printer has an encoder wheel attached to it. So the printer uses that to determine how much it has scrolled the paper on. It's all driven by a simple DC motor.

&lt;p&gt;Now as I don't have the roller anymore but I move the printer itself instead. How do I tell the printer board how much it has moved. I basically have three options:

&lt;ul&gt;
&lt;li&gt;Attach a roller to the side of my table and have it roll on something. While it seems simple and straightforward I see several problems. For one making such a mechanical system is actually not that simple. Secondly I want to move the printer around myself, as it needs to move backwards. If the printer board sees it - it'll detect a malfunction and panic. Also the printer logic has some redundant roller moving on itself - its head cleaning cycle for one - I don't want to move for that.
&lt;li&gt;The second idea would be to reverse engineer the sensor and feed the printer with fake electrical signals. The problem here is that I have not managed to find a specification for this sensor. And as I'm not familiar with them I don't really know where to start. It seems to have 6 leads. Two are probably for the emitter led, and the others are probably two pairs for two phototransistors. So it's probably a two-channel sensor.
&lt;li&gt;The third and the silliest option is to use a separate stepper motor to drive the encoder wheel myself. So I can fake it for the printer properly. And that's what I've done for now. Later on I should try reverse engineering the sensor itself using an oscilloscope. But for now, I went with the silly solution.
&lt;/ul&gt;

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/Svi-OTyN8yI/AAAAAAAAAGI/WNNzDNElDng/s1600-h/fifth.wheel.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/Svi-OTyN8yI/AAAAAAAAAGI/WNNzDNElDng/s400/fifth.wheel.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5402276906069259042" /&gt;&lt;/a&gt;

&lt;p&gt;Here I used the timing belt of the actual printer's paper motor. But I reassembled it between two aluminium pieces. The stepper motor is the same I got off eBay.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-3582781257560925594?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/3582781257560925594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/fifth-wheel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/3582781257560925594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/3582781257560925594'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/fifth-wheel.html' title='The fifth wheel'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/Svi-OTyN8yI/AAAAAAAAAGI/WNNzDNElDng/s72-c/fifth.wheel.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-8014647718264310851</id><published>2009-11-06T07:34:00.001-08:00</published><updated>2009-11-06T12:25:53.747-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sensor'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>I'm watching you</title><content type='html'>&lt;p&gt;&lt;img style="display:block; margin:0px auto 10px;float: right; width: 303px; height: 400px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SvRDiXG2NoI/AAAAAAAAAF4/wfTj-4YADDI/s400/schem.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5401016110721414786"/&gt;

&lt;p&gt;I need a sensor to determine when the assembly has moved to the beginning. I was thinking of using an optical sensor to do it. Once I've determined the start position, I can just count stepper steps to know where exactly I am in reference to it. To the right is the schematic of the circuit I'm building. I'm using Osram's SFH9315 slotted sensor. It consists of a LED as emitter on one side and a phototransistor as sensor on the other side.

&lt;p style="clear: right;"&gt;Here's the completed circuit:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvRCvBtV3lI/AAAAAAAAAFo/4XGIV3HLaQ0/s1600-h/sensor.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvRCvBtV3lI/AAAAAAAAAFo/4XGIV3HLaQ0/s400/sensor.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5401015228803964498" /&gt;&lt;/a&gt;

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvRC4hr7KII/AAAAAAAAAFw/9S7Rn-JtD94/s1600-h/board-sensor.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvRC4hr7KII/AAAAAAAAAFw/9S7Rn-JtD94/s400/board-sensor.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5401015392006776962" /&gt;&lt;/a&gt;

&lt;p&gt;Now I just need to figure out how and where to mount it on my table.

&lt;p&gt;And here it is:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvR_FDLFASI/AAAAAAAAAGA/aoPxbr2ONc0/s1600-h/sensor.in.place.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 400px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvR_FDLFASI/AAAAAAAAAGA/aoPxbr2ONc0/s400/sensor.in.place.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5401081577851912482" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-8014647718264310851?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/8014647718264310851/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/im-watching-you.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8014647718264310851'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8014647718264310851'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/im-watching-you.html' title='I&apos;m watching you'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_D4Da07WDejk/SvRDiXG2NoI/AAAAAAAAAF4/wfTj-4YADDI/s72-c/schem.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-824802020627947181</id><published>2009-11-05T07:27:00.001-08:00</published><updated>2009-11-05T07:31:23.745-08:00</updated><title type='text'>The Force is all around us</title><content type='html'>&lt;p&gt;I finally got everything machined and connected. Behold, it moves!

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/vul6TXOHmLo&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/vul6TXOHmLo&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;

&lt;p&gt;It is a bit slow at the moment. Though I can live with this. The motor is specked as having 0.36Nm holding torque. However my drive circuit is pretty primitive and does not squeeze the maximum out of it. I've ordered a driver board that hopefully will get more speed and power. Here's the table in a high resolution photo:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvLvAEYnJzI/AAAAAAAAAFY/MXRjLFyA8p8/s1600-h/table.moving.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvLvAEYnJzI/AAAAAAAAAFY/MXRjLFyA8p8/s400/table.moving.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5400641687626655538" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-824802020627947181?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/824802020627947181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/force-is-all-around-us.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/824802020627947181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/824802020627947181'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/force-is-all-around-us.html' title='The Force is all around us'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/SvLvAEYnJzI/AAAAAAAAAFY/MXRjLFyA8p8/s72-c/table.moving.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-4911259543966528331</id><published>2009-11-03T10:50:00.000-08:00</published><updated>2009-11-03T10:58:23.570-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='stepper'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Driving a stepper</title><content type='html'>&lt;p&gt;So I managed to build a circuit to test-run the stepper motor. I used two Allegro A3953 IC-s to drive the two coils of the motor.

&lt;p&gt;The motor is actually a 6-wire motor, ideally driven with a unipolar driver. But as I don't have that I just used halves of the coils and ran it as bipolar.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SvB8DKiphcI/AAAAAAAAAFQ/XFxlyE1CaeM/s1600-h/stepper.circuit.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SvB8DKiphcI/AAAAAAAAAFQ/XFxlyE1CaeM/s400/stepper.circuit.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5399952347028358594" /&gt;&lt;/a&gt;

&lt;p&gt;I got this motor off ebay. It's a 400-stepper, very small, cost me 8&amp;euro; including shipping.

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/xdOSQkAdk3M&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/xdOSQkAdk3M&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-4911259543966528331?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/4911259543966528331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/driving-stepper.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4911259543966528331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4911259543966528331'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/driving-stepper.html' title='Driving a stepper'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/SvB8DKiphcI/AAAAAAAAAFQ/XFxlyE1CaeM/s72-c/stepper.circuit.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-1444085178998659637</id><published>2009-11-03T07:26:00.001-08:00</published><updated>2009-11-03T07:31:30.112-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Vises and vices</title><content type='html'>&lt;p&gt;I finally got my cross vice (or cross vise for American english). Amazing how these two languages are diverging.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/SvBL3w6DPvI/AAAAAAAAAE4/8NYFpAnsz3A/s1600-h/crossvice.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 400px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/SvBL3w6DPvI/AAAAAAAAAE4/8NYFpAnsz3A/s400/crossvice.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5399899374610497266" /&gt;&lt;/a&gt;

&lt;p&gt;Also I got a few stepper motors I can start playing with now. As I don't really have any experience with them.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/SvBMI6-HBUI/AAAAAAAAAFA/0vwK9pyV7X4/s1600-h/steppers.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/SvBMI6-HBUI/AAAAAAAAAFA/0vwK9pyV7X4/s400/steppers.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5399899669369652546" /&gt;&lt;/a&gt;

&lt;p&gt;I also have a ball screw attached to the rig. I got it a few weeks ago and had the ends machined. Also I got some oldham couplings - that is a way to connect the shaft of the stepper to the shaft of the screw. The black belt to the right is the energy chain.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SvBMe8uUTMI/AAAAAAAAAFI/eUmST3Ax2gs/s1600-h/ballscrew.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 300px; height: 400px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SvBMe8uUTMI/AAAAAAAAAFI/eUmST3Ax2gs/s400/ballscrew.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5399900047797406914" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-1444085178998659637?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/1444085178998659637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/11/vises-and-vices.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/1444085178998659637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/1444085178998659637'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/11/vises-and-vices.html' title='Vises and vices'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/SvBL3w6DPvI/AAAAAAAAAE4/8NYFpAnsz3A/s72-c/crossvice.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-7831257479894524910</id><published>2009-10-19T07:22:00.000-07:00</published><updated>2009-10-19T07:35:32.471-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>And the Lord God formed man of the slime of the earth: and breathed into his face the breath of life, and man became a living soul</title><content type='html'>&lt;p&gt;I finally managed to properly assemble my build platform. The frame is made out of aluminium profile. There's a company around that sells and cuts it to size. Pretty cool stuff to work with. I'd say this is like LEGO for engineers (engineers, not adults:).

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Stx4VRBqUBI/AAAAAAAAAEI/W24IwSsAJBA/s1600-h/platform2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 389px; height: 400px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Stx4VRBqUBI/AAAAAAAAAEI/W24IwSsAJBA/s400/platform2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5394318760425967634" /&gt;&lt;/a&gt;

&lt;p&gt;At the top left corner you can see a bearing unit. I'm planning on putting the ball screw through it. But at the moment that's still in transit. Plus I need to get its ends machined somewhere.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-7831257479894524910?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/7831257479894524910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/10/and-lord-god-formed-man-of-slime-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7831257479894524910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/7831257479894524910'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/10/and-lord-god-formed-man-of-slime-of.html' title='And the Lord God formed man of the slime of the earth: and breathed into his face the breath of life, and man became a living soul'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_D4Da07WDejk/Stx4VRBqUBI/AAAAAAAAAEI/W24IwSsAJBA/s72-c/platform2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-8794874806228662275</id><published>2009-10-10T08:00:00.000-07:00</published><updated>2009-10-10T08:06:12.845-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Rail, first try</title><content type='html'>&lt;p&gt;Now that I have drills and stuff I can make some proper holes. And this is the first result. The printing head mounted onto rails.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/StCiRE4O8dI/AAAAAAAAAD4/Sj4EIyJhSns/s1600-h/rails1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/StCiRE4O8dI/AAAAAAAAAD4/Sj4EIyJhSns/s400/rails1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5390987168213561810" /&gt;&lt;/a&gt;

&lt;p&gt;This video shows it "working". I have yet to construct a platform to mount it to and also I lack the means to propel it back and forth. I'm planning on using a lead screw.

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/NUL4j3DD0Us&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/NUL4j3DD0Us&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-8794874806228662275?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/8794874806228662275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/10/rail-first-try.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8794874806228662275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/8794874806228662275'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/10/rail-first-try.html' title='Rail, first try'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/StCiRE4O8dI/AAAAAAAAAD4/Sj4EIyJhSns/s72-c/rails1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-2320322402989652553</id><published>2009-10-10T03:37:00.000-07:00</published><updated>2009-10-10T03:55:58.748-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>Bench drill</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/StBkVKxRqfI/AAAAAAAAADw/Z-5GjsisxH8/s1600-h/bench.drill.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 203px; height: 400px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/StBkVKxRqfI/AAAAAAAAADw/Z-5GjsisxH8/s400/bench.drill.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5390919068793547250" align="right"/&gt;&lt;/a&gt;

&lt;p&gt;A week ago I tryed to make a hole into a thicker aluminium piece with my makita hand drill. And. I failed spectacularly. The hole was not straight enough so that once I mounted the detail to a motor axel it was just wobbling all over the place.

&lt;p&gt;So I decided to get a bench drill. Most probably a slight overkill but will be useful. Here it is. Optimum's Quantum B14: 350W, 520-2620 RPM.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-2320322402989652553?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/2320322402989652553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/10/bench-drill.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/2320322402989652553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/2320322402989652553'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/10/bench-drill.html' title='Bench drill'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_D4Da07WDejk/StBkVKxRqfI/AAAAAAAAADw/Z-5GjsisxH8/s72-c/bench.drill.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-4082306689427034334</id><published>2009-10-09T07:41:00.000-07:00</published><updated>2009-10-09T07:42:15.287-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>Tool rack</title><content type='html'>&lt;p&gt;It could be I'm a tad crazy. But I decided to get a tool panel. Here it is:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/Ss9LsvYOvVI/AAAAAAAAADo/e9-hVfsk-e8/s1600-h/toolrack1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/Ss9LsvYOvVI/AAAAAAAAADo/e9-hVfsk-e8/s400/toolrack1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5390610510990196050" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-4082306689427034334?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/4082306689427034334/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/10/tool-rack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4082306689427034334'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4082306689427034334'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/10/tool-rack.html' title='Tool rack'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_D4Da07WDejk/Ss9LsvYOvVI/AAAAAAAAADo/e9-hVfsk-e8/s72-c/toolrack1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-5035163043232212612</id><published>2009-10-02T22:20:00.000-07:00</published><updated>2009-10-03T03:55:14.839-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='motors'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Playing with a DC motor</title><content type='html'>&lt;p&gt;So I got the DC motor yesterday and all the chips to run it with.

&lt;p&gt;Here's my setup with the motor: &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_D4Da07WDejk/Ssbjl3oX11I/AAAAAAAAADY/oYHmMImHdnM/s1600-h/dcsetup2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://3.bp.blogspot.com/_D4Da07WDejk/Ssbjl3oX11I/AAAAAAAAADY/oYHmMImHdnM/s400/dcsetup2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5388244243923326802" /&gt;&lt;/a&gt;

&lt;p&gt;The motor is a 4.5-15V up to 22W with a 750:1 gear reduction. But it seems I got the wrong motor. You see I mixed up RPM and RPS in my head for some reason. Haven't worked with motors before so.. But still pretty embarrassing. Don't tell anyone.

&lt;p&gt;I'm using a RECOM R-785.0-0.5 DC/DC converter to make 5V for the logic chips out of the supply voltage (works in wide range so good for my testing).

&lt;p&gt;Motor is run using an Allegro 3953 full-bridge PWM DC motor driver. One thing to note here is that I burned my first chip at motor braking testing, probably because I didn't bother to properly setup the sensing pin. Then again I haven't dared to retry braking using my second and currently only chip. There was some smoke, panic and excitement. Fortunately it seems nothing else burned.

&lt;p&gt;And everything is controlled with an ATMEGA48 microcontroller. I moved on to using its PWM functionality (instead of the inbuilt PWM of the Allegro) to modulate the motor.

&lt;p&gt;Now I've been playing with this motor here to get an idea how it works but found another way to play it. Forgive the pun. Here's a video:

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/MduewGWx4PY&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/MduewGWx4PY&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;

&lt;p&gt;Basically, when doing very high frequency PWM the shaft inside the motor tends to just vibrate. Here's a better melody, a known tune by Beatles:

&lt;p&gt;&lt;center&gt;&lt;object width="480" height="385"&gt;&lt;param name="movie" value="http://www.youtube.com/v/5ovkFl8uLQ0&amp;hl=en&amp;fs=1&amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/5ovkFl8uLQ0&amp;hl=en&amp;fs=1&amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-5035163043232212612?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/5035163043232212612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/10/so-i-got-dc-motor-yesterday-and-all.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/5035163043232212612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/5035163043232212612'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/10/so-i-got-dc-motor-yesterday-and-all.html' title='Playing with a DC motor'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_D4Da07WDejk/Ssbjl3oX11I/AAAAAAAAADY/oYHmMImHdnM/s72-c/dcsetup2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-4757155026168700797</id><published>2009-09-30T10:09:00.000-07:00</published><updated>2009-10-01T00:09:19.174-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>Power supply</title><content type='html'>&lt;p&gt;Today got my brand new bench power supply I can use for high current/high voltage applications. I have run all my previous electronics projects off simple batteries. However, this project here requires experimentation with high current DC motors.

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_D4Da07WDejk/SsOT8cLIQWI/AAAAAAAAAC4/EMie_Dy4NDc/s1600-h/powersupply2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://3.bp.blogspot.com/_D4Da07WDejk/SsOT8cLIQWI/AAAAAAAAAC4/EMie_Dy4NDc/s400/powersupply2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5387312245829550434" /&gt;&lt;/a&gt;

&lt;p&gt;So the model is MATRIX MPS-3005L-3. It has one fixed output at 5V/3A and two variable outputs at 0-30V/0-5A. It has a big-ass fan at the back that is quite noisy. But I guess that was to be expected. Pretty heavy too - 8kg.

&lt;p&gt;It is clearly Chinese though, as all cheap electronics these days. This can be readily verified from this chinglish:

&lt;p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/SsRVkM4CqQI/AAAAAAAAADI/4JyfpPsZmP0/s1600-h/chinglish.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/SsRVkM4CqQI/AAAAAAAAADI/4JyfpPsZmP0/s400/chinglish.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5387525134661888258" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-4757155026168700797?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/4757155026168700797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/09/power-supply.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4757155026168700797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4757155026168700797'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/09/power-supply.html' title='Power supply'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_D4Da07WDejk/SsOT8cLIQWI/AAAAAAAAAC4/EMie_Dy4NDc/s72-c/powersupply2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-223098097355921365</id><published>2009-09-24T16:04:00.001-07:00</published><updated>2009-09-24T16:06:59.363-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><title type='text'>It's Christmas Come Early :)</title><content type='html'>I got some tools I need for this project.
It seems so far I have not lived like a man. I didn't
even have a hacksaw. I do now :)

&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/Srv7PZRCNEI/AAAAAAAAACo/ayLHeXH3boU/s1600-h/tools.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/Srv7PZRCNEI/AAAAAAAAACo/ayLHeXH3boU/s400/tools.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5385174021350503490" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-223098097355921365?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/223098097355921365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/09/its-christmas-come-early.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/223098097355921365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/223098097355921365'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/09/its-christmas-come-early.html' title='It&apos;s Christmas Come Early :)'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/Srv7PZRCNEI/AAAAAAAAACo/ayLHeXH3boU/s72-c/tools.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-2167344056144469545</id><published>2009-09-13T04:23:00.000-07:00</published><updated>2009-09-13T04:36:32.811-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='printer'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>Into pieces</title><content type='html'>&lt;p&gt;Today I found time to pull it into more pieces. No going back now.
&lt;p&gt;This is the printing rail:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_D4Da07WDejk/SqzWfzTzR2I/AAAAAAAAAB4/i2vq5nEbt58/s1600-h/rail.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://1.bp.blogspot.com/_D4Da07WDejk/SqzWfzTzR2I/AAAAAAAAAB4/i2vq5nEbt58/s400/rail.jpg" alt="" id="BLOGGER_PHOTO_ID_5380911496638449506" border="0" /&gt;&lt;/a&gt; It slides on an aluminum pipe, driven by a motor with two leads. Probably pulse modulated then. Positioning information/motion control is provided by a &lt;a href="http://www.pwb-technologies.eu/01integer/WebObjects/pwb.woa/1/wa/DirectoryWithId/1000027.html"&gt;BPW encoder strip&lt;/a&gt;.

&lt;p&gt;This is the underside of the printer:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SqzWuwCawSI/AAAAAAAAACA/l0DsKJfOzik/s1600-h/underside.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SqzWuwCawSI/AAAAAAAAACA/l0DsKJfOzik/s400/underside.jpg" alt="" id="BLOGGER_PHOTO_ID_5380911753458270498" border="0" /&gt;&lt;/a&gt;

&lt;p&gt;And this is the brain:
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SqzXD8tAAvI/AAAAAAAAACI/tzsT1vaBGDw/s1600-h/brains.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SqzXD8tAAvI/AAAAAAAAACI/tzsT1vaBGDw/s400/brains.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5380912117635351282" /&gt;&lt;/a&gt;
Paper is driven again using a two-lead motor. Motion/position control is provided by BPW wheel and I'll probably use it at my end application.

I'm going to cover up the cartridge/printing heads with some tape to prevent them from drying up. It'll probably be a month or more before I can put life back into it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-2167344056144469545?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/2167344056144469545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/09/into-pieces.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/2167344056144469545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/2167344056144469545'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/09/into-pieces.html' title='Into pieces'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_D4Da07WDejk/SqzWfzTzR2I/AAAAAAAAAB4/i2vq5nEbt58/s72-c/rail.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1049074935738975009.post-4808892337758965284</id><published>2009-09-10T09:24:00.000-07:00</published><updated>2009-09-10T22:13:49.059-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='printer'/><category scheme='http://www.blogger.com/atom/ns#' term='3dp'/><title type='text'>A printer acquired</title><content type='html'>&lt;p&gt;Welcome to my gray projects. Here I will try to document my activities
in trying to make something cool.

&lt;p&gt;The aim at the current project is to build a 3D printer. It will be
difficult as fair amount of mechanical engineering is involved - 
all I'm accustomed to is moving bits around.

&lt;p&gt;So I acquired a printer. I picked the HP F2280. It only has one
print head but they are replaceable. This allows for easy and
relatively cheap experimentation with bounding agents. When
I get there one day.

&lt;p&gt;Here it is: &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SqkpF4aPGqI/AAAAAAAAAA4/sJnqoSPFMHE/s1600-h/printer.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SqkpF4aPGqI/AAAAAAAAAA4/sJnqoSPFMHE/s400/printer.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5379876410889280162" /&gt;&lt;/a&gt;
Cost me $60. Will now try to print a test page using Linux and then I will head on
to destroying it. This will be fun. Yes.

&lt;p&gt;The aim is to utilize the inkjet printing mechanism, so basically leaving
the printing functionality intact. But replacing the ink with adhesive.

&lt;p&gt;It uses cartridges c21 and c22. c21 is the black ink and c22 is the tricolor ink. Both cartridges are installed side by side. Yay! I can do color printing :) There are &lt;a href="http://www.oddparts.com/ink/hp21.htm"&gt;instructions&lt;/a&gt; on how to refill them. This same mechanism can be used to actually replace the ink with something more useful for our purposes.

&lt;p&gt;Printing a page under Linux took a bit of juggling, but finally worked. Then I decided to take my first action, and opened the cover. The scanner side is just a piece with embedded motor, gears and rollers. The timing belt is made from hard plastic.
&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_D4Da07WDejk/SqlGvqu4s4I/AAAAAAAAABg/WxAwFMbck38/s1600-h/opentop.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_D4Da07WDejk/SqlGvqu4s4I/AAAAAAAAABg/WxAwFMbck38/s400/opentop.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5379909014609507202" /&gt;&lt;/a&gt;

&lt;blockquote&gt;[0]indrek: envy me :)&lt;br&gt;
[5]logan: oh ok&lt;br&gt;
[5]logan: what am i looking at indrek?&lt;br&gt;
[0]indrek: a hp printer. opened up. ready for surgery.&lt;br&gt;
[1]ns: indrek can you fix printers&lt;br&gt;
[1]ns: could u fix my espon printers indrek&lt;br&gt;
[5]logan: what are you going to do to it?&lt;br&gt;
[0]indrek: terrible things. muahahaha!&lt;/blockquote&gt;

&lt;p&gt;Here's where the middle part has been lifted off: &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_D4Da07WDejk/SqlLUH_4kzI/AAAAAAAAABo/P36zquGr54k/s1600-h/insides.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_D4Da07WDejk/SqlLUH_4kzI/AAAAAAAAABo/P36zquGr54k/s400/insides.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5379914038987232050" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1049074935738975009-4808892337758965284?l=grayprojects.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://grayprojects.blogspot.com/feeds/4808892337758965284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://grayprojects.blogspot.com/2009/09/printer-acquired.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4808892337758965284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1049074935738975009/posts/default/4808892337758965284'/><link rel='alternate' type='text/html' href='http://grayprojects.blogspot.com/2009/09/printer-acquired.html' title='A printer acquired'/><author><name>Indrek Mandre</name><uri>http://www.blogger.com/profile/17348178969025093350</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_D4Da07WDejk/SqkpF4aPGqI/AAAAAAAAAA4/sJnqoSPFMHE/s72-c/printer.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
