Working on the MendelFlex again

The other day I did some work on the MendelFlex.  I received the smd leds and resistor that I needed.  I had to replace the Mk2a heatbed with an Mk2b heatbed.  The reason was that I had used standard through hole leds and resistor on the Mk2a.  The side that was against the build plate was not smooth and flat due to the soldered ends of the components.  The Mk2b has areas on both sides which allowed me to attach the smd leds and resistor along with the power connectors on the side which won’t be against the build plate.  The Mk2a will work fine with the aluminum plate that I have which has a rectangular cutout just for this purpose.

I soldered the components and power connectors to the board.  I attached the theremistor for the heatbed again.  I got everything hooked up to the printer and the heatbed was working fine with the led coming on like it should when power was going to it.  I used pronterface (aka printrun) to test.  I turned on the heatbed to check how it was heating.  According to the pronterface and the lcd on the printer, the heatbed wasn’t getting hot.  But the hot end was getting hotter.  Well, the theremistor for the heatbed was plugged into the connector on the ramps where the connector for the hot end should have gone.  I shutdown the printer and then switched the connectors.  Tested it again and pronterface and the lcd on the printer indicated that heatbed was getting hotter.  Then I set the temperature on the hot end and that too was getting hot.

Next I started checking the x, y, and z axis movements.  While the movement for the x and y axis seemed to be ok, the z axis movement was not right.  For 100mm of movement, it was only moving about 25mm.  So I looked on the web to figure out the issue.  It had to be something in the Marlin settings.  The DEFAULT_AXIS_STEPS_PER_UNIT value for z in the Configuration.h file needed to be changed. The value was set to this:

#define DEFAULT_AXIS_STEPS_PER_UNIT {80,80,400,1900}

The values are for x, y, z, and e (extruder).  Not really sure what the extruder needs to be set to right now, but will figure that out when I get to that.  Since my z movement was only a quarter of what it should have been, I changed it to 1600 in the Configuration.h using the Arduino IDE.  I then compiled the sketch.  Once I got a clean compile, I tried to upload it to the Arduino Mega on the MendelFlex.  The sketch on the Mega was erased but the new sketch was not uploaded.  Everytime I tried to upload the sketch, I kept getting an avrdude timeout error.  I looked on the internet but couldn’t find a solution.  I gave up for the night.  Today I tried again.  This time I tried to load the sketch to a different Arduino Mega 2560 that I had.  The same thing happened, I got the avrdude timeout error.  So whatever the problem is, it probably wasn’t the board.  I was using the Arduino IDE on MBP.  I have the Arduino IDE on my Win 10 laptop too, so I tried to upload the sketch to the spare Arduino Mega from there.  Well it worked.  I was running version 1.6.9 of the Arduino IDE on the Win 10 and the version of the Arduino IDE on my MBP was 1.8.4.  I tried loading the sketch from my Win 10 laptop to the arduino mega for the printer and it did upload.  I had to recompile and upload a few times while I fooled around with the lcd setting in the Configuration.h file before I got the lcd to work.  But I got it working again. Not sure what the heck the issue is with the newer ide.  I will leave that question unanswered for now.

Now I can see how the z movement goes.  If you remember I changed the axis steps value for the z to 1600.  While I don’t want to use my MBP to compile a sketch, I can still use pronterface to test the movement of the x, y, and z.

In the above picture I set x to 100, y to 100, and z to 100.  It looks good.  I homed x, y, and z to zero, then I took some measurements to make sure the movement is correct.  The z movement was correct.  The x and y were correct also.  I still might have to tweak things a bit.  But things are progressing.

Old School Electronic Kits

I mentioned electronic kits in my last post.  As one guy put it, Old School Electronic Kits where you have to solder various electronic components.

Another soldering required kit that I have come across while looking for controller boards for stepper motors, is the kit from HobbyCNC. Actually they have two different kits, the EZ kit and the PRO kit. The EZ kit will drive 3 stepper motors. The PRO kit will drive either 3 or 4 stepper motors. If you get the PRO kit that only drives 3 stepper motors, you can later get an upgrade that will allow you a fourth stepper motor. Or you can outright get the PRO kit that will driver 4 stepper motors. The only thing about the HobbyCNC controller boards is that they are only for driving uni-polar stepper motors. The 200w stepper driver kit I mentioned in the last post can drive bi-polar or uni-polar steppers. HobbyCNC does sell bundled kits that include uni-polar stepper motors.

There are a number of places on the internet that sell electronic kits of various kinds.  Carl’s Electronics is one such place that has electronic kits and much more.  Get your soldering irons out and make some magic.

 

Greetings fellow makers!

Welcome to my WordPress blog.  This will be where I document some of the projects that I am working on.  The topics will mainly be about 3D Printing, CNC, programming, and related topics.  Basically a new makers blog.

Some of the projects that I will be posting about are:

  1. Finishing up my MendelFlex build
  2. Starting my Prusa I3-Mk2s build (with I3 Steel Frame)
  3. Starting my X-Carve build (I have almost collected all the parts)

I will try to provide relevant links to things that I talk about in my posts that will help the reader follow along.

Speaking of Links, here are a few related to this initial post.

  1. Make Magazine – For the DIY and Maker  http://makezine.com/
  2. MendelFlex – https://flex3drive.com/f3d-printers/mendelflex/
  3. Prusa I3 Mk2S – http://www.prusa3d.com/
  4. Prusa I3 Steel Frame – https://www.thingiverse.com/thing:157303   Also note that while the license says Creative Commons – Attribution – Non-Commercial it is really GPL.  Look at the license section on this link http://www.reprap.org/wiki/P3Steel
  5. X-Carve by Inventables – https://www.inventables.com/technologies/x-carve
  6. Portable work area – This was a project by Ben Heck from a few years back.  The header picture of my blog shows a finished box (I added shelves to mine).  Here is the link.  http://www.popularmechanics.com/home/how-to-plans/how-to/a6615/diy-instant-workbench-plans/