{"id":576,"date":"2014-11-23T21:48:12","date_gmt":"2014-11-23T21:48:12","guid":{"rendered":"http:\/\/www.thinkering.de\/cms\/?p=576"},"modified":"2017-02-20T08:09:38","modified_gmt":"2017-02-20T08:09:38","slug":"ramps-1-4-on-the-velleman-k8200","status":"publish","type":"post","link":"http:\/\/www.thinkering.de\/cms\/?p=576","title":{"rendered":"RAMPS 1.4 on the Velleman K8200"},"content":{"rendered":"<p>After sending my original Velleman K8200 control board to circuit board heaven where it probably met up with the other A4988 chips I&#8217;ve burned in the past, I finally received a RAMPS 1.4 shield, a set of new stepper drivers (which already carried small heatsinks), the <a title=\"RepRapDiscount Full Graphic Smart Controller\" href=\"http:\/\/reprap.org\/wiki\/RepRapDiscount_Full_Graphic_Smart_Controller\" class=\"external external_icon\" rel=\"nofollow\">RepRapDiscount Full Graphic Smart Controller<\/a> and an Arduino Mega.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_120437.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_120437-300x225.jpg\" alt=\"RAMPS 1.4 and GLCD\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-588\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_120437-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_120437-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_123215.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_123215-300x225.jpg\" alt=\"20141121_123215\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-577\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_123215-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141121_123215-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nThe boards I got were manufactured, sold and labeled by a company called Sintron and are very high quality boards I have to say. Now the journey of resuscitating my 3D printer could finally continue.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nFist of all some adapter cables have to be made. The <a title=\"RAMPS 1.4 shield\" href=\" http:\/\/reprap.org\/wiki\/RAMPS_1.4\">RAMPS 1.4 shield<\/a> has got terminal blocks for the heatbed, extruder and fan. You have to select in firmware, which configuration you want to have for your shield. One pair of blocks is fused with a 11 Amp\u00e8re fuse and is meant to power the heatbed, the other two can be configured. Use large wires and 4 2.54mm header pins, 2 for + and 2 for minus because the currents are pretty high here. One bridge cable is needed between the 5A and the 11A positive terminal if you want to use the Velleman power supply. Adapter cables are also needed for the endstop switches. I simply used male-female extension jumper wires and attached them so that they pull to GND when pressed. The Velleman female connectors for the stepper motors and thermistors that were there already fit on the RAMPS 1.4 directly and do not reqire adapter cables. After flashing a raw standard vesion of <a title=\"Marlin\" href=\"http:\/\/reprap.org\/wiki\/Marlin\" class=\"external external_icon\" rel=\"nofollow\">Marlin<\/a> it turned out that the stepper motors for X, Z and the extruder were reversed. Out of liziness I swapped the red and green wire on the connectors for those and didn&#8217;t have to change anything in Marlin. The crimped connectors can be pulled out of the plastic enclosure by pressing down the tiny hook on them with a small nail. There is a nice connection diagram on the RAMPS 1.4 page.<br \/>\nYou can remove the driver for the second extruder if you&#8217;re not using it and keep it as a replacement part.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nNext, the stepper motor current has to be set. The drivers I got didn&#8217;t seem to have the exposed via to measure motor voltage and so I did it the good ol&#8217;way: by listening and turning the pot. The louder the hissing of the motor, the higher the current. What&#8217;s interesting is that sometimes you seem to receive radio stations on the stepper motor driver \ud83d\ude00 Presumably it&#8217;s AM radio. Fascinating! What I&#8217;ve also done is removed the small heat sinks from the X,Y,Z and E drivers and covering the entire PCB of the motor drivers with a strip of Kapton tape and cut out the outline of the A4988 chip with a sharpie knife. Then I reattached the heat sinks. I noticed that that they tend to sink down when you mount the board horizontally upright. That&#8217;s why the&#8217;re called heat <strong>sinks.<\/strong>. Haha. The Kapton just prevents the header pins of the drivers from being shorted out by the heat sink at some point, since the printer vibrates during operation.<br \/>\nI&#8217;ve attached a small heatsink to the bottom of the Arduino Mega board right beneath the linear regulator, since it has to drop 15V down to 5V and therefore produces an immense amount of heat. With the heatsink it seems to be fine so far.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><\/p>\n<p><a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_193906.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_193906-300x225.jpg\" alt=\"20141122_193906\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-578\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_193906-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_193906-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_214441.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_214441-300x225.jpg\" alt=\"20141122_214441\" width=\"300\" height=\"225\" class=\"alignnone size-medium wp-image-579\" srcset=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_214441-300x225.jpg 300w, http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/20141122_214441-1024x768.jpg 1024w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nPretty much everything else has to be adjusted in the Configuation.h file in Marlin. <a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/Configuration.h\">Here<\/a> is my Configuration.h file. The main changes I have made are:<br \/>\n1. selecting the proper board with the extruder-fan-heatbed configuration<br \/>\n2. inverting the endstops<br \/>\n3. selecting the RepRapDiscount Full Graphic Smart Controller<br \/>\n4. enabling SD card support<br \/>\n5. changing the baud rate to 115200 in order to connect a bluetooth module<br \/>\n6. setting the right steps per mm for all axes<br \/>\n7. lowering accelerations. That&#8217;s right. I wanted to try accelerations of 500mm\/s^2 and observe their impact on print quality, since the K8200\/3DRAG is built in X-Y-Table configuration and the motors (especially X) have to accelerate a larger mass than in other printers. Also, I will try printing with lower speeds in the future.<br \/>\n8. Is this it?<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nEDIT: download my complete Marlin version here: <a href=\"http:\/\/www.thinkering.de\/cms\/wp-content\/uploads\/2014\/11\/Marlin-Marlin_v1_GLCDmod.zip\">Marlin_K8200_GLCDmod<\/a><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nOf course you need to download and install the <a title=\"u8glib Arduino Library\" href=\"https:\/\/code.google.com\/p\/u8glib\/\" class=\"external external_icon\" rel=\"nofollow\">u8glib Arduino Library<\/a> prior to uploading. I used version 1.5.<br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\n<br style=\u201dclear:both;\u201d \/><br \/>\nAll in all I&#8217;m very pleased with the RAMPS 1.4 upgrade. The controller offers you the the possibility to adjust print speed on the fly (among many other settings) and print from the SD card without any problems. The system is almost plug and play and can be further extended. For example a wireless option can be added. I&#8217;ve attached a Bluetooth Mate Silver right now, which has level shifters on the TR and RX lines and is therefore 5v-compatible. You can print from RepetierHost directly over the air or control the printer over an Android device both without any problems. There&#8217;s an app around already and I&#8217;m thinking about writing my own&#8230;Also I&#8217;m considering testing Xbee for a longer range.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After sending my original Velleman K8200 control board to circuit board heaven where it probably met up with the other A4988 chips I&#8217;ve burned in the past, I finally received a RAMPS 1.4 shield, a set of new stepper drivers (which already carried small heatsinks), the RepRapDiscount Full Graphic Smart Controller and an Arduino Mega. &hellip; <a href=\"http:\/\/www.thinkering.de\/cms\/?p=576\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">RAMPS 1.4 on the Velleman K8200<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[1],"tags":[],"_links":{"self":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/576"}],"collection":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=576"}],"version-history":[{"count":12,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions"}],"predecessor-version":[{"id":896,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=\/wp\/v2\/posts\/576\/revisions\/896"}],"wp:attachment":[{"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=576"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thinkering.de\/cms\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}