Tuesday, 13 July 2010

Sentries report bearings to the south west. Thousands of them.

Well, 53 to be exact.

I've been looking around to collect Mendel parts for a little while, intending to reproduce from my BfB Darwin. I've picked up four nema17 steppers, built myself some stepper drivers and electronics, and I'm now looking for the mechanical parts. On the parts lists are a significant number of bearings, which can be quite pricey.
Luckily, I found RepRapKit.com, based in the UK, and ordered myself a complete set of bearings for less than 20 quid - much cheaper than everywhere else I've looked so far. Excellent service - I had a couple of emails with him and he seems like a really nice friendly chap. Parts were ordered and dispatched quickly, and delivered next day. I got 51 smaller bearings and two M8/skate bearings (including enough to make a geared/stepper extruder), they all look good and turn well. The store is selling ABS and bearings so far, and is looking to expand into extruders and other RepRap bits.

I also got round to blowing the dust off my BfB Darwin. It needs several bolts tightening and some general maintenance, and I disassembled the three stepper motors, covered them in plastic bags and tape, and ground out some proper flattened shafts using my dremmel. Note : metal filings from filing or grinding are not good inside a precision engineered bearing, and since they're highly magnetic, it does tend to attract the dust.

Make sure the bearings and motors are nicely covered (with blutack/tape/plastic bags) otherwise the dirty bearings will seize or grind away very quickly.

I'd had a go at filing the shafts back during the initial assembly, but didn't have the right tools - I did have a few problems with the axes slipping at times. Once it's all back together, it should be fine this time.

Friday, 25 June 2010

Heater board complete

I've completed and soldered my heater board.

There are 8 PWM outputs from my reprap shield which are boosted using 54A MOSFETS. These should happily drive my extruder heater, heated bed, fans, extra motors, whatever.

I've posted the files to thingiverse. I've also added my single-sided stepper driver files to a thing as well.

I now have four working stepper drivers, one mega shield, and a completed heater PWM board. Only a couple of thermistor sensors, and I'll have a complete set of electronics for a mendel :-)

Saturday, 19 June 2010

RepRap host software on Mac

Just a quick note to anyone trying to get the RepRap host software to run on a new Mac (Mac OSX 10.6.3).
I downloaded the software from the wiki and unzipped it.

To get it to work, I had some problems trying to make it accept a classpath. Eventually I did the following:

Make a directory ~/Library/Java/Extensions
Copy any files with *.jar and *.jnilib extensions to that directory.

The librxtxSerial.jnilib file supplied in the reprap software didn't seem to work. I found one at
http://iharder.sourceforge.net/current/java/ and I replaced it with this newer one.

Go to the reprap host software directory in a terminal window (you need to be in a directory with the rr-logo-green-url.png file in it).

type 'java org.reprap.Main'

This brings up the main reprap windows on my mac, and I was able to load and slice a .stl file. YMMV :-)

UPDATE:
As pointed out by Tony, this is not the most elegant solution. It doesn't help that I was looking at the 'mac-experimental' version from last year, rather that re-building from source :-( oops.

I also found out why I was having problems with the classpath :
java org.reprap.Main -cp $CLASSPATH 
is NOT equivalent to
java -cp $CLASSPATH  org.reprap.Main 

Doh!
This is usually true of any other command-line program, but any arguments AFTER the classname are passed to the class Main() method. I blame late-night programming :-)
Ignore all the java/extension rubbish, just use instructions from
http://tonybuser.com/reprap-host-on-osx-snow-leopard

A command line that also works is
 java -cp "*" org.reprap.Main 

Wednesday, 9 June 2010

Monday, 7 June 2010

Apple service and board PDFs

A few weeks ago, I bought myself an Apple MacBook Pro :-) and I've been really happy with it. However, a few days ago, I had terrible trouble trying to load the Ardunio software - segment faults and Kernel Panics (serious errors!) all over the place.
After a bit of debugging, I tracked it down to a single command - 'java -d32' which would cause a segmentation fault or bus error straightaway. A bit more investigation led me to the Apple Hardware test - which reported a 4MEM error, indicating a bad stick of ram :-(.

I dropped into the apple store today, expecting a delay as they had to send my nice new MacBook off, or at least swop out the ram. The apple 'Genius' was very helpful, and confirmed the bad ram - or possibly a logic board - and went off to speak to the manager.
However, 10/10 for service - despite the fact that I'd been using it for 6 weeks, they arranged a swop for a brand new machine right away! They even copied everything over to the new machine! I picked up my 'new' pc, opened the lid and everything was exactly as it had been on the old machine. I am now a very happy Mac customer :-) - that is an excellent example of customer service.

Also produced some PDF files for the Mega shield - available with the eagle files on the
Eagle files for Renoir's RepRap Mega Shield Page.

Friday, 4 June 2010

Renoir's Mega Shield built

I've been soldering and building and I've finished my mega shield!
From RenoirsMegaShield
The build went well. I 'tinned' the copper pads (using some plumbing flux and a tiny bit of solder), which made the soldering a bit easier. Using a tip (from ladyada?) I converted some standard header pins to some through-pins by pushing them through using the flat on a pair of pliers, three or 4 at a time:
From RenoirsMegaShield
Once I'd fixed the pins, I could put them through into the arduino and check the alignment - OK. I left the pins partially pushed in to maintain the position, and soldered a single pin from each row:
From RenoirsMegaShield
This held them in place when I removed the mega and soldered the rest.
From RenoirsMegaShield
I've now got 10-pin IDC headers for X,Y,Z, and extruder (A) - and a spare (B) using header pins as I ran out of sockets. There's a space for the 20-pin interface connector from the generation 4 designs, and a whole set of +5v/GND/analog in headers for temperature probes, extra sensors, etc. Along the top is an I2C 4-pin header, and similar +5v/GND/digital I/O headers for servos, TX/RX comms, and some PWM pins. 8 PWM outputs are taken to a separate 10-pin IDC header that is intended to go to a MOSFET power driver board to drive the heater and heated bed (coming soon).

Monday, 31 May 2010

Mega RepRap sheild

I've been working for a couple of weeks on a RepRap Arduino Mega shield. I've got a mix of early generation 2 electronics, a few home-made single sided generation 3 stepper boards, and old arduino with a screw-terminal shield and a brand-new arduino mega.

I designed myself a version of an arduino mega shield to connect the gen3 stepper boards using the 10-pin IDC cables, and it might be useful for anyone transitioning between generations of electronics. Headlines:
  • Single-sided for home-made boards
  • 5 stepper driver headers - x,y,z,a,b - should match existing gen3 electronics.
  • (future-proof?) UI interface header that *should* match gen4 electronics.
  • Heater 10-pin IDC (to plug in MOSFET driver board later) - should be able to drive a reprap setup with 1 or 2 extruders/ heated bed without an additional extruder board.
  • I2c header as per standard boards
  • Optional extra 3-pin headers for digital in\out and analog in : +5v, GND, and data pin. This makes it easy to add temperature sensors, kill switches, extra limit switches, etc (I'm only using the min endstops).
If you think it might be useful, the files are here :
Eagle files for Renoir's RepRap Mega Shield

I've just etched one using my laserprinter/laminator method, and I've just etched two more single-sided stepper drivers. I'll post some photos once it's been assembled.

p.s. All files (and anything on this blog) available under creative commons attribution 3.0 licence.
:-)