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.

 

Tindie – A marketplace for maker made products

I have been looking at the maker made products on Tindie for quite sometime now.  There are a lot of interesting things for sale there.

The other day I purchased an item from a vendor.  Before I did, I asked the seller a few questions about their product. We exchanged a few messages via Tindie.  I have asked a few other sellers questions as well and have gotten prompt responses back.  The item I purchased was a Creltek RJ-45 Stepper Breakout board.  It allows you to use Cat 5e cables to hook up your stepper motors. I will wire the breakout board to my stepper controller.  On the stepper side, I will be using these surface mount cat5e boxes from Monoprice.  They are pretty inexpensive.  These parts are slated to be for my X-Carve build.

I have quite a few items on my Tindie wish list. One of the items that looks interesting is this 200w Stepper Driver Kit.  That is 200w of continuous power and not peak.  It is for people who have a standard Ramps or Arduino CNC shield setup and want to drive larger stepper motors. While you can wire it directly to the Ramps (or CNC Shield), you will probably want to use their optional pololu adapters.  So it basically is plug in and go.  Well it is, after you solder it.  It is an electronics kit in the old school sense, you must solder it together.  But there are quite a few Ramps and Arduino CNC shields out there which use pololu drivers, so having an easy retrofit that allows you to use larger steppers is a bonus.  Check them out.

Many of the vendors have their own websites in addition to their Tindie store front.  You might want to check out their websites for sales and lower prices.  As an added bonus they might have a youtube channel with videos featuring some of their products.

 

Gradus M1 Pro

Yesterday I received in the mail, my Gradus M1 Pro Grbl CNC controller.  It accepts pololu style drivers like the SD8825, SD6128, and A4988.  It also accepts the newly developed Bigfoot driver profile which features a larger footprint to accommodate higher current drivers like the BSD4989 running at 4A.  I ordered one with the Bigfoot BSD109A drivers which can handle 3A per phase and up to 48v.

Only 3 of the 4 BSD109A drivers were shipped, so I contacted Panucatt customer support about the missing driver.  They have been good to work with in the past. (Edit: I spoke too soon.  It has been 18 days since I contacted them on Aug 5th.  I contacted them again 6 days ago.  Still no reply back.)  I got in on the Kickstarter that they produced for their RE-ARM Controller for Ramps.  “RE-ARM is a 100Mhz, 32-bit ARM controller with the popular Arduino MEGA footprint. It’s a plug-in replacement for the Arduino Mega in your RAMPS setup for a quick and easy upgrade to 32-bit goodness.”

I am looking at using the Gradus M1 Pro in my X-Carve build.  The nema 23 steppers from Stepperonline that I have ordered are rated at 2.8A per phase.  So the Gradus M1 Pro with the Bigfoot drivers should be a good fit.