28 Jan 2012

OpenSCAD

It’s been a pretty busy Christmas period having moved house (again) but I’ve been making some more progress on the chassis. One of the things that has been bugging me with my current system based on Illustrator is that it is so difficult to make small changes (e.g. the material thickness) because you have to manually go and tweak all of the dimensions of all of the slots and holes to compensate. So on my normal rounds of exploring makers on the web I came across this smart bottle carrier which mentioned that it was built in OpenSCAD which allows you to make parametric changes to the design to adjust it for things like this. Screenshot

A few days later and I’ve been making steady progress on getting my design into this awesome program. It’s pretty basic, but extremely powerful, especially if you can program. Some things take a very long amount of time (e.g. trying to do any curved edges!) but others, especially those that are simple repeating elements or geometrical operations can be defined easily in code are very quick.

One of the nice things about this program is that it should make it easier when I open the designs because if someone wants to cut it themselves but only has 4mm ply, they should be able to just adjust the material thickness constant to suit. It should then be possible to just export as a DXF and start cutting.

For some reason, I also find it to be an extremely satisfying process and have been enjoying it massively.

Read more
28 Nov 2011

Pen arm working

Here’s a quick demo of the pen arm in action:

I’m pretty happy with how it’s working. Now I just need to get the drive train working. I think a few things are conspiring against it at the moment:

  • Underpowered steppers - I’m intentionally using smaller steppers to keep the cost down, but powering these from 5V USB means they haven’t got much power. I’m going to use a 12V battery pack to get a bit more out of them.
  • Drag from the USB cable - the only USB cable I have is pretty stiff so puts quite a lot of drag on the bot. I’ve got a bluetooth module I’m going to use which, in combination with the battery pack, should cut this out of the equation.
  • Lack of grip on the wheels - I tried running an elastic band around the main wheel which did work a bit, but quickly slipped off and made things worse.
  • Not 100% sure I’m driving the steppers correctly so I need to double check that too.

Now I just need to find the time to sit down and dig into it.

Read more
25 Nov 2011

Chassis v2

I got the second version of the chassis back from skpang yesterday and managed to quickly assemble it late last night to see how it is looking. Here’s a photo of it next to the v1 chassis: Chassis comparison

It’s virtually the same design but has a few refinements. This time you can see the “mudguards” which aren’t really mudguards but more like plates that hold the outer end of the axle in place. They seem to work quite well as the wheels are much less wobbly than on the v1 chassis. You can also see the drive wheel that fits on the gear of the stepper motor. Although this is looser than expected it gets held in place quite nicely by the mudguards. There are three of these in different sizes which should give a resolution of 0.5mm, 1mm and 2mm depending on whether you want speed or accuracy. Here’s a close-up:

Drive wheel close-up

The other major refinements in this version were the attachments for the rubber band to keep the pen arm in place. I’m really pleased with how this is working; there’s very little play and the tension holds the hinge in place really nicely. Here’s a close-up of this part:

Pen arm

The main area for improvement, however, is the mount that holds the servo in place that raises and lowers this arm. I’d hoped to rely on friction to keep this held tight, but I think with the tolerances of the laser cutter it’s going to be quite difficult to make this a reliable fit, especially with the elastic levering the arm against it in the opposite direction. Plus, if it gets taken apart and putt ogether again a few times this will likely become loose. Since the elastic bands are working so well elsewhere I’m considering designs based on one keeping it tightly in place, but it also needs to be quite accurately aligned with the arm otherwise it will slip off.

In any case, I should at least be able to get this version moving properly before spinning another revision of the chassis so I’ll hopefully be able to put up some video before too long. Expect the ususal quips about number 5 (or 2) being alive.

Read more
21 Nov 2011

Chassis v1

Despite the lack of activity on this development blog I haven’t been completely idle. On the train whilst commuting to work I’ve been working on the chassis design. The other day I got back the first version and managed to get it mostly assembled to see what works and what doesn’t. It’s not looking too bad. Apart from a couple of missing holes which meant I couldn’t fit the plates that hold the outer end of the wheel axle it mostly fits together OK. Of course I had to do a bit of whittling because I’d designed for 3mm MDF, but the board I used turned out to be 3.3mm (I’ve since bought myself a shiny new pair of digital calipers - like I needed an excuse). Also, I mis-measured the size of the gear on the stepper so the gear wheel that fits on to it doesn’t fit either. I’m using old-school pegs to keep it all together to avoid the use of any more additional components like screws. Apart from the steppers and other electronics, the only components that aren’t laser cut are 7 screws, 4 nuts, 6 washers, 5 elastic bands and a ball-bearing caster wheel (that I’m hoping to eliminate in a future iteration. Still pretty cheap.

Here are a few photos of the assembled chassis. This is an overall view of the chassis:

Chassis

Here’s a close up of the pen arm:

Pen arm

I’m particularly pleased with this part as it only requires one extra part (a screw) to function. Pressure is maintained through the use of elastic bands (which aren’t fitted to this version) and the pen is also held tight by a couple of elastic bands. It sits into a couple of slots on either side of the chassis to keep it nice and rigid and the hinge is made by sitting a 110° corner against a 90° one and using the angle of the elastic band to hold it in place. You can see how this is raised and lowered using a servo in this next picture:

Pen arm raising

Here’s a close up of the motor being kept pressured against the wheel:

Motor

I’m thinking about thinly spreading some rubbery glue on the outer edge of the main wheel which will both grip the floor surface as well as providing grip against this wheel, alternatively another elastic band stretched around it may work well (or it may just keep coming off).

I’m hoping that the next iteration (which I’ve sent off to Sukkin at skpang.co.uk for laser cutting) will assemble without to omany tweaks and I might actually be able to get the whole thing powered up and moving.

Read more