Você está na página 1de 45

Good news, everyone! Here is a story about building my very own Bender.

This, as everyone
should know, is the foul mouthed, cigar smoking, booze drinking, shiny metal arsed, bending
robot from the programme Futurama. More information can be found in the Wikipedia Futurama
entry .
Of course just having a Bender that doesn't do anything would be a waste of time so mine shall
be used for a practical purpose. One Bender himself would be proud of. I'll use him to make
beer! This was actually done in the show in the episode "The Route of all Evil". The idea was
suggested to me by my drinking buddy Dave. I didn't remember this until he provided the proof
(typos and all):
[3/30/2007 9:21:20 AM] Simon Jansen says: Everytime I watch Futurama I want to build a bender.
[3/30/2007 9:24:14 AM] David Moore says: do you remember the episode where they brew beer inside Bender?
[3/30/2007 9:24:26 AM] David Moore says: you should build that.... a Bender brewer
[3/30/2007 9:24:28 AM] Simon Jansen says: Vaguely.\
[3/30/2007 9:24:37 AM] David Moore says: he gets all maternal
[3/30/2007 9:24:42 AM] Simon Jansen says: I could buil done out of real steel.
[3/30/2007 9:26:49 AM] David Moore says: season3 episode12: The Route of All Evil
[3/30/2007 9:26:56 AM] David Moore says: title refers to money, not beer
[3/30/2007 9:27:27 AM] Simon Jansen says: How about a Bender beer fridge? Get one of those mini fridges and
build that into him?
[3/30/2007 9:28:00 AM] David Moore says: no a brewer
So, credit where credit is due!
In addition to this my Bender shall talk thanks to his very own brain. A brain, again as specified
in the show in the episode "Fry and the Slurm Factory", made from a real MOS 6502 processor.
This processor powered some of the great early computers such as the Vic 20 and the Apple 2
(both of which I have owned at some point). What follows is how to go about doing this. Bender
is not yet complete but I shall explain what I have so far and add more as he is completed.
The first problem was figuring out what Bender looks like. Of course everyone knows what he
looks like right? This is true but Bender is a cartoon character and trying to make a 2
dimensional character into a real, believable thing isn't easy. You only have to look at Anakin the
Manikin from the new Star Wars films to see that! I started by watching as many episodes of
Futurama as possible then searching the net for pictures. Then I started making my own
drawings of Bender. I certainly didn't get every detail exactly right but I think he is sufficiently
Bender like to be instantly recognisable. I had to do a best guess at Benders height but to the top
of his antenna he seems to be about 6 feet tall. In the episode "The Cyber House Rules" we get
to see a mug shot of Bender that also shows his height to be about 6 feet. The body dimensions
were chosen to look about right and so that my beer brewing barrel would be able to fit inside the
body. When I have built other props and models in the past they have always been actual
objects to start with. You can often find real dimensions to work with or else work them out
yourself from photographs and screen shots. You can't easily do that from a cartoon. From my
first rough sketches I started drawing more detailed plans taking into account how I would
physically build him. I then transferred these small drawings onto a piece of paper taped to the
back of a door. This allowed me to draw Bender full size to make sure the proportions looked
right. I did need to tweak my dimensions a little still but I finally got him looking about right. Or so
I thought.
Figure 1. The door plan, router circle jig, cutting circles with the
jig.
Once I had the basic shape figured out I had to start thinking about how to physically build him.
This is the part I like best. I decided to use a building style I had tried once before on a still
unfinished R2D2 I was making. The basic frame is made from rings of MDF with round dowels to
hold them together and provide a frame. On R2 I had planned to wrap the body in white styrene
sheet. I decided to make Benders body a little differently. I used cardboard as a covering that is
then overlayed in fibreglass. Because Benders body is smooth this should work rather well. His
legs are straight as he has to take the weight of a beer brewing barrel on them. The body, head
and shoulders and arms can all be very light weight.
The body base and top (and feet and head) are circular so I needed a way to cut nice circles
from the MDF. The way to do this is to make a jig to hold a plunge router and use this to make
the circular cuts. The jig is simply another piece of MDF with the router bolted onto one end and
a hole for a pivot somewhere on it. Obviously by changing the pivot point you can change the
size of the circles cut. Since Benders body tapers and I needed to attach vertical dowels to the
outside of it I had to make the cuts on the top and bottom of the body with a taper. To do this you
simply mount the router on the jig at an angle. From my full size door drawing and with a little
trigonometry I was able to measure the angle needed and set the router up appropriately. I cut
the first discs and made Benders body by then screwing lengths of dowel to the outside of the
discs. You need to make sure the two discs are both centered correctly but a few pieces of
scraps timber as a temporary frame and a plum bob allowed me to do this. Once I had
completed the body I discovered I'd had a visit from Mr. Cock-up and mangled the angle of
Bender's dangle! I had made the body too tapered. So, like any good perfectionist, I threw that
one away and made another. I modified the shape slightly to make the body more cylindrical and
I also tweaked the height and width. The new body came out looking much nicer.
Figure 2. Routed rings (with dead squished Weta), feet and leg
details.
Once the body frame was done I made the shoulders and head. The head is simple. It's just two
rings of MDF with dowels making up the sides to form a cylinder. The dome on top is added
later. The shoulders are a little trickier. The lower part is another ring of MDF with the correct
taper for the shoulder cut into it. Leading up from these are dowels cut on an angle. These
dowels go up to an upper ring that is the same diameter as the bottom of the head. The head and
shoulder parts are designed to lift off the body so you can get to the beer brewing barrel inside.
Even though the body does have a door on the front (which shall be made from thin car steel)
this isn't a big enough opening to get the barrel in and out. The door opening sides are formed by
the wooden framing dowels. The top and bottom of the door frame are made from curved pieces
of MDF. I used a Dremel tool to cut round notches into the ends of these pieces so they will fit
tightly against the round vertical dowels. They are then glued into place. The legs and feet were
again made from wood. The feet are made from two discs of MDF held together in the middle
with a steel strap across the top of them. The legs are made from two straight pieced of timber
simply glued and screwed to the round foot base. As mentioned they are perfectly straight so
that the weight of the beer inside him is transferred straight down to the feet.
Figure 3. Feet domes, frame, shoulder and head detail.
The domes for the eyes, head and feet are polystyrene balls cut in half with a hot wire. The
wire is nichrome resistance wire from the local electronics shop. I simply held two pieces of
wood in the vice in a V shape and strung the wire tightly across them. A battery charger supplied
the current. The size of Benders feet and head was carefully chosen so that I could get the
spheres in the exact sizes I needed. I am also using cut up polystyrene spheres for the
shoulders. One sphere was cut in half to make the feet. A hole was made in each half so they
could slide down over the wooden legs. Then the 80mm diameter PVC down pipe was slid down
over the top of the legs. The legs were then screwed and glued to the base of the body. The
dome on the top of the head was another half sphere of polystyrene glued to the top of the head
cylinder. Before fibreglassing using polyester resin you have to seal the polystyrene otherwise
the resin will eat it away! To seal the polystyrene away I used several techniques (I make this
stuff up as I go along so it's all trial and error) and they all seemed to work well. The feet I
covered in several layers of Papier-mch. I then used a thick acrylic house paint to seal over
that. For the head I used aluminium foil glued over the dome then again multiple layers of acrylic
paint. I suspect just using paint would have been enough as long as there are enough layers to
completely seal the dome.
Figure 4. Covering the frame and insulating.
Once the legs were attached I could cover the body. The body is actually double skinned as I
glued thin card to both the inside and outside of the frame. Between the two layers I used quilting
material as insulation. The idea being it should be easier to keep Benders internal temperature
constant which I think is better for when the beer is brewing inside him. The shoulder part is also
covered in thin card. The shoulders will actually be finished off last as I want to build the base of
them up to exactly fit the outline of the top of the body. This should give Bender a nice even join
between the body and the shoulders. Small wooden dowels will be used as locating pins
between the head and shoulders and the shoulders and body. The head was also covered in
thin cardboard and the eyes made up from cardboard with another polystyrene sphere cut in half
for the actual eyes. Again these were sealed with glued on foil and layers of acrylic paint. The
antenna, added after the head was fibreglassed, was kindly made for me by a skilled wood
turner. Actually I don't know that this particular piece taxed his skills much as it only took him a
few minutes to make! The bottom of the antenna was glued into a hole in the top of Benders
head. The polystyrene of the dome was drilled out and we also bored a hole right down the
centre of the wooden antenna. Through these holes I run a wire to a ultra bright red LED. The
LED is stuck into an opaque plastic sphere at the top of the antenna which lights up red
whenever Bender's remote is used. The sphere is the ball from a roll on deodorant and
happened to be almost exactly the right size!
Figure 5. Foiling and painting (yes, and unfortunate beer tap
placement).
Once all the cardboard was in place I covered everything in layers of fibreglass. I am using
polyester resin (instead of epoxy resin) since it is cheap and easy to work with. If you need to
add more layers later you can just lay them on over what you have already done. I am using
woven cloth instead of chopped strand mat as it was easier to work with over the surfaces I
needed to cover. I applied cloth to both the inside and outside of the body and over the top of the
PVC legs as it will be much easier to paint the fibreglass on the legs rather than trying to paint
PVC. Only one layer was needed on the legs as there is no need for strengthening there. The
body needed about three layers to make it sufficiently rigid. Once the fibreglass has set you can
begin trimming the excess and start sanding. This takes a long, long time and created quite a lot
of dust so I did this outside wearing a good dust mask. It is work mentioning that when laying up
the fibreglass I also used a good respirator (with solvent filters) and wore gloves. You don't
really want to breathe in the fumes or let the resin contact your skin. Bender has only been
roughly sanded so far. To get him really smooth you also need to apply car body filler (we call it
bogging down here in NZ) then sand that off to get a nice smooth surface to paint. It takes a lot
of filler to get a nice smooth surface. You end up applying a lot then sanding most of it off again
but it is necessary to do this if you want a nice finish before painting.
Figure 6. Fibreglassing the parts.
Before I finish bogging/sanding him I need to build the arms. When I started I wasn't quite sure
how to make the arms. I was confident some inspiration would come to me! The first thought I
(and most people) have is to use flexible ducting. This would have been good as it would allow
the arms to bend and be moveable. I decided against it for several reasons though. The first
reason was I don't think it will look correct. Benders arms and legs are smooth with five black
lines around them to highlight the sections. Flexible duct doesn't have the correct smooth shape.
The second, and main reason, was simply because I couldn't get ducting the correct diameter. I
needed something that would match the 80mm diameter of the PVC I used for the legs. I have
now decided the arms will need to be rigid (although able to rotate) and they will be made from
fibreglass over some kind of central core. The core is made from something I discovered in the
local plastics shop and is something I have used as a former for curved mud guards on a mini
bike project in the past. Pool noodles! These are long tubes of foam used as flotation devices by
children in swimming pools. They are almost exactly the right diameter and they have a hole
right through the middle of them. My current plan is to use a piece of half inch copper water pipe
bent into the correct shape for the arms. The pool noodle will slide over the copper pipe which
will hold it in the correct curved shape. The shoulders will be attached firmly to the body but the
base of the arms will be pivoted inside the shoulders so they arms can be rotated into different
positions. The hands will probably be made from a cardboard or plastic former again covered in
fibreglass. The fingers can simply be wooden dowels.
That is basically where Bender's body is at today. Since it is Winter here now and the weather
has been somewhat unpleasant I have been spending a lot of time indoor working on the other
major part of the Beer Brewing Bender project - the brain!
Figure 7. A tidy work space is essential, the 1541 floppy drive and
it's circuit board.
As I mentioned one of the geek jokes on Futurama is that Benders brain is using a 6502
processor. The chip was invented in 1975 and was used in many of the early home computers.
My first computer was a Commodore Vic 20 back in about 1984 and both this and the later Apple
2s I owned used this processor. I thought it would be interesting to use a real 6502 processor
and make my own computer from scratch and use this to make Bender talk somehow. I had
previously built for a circuit for an earlier Lightsabre project where a PIC 16C84 microprocessor
is used to play samples stored in memory. The processor is used to control a binary counter
that simply clocks out data from the memory chip and latches it through to a simple D to A
converter to turn it into sound. I decided I could use the same idea but with a 6502 instead of a
PIC.
Now a PIC is a modern processor. Basically it is an entire computer on a chip and it needs very
few other components to get it do anything useful. A 6502 is old school though. To actually make
it do anything you need a lot of support circuitry and other chips. At a minimum you need a clock
generator, RAM, ROM and I/O (input-output) as well as a lot of logic 'glue' to make it all work
together. I did say this project would be interesting, not simple! The specifics of the 6502
computer and audio board I built deserve their own page which I shall put up soon (with circuit
diagrams and code) but here is the basic idea.
When I was researching using the 6502 I came across an interesting fact. The Commodore 64,
another very successful early home computer, used a variant of the 6502 (the 6510). Even
though the C64 itself doesn't use a 6502 the 1541 floppy drive used with them did. In fact the
floppy drive contains a 6502 and all the support circuitry you need to make your own computer.
As it happens I happened to have an old 1541 floppy drive sitting under my parents house after
someone gave it to me sometime over 10 years ago. I went and rescued it and found it was in
pretty good condition. My original aim was to modify and use the drive pretty much as it was but
in the end I decided to use the parts (mainly the 6502, the 2016 RAM chip and the 6522 I/O chip)
to make my own, smaller single board computer. I am using pretty much the same core circuit
as the 1541 drive but with only one I/O chip and with a slightly easier to find ROM chip as the
original 2364 EPROM is difficult to get these days.
Figure 8. My 6502 based audio and CPU board, wiring side and the
wireless transmitter.
Building the computer went very well. I use experimenters strip board with point to point wiring
using enameled copper wire. You can get several different types of wire but the one to be used
for this is the kind where the red insulation can be burned off with a soldering iron. Unfortunately
when I was testing the circuit disaster struck! Having a somewhat messy work area I
inadvertently plugged the wrong power supply into my circuit board and immediately sent the
CPU, the RAM and the I/O chip off to silicon heaven! The project came to a halt at that point as
without the CPU and other chips I couldn't do much. I was going to look on TradeMe, the local
auction web site, for a replacement 1541 drive to scavenge parts from but in the end I
discovered a nice little site online in the states who supply old chips for people restoring old
computers and arcade games - ArcadeComponents.com. I ordered a new CPU, RAM and I/O
chip for very, very reasonable prices (actually I ordered two of each in case I had any more
'accidents') and once they arrived I was able to continue.
Once I knew my replacement chips were on the way I started on the audio part of the circuit. I
wanted to build this so it would be testable without needing the 6502 computer to drive it.
Basically how it works is as follows. I am using old 27C2001 2Mbit x 8 EPROM chips I bought
from the local surplus electronics supplier. I am using three of these chips to store audio
samples in 8 bit 16kHz raw format. The circuit will support up to 10 audio ROMS but three fitted
nicely on the circuit board. Each chip allows me to store around 15 seconds of audio so I have
about 45 seconds in total. The processor selects which chip is the one being played from. To get
the audio out of the chips I use a binary counter attached to the ROMs address lines. The
counter is driven by a 555 timer based clock on the audio board. The processor can control via
an AND gate when to send the clock signal through to the counter. The output of the audio
ROMs is fed into a latch then into a simple R2R D to A converter. This converts the digital bits
into an analogue signal. The signal is fed to a small onboard amplifier attached to an old PC
speaker.
By resetting the binary counter and then starting the clock the circuit increments up through the
ROM address space clocking out samples one at a time to be converted into sound. If you start
addressing at 0 and let it keep clocking it will simply play the entire contents of the chip then loop
around to the start again. That would give you 15 seconds of audio in one go. What I wanted to
be able to do was play different, shorter samples randomly so Bender can have many things to
say. The way I did this is to break the address space into separate spaces or pages. But having
the 6502 processor be able to set the top four bits of the binary counter before you start counting
you can break each ROMs address space into 16 evenly sized blocks and you can start playing
at any one. The top four bits are set on a presetable binary counter which is simply a counter
that can be set with a starting value and it will then count up from there rather than zero. To
know when to stop playing a sample I encoded a value of 255 into the sample. Some simple
logic on the audio board can detect this value (since all 8 data bits are set) and this causes a
hardware interrupt back to the processor so it knows to stop playing. To start playing I simply
poll an input on the processor I/O board. Samples may span more than one block. I built the
audio board in such a way that I could simulate the processor inputs into it and test it in stand
alone mode. that way I was able to build and test the audio circuit and be sure it was working
before finishing off the 6502 computer.
Figure 9. 6502 CPU board, audio board, remote with brain, light and
wireless receiver.
Once my new 6502 and other chips arrived I was able to finish building the computer. I had
many problems to solve along the way and actually had to buy a new oscilloscope in the end to
be able to debug my circuit and code but eventually I got the computer to work. This is now all
nicely interfaced with the audio board and controlling it. The code is very simple. It knows the
chip and starting location of all the samples stored in the brain. In the end I recorded 15 different
Bender sayings from Futurama episodes. The code simply loops around all the starting
addresses storing each one one particular memory location. Between storing each value I poll
for a input which tells me it is time to start playing. If the input is there the processor simply uses
the last starting value it stored and outputs the correct chip selection and starting address bits to
the audio board and starts the clock running. While playing other inputs are ignored but the
addresses keep looping. When playing stops it simply starts looking for another trigger signal.
Because the looping of the 15 addresses is done so quickly you never know quite which
address it on when the play is triggered giving a more or less random selection of samples.
To hear the samples stored on each of the chips click below:
Chip_1_8bit.wav (241 kB)
Chip_2_8bit.wav (235 kB)
Chip_3_8bit.wav (251 kB)
The "faith and begorrah" saying on chip two is in memory of my Irish friend Davina. No, she
didn't die. Something much worse. She went to Australia!
The triggering is done by a separate circuit board. The simplest trigger is just a push button on
this board but I wanted something better than that. I wanted it to be triggered by remote control
and in particular with a remote like one they used on the show. In the episode "War is the H
Word" a bomb is placed inside Bender that can be activated by a remote control. I bought a very
simply ASK transmitter and receiver module which is usually used for small wireless remotes
and adapted that to work as a remote control for Bender. The actual remote case has been
styled to look similar to the one in the episode. Now, with each press of a button Bender will talk.
Holding the buttons down Bender just keeps talking saying random things. Also when the button
on the remote is pressed the ball on top of his antenna lights up red. I have provision for two
other inputs to trigger the talking. I will probably put a sensor on Benders metal door and use that
as one trigger and I am undecided how (or if) I will use the other at the moment. The remote is
surprisingly effective and with only simple antennas I was easily getting 20-30m range from it.
By the way the place to find out anything about the 6502 and 6502 based projects is here at
6502.org.
Figure 10. The real remote and mine showing how the remote and
antenna light glow. Bender is looking menacing but really he's
armless (boom boom)!
July 1st 2007
Finally some progress has been made on Benders arms. Today I used my router circle cutting
jig to make small wooden discs to be the ends of the arm and wrist as well as mounting points
for the shoulders. The discs are slightly smaller than the diameter of the pool noodle. The shape
of the arms is made from half inch copper water pipe. Into one end of each pipe I soldered a
8mm nut. This is the shoulder end which will be attached to the body with a 8mm bolt threaded
through from inside the chest. The pipe when then carefully bent using a vice. The pipe does end
up kinked and squashed but this doesn't matter as none of that is seen.
Figure 11. Mounting nuts and pipes, copper arms bent and attached,
pool noodle covering.
I then made holes in the centre of two of the wooden discs and hot glued them to the copper
pipe. I was then able to slide a length of noodle over the copper tube. I found that the tight bend
in the pipe meant I needed to cut V shaped notches into the noodle to get it to bend nicely around
the pipe. As the arms will be covered in fibreglass these notches don't matter at all. I covered
over them with strips of masking tape. Once the noodle would fit nicely I hot glued another
wooden disc to the wrist end of the arms. The noodle is glued on it's ends to each disc. I did a
temporary test fitting of the arms and they look great! I still need to make the shoulder fitting
which will consist of a wooden disc on the inside and the outside of the body. These will be
bolted to each other with the body in between. Through the middle of them will be an 8mm bolt to
which the arms threads on. A spring should allow the arms to be rotated and positioned where
ever I like. The hands will probably be attached to the end of the arms using strong magnets so
they too can be positioned as I like.
Figure 12. Arms aren't bendable but they are able to rotate into
various Bender poses.
I have added the shoulders now. These are simply more cut up polystyrene spheres. These are
painted over then covered in fibreglass to form a hard shell. Inside the body I have glued a
wooden disc through which goes an 8mm bolt into the end of the arms. There are several
washers and a spring (taken from an old fridge compressor) to provide tension on the arms.
They can rotate but will stay in whatever position they are put in due to the spring tension.
Figure 13. Details of the shoulders and the internal arm fixing bolt
and tension spring.
I also did some work in mounting the brain into a unit more suitable for head based installation.
The circuit boards are mounted to a red plastic base board. This board has switches and
sockets on it. The switches are the main power switch and a push button reset switch. There
are sockets for an external power supply as well as a RCA socket to plug the speaker into. On
the rear of the mounting board is a four D cell battery holder. The brain can be run on either the
plug in power supply or off the battery making it completely portable. The brain and speaker will
be mounted (somehow) into the head.
Figure 14. The completed brain with battery supply.
August 5th 2007
No pictures just now but I have started fibreglassing Benders arms and shoulders. I found that
painting the polystryene isn't enough. The resin got into the paint and slowly ate the shoulder
formers away as the resin hardened. I was hoping the resin would go off before the polystyrene
former disappeared and it seems I did manage to get away with it. One shoulder is a little lumpy
but nothing some sanding and bogging won't fix. I have also done several layers on one arm as I
can only work on one at a time. It will need a lot of sanding and smoothing off as it is tricky
fibreglassing over such a curved surface but I am sure it will work out in the end. Unfortunately I
have run out of woven cloth which means next weekend another trip to the fibreglass place. One
good thing I discovered thought is pool noodle foam is resin poof meaning I didn't have to do
anything fancy covering that foam before laying on the fibreglass.
I am also working on drawing up the circuit diagram of the brain and associated circuitry.
August 11th 2007
I did an early morning trip out to New Zealand Fibreglass to get more cloth this morning. If
anyone is doing a fibreglass project like this I can recommend them. There is another place
closer to me, Nuplex Industries, but they were completely hopeless. I called them and the guy
on the phone was utterly useless. So I decided to pop down there to see if I could get better
service in person. Nope. I think it was the same utterly useless guy. After ignoring me for 5
minutes he finally came to see what I wanted. I told him what I was doing and asked what he
thought would be the best resin to use. He didn't know. I asked what the best cloth to use would
be and he recommended some rather thick chopped strand mat. I suspect because that's all
they seemed to have. I asked how much resin do you need for a certain amount of cloth. He
didn't know. I asked him how much it would cost and he couldn't tell me that either. I think he'd
been sniffing too many fumes from the resin spill that seemed to have been left in the middle of
the floor. So yes, definitely leave them well alone and go to NZ Fibreglass instead is my advice.
When I got home I did some more on one of the arms and will start the other soon. I need to hold
each arm in the vice to be able to lay the glass onto them so I can only work on one at a time. I
also drew up part of the circuit diagram for the brain. So far I have only done the CPU board but I
shall hopefully finish the audio board soon. This circuit should be pretty close to the finished
product but I make no guarantee it will work as drawn. There may be errors in it. I had to do a bit
of a brain-ectomy and partially dismantle it to be able to trace out parts of the circuit I hadn't
properly documented when I prototyped it.
Figure 15. Click on the image to bring up the diagrams and source
code.
The audio part of the circuit is now included above
Figure 16. Making the arms shorter.
People are probably wondering about the lack of updates. It's not due to a lack of progress,
more due to the fact the work being done is tedious and boring. I have been continually coating
Bender in resin and sanding Q cells (small glass beads mixed in with the resin to bulk it up and
make it easy to sand smooth) and then sanding him back to get a nice smooth surface to him. In
the pictures above the head, body and legs are all covered in one of many layers of grey primer.
The right arm is whiter than the left because it has a heavy coating of resin and Q cells still
waiting to be sanded smooth. For the sanding I use an electric random orbit sander. You need to
make sure you wear a good dust mask so you don't inhale any of the sanding dust. It is best to
sand outdoors too due to the amount of dust created. Unfortunately that left me at the mercy of
the weather meaning I could only work on Bender on fine days.
I also added the hands which are made from two plastic cups cut to size. They were hot glued to
the ends of the arms and then a circle of wood was hot glued into the open end to close them off.
The whole hand was then covered in several layers of fibreglass and faired smoothly into the
arms. About this time I decided I had messed up and made the arms a bit too long. So I took a
hacksaw and chopped a 100mm section from the middle of each arm. The image above give a
good cross sectional view of one of the arms. To rejoin the two halves I used more hot melt glue
(wonderful stuff!) and masking tape wrapped around the outside. Then several layers of
fibreglass over that. Once sanded smooth the join is strong and invisible.
Figure 17. Final painting.
Once everything was sanded smooth and covered in sanding primer (and sanded yet again) I
applied the top coats. I used a custom mix of grey paint for the overall colour. The paint I am
using is Dulon car paint. I had to take a Futurama comic book to the paint shop to ge the colour
matched accurately. That turned out to be difficult as in the comic they use different shades of
grey all the time. I picked something representative and gave Bender a good number of coats of
it using a spray gun and air compressor. One problem with using car paint is it is typically
designed to be glossy straight out of the gun. Bender came out too shiny! You can see the gloss
in the first picture. Now despite Bender always commenting on his shiny metal ass it actually
isn't that shiny. In fact Fry mentions this in the pilot episode. To get around this I had to wait until
the paint was dry then go over the whole thing with a fine flexible sanding block. This took the
shine off the paint and gave Bender a more accurate matt look. In the last picture you can see
the arms are still very glossy while the body and head are now dull.
Before painting the arms I added the fingers which are simply pieces of wooden dowel hot glued
into place. To make sure they don't break off I drilled them down the centre and added a smaller
dowel that fits into holes in the wooden end plate of the hands. Unfortunately I made a mistake
painting the arms. The arms and legs (and antenna) are actually a darker shade of grey from the
rest of the body. I had a hard time finding a spray can that matched the right colour. I tried
several but didn't get the shade I wanted. I didn't want to have to get a whole litre of custom paint
made up for those small areas that needed painting. In the end I discovered that the zinc rich
primer I use when welding was actually about the right shade. I sprayed that on the legs and that
worked great. When I tried it on the arms however it reacted with one of the test coats of paint I
had tried (just on the arms). I had to sand all the paint off the arms again and then re-spray them.
The eyes and mouth, which most people are surprised to find are yellow not white, were sprayed
using spray can paint. I had to mask of the rest of the head with tape and paper then sprayed a
number of coats to build up a nice depth. I left the eyes and mouth glossy.
You will probably notice here that the shoulder section still looks very rough. This part I am
leaving till last as I want to build it up so the joint between the body and bottom of the shoulders
is nice and accurate. At the moment the shoulders are slightly smaller than the top of the body
leaving a small step in the join. The head is just sitting on top of the shoulders and it is easily
lifted off but it is located in position by two wooden dowels. These protrude up from the shoulders
into small holes in the bottom of the head.
Figure 18. Mounting the brain inside the head.
One thing I have been wondering about for some time was the best way to mount the brain
inside the head. The solution in the end was quite simple. I simply bent the aluminium bracket I
used as a stand to sit the brain on into a square J shape. I then bent a piece of brazing rod into a
simple hanging bracket that is screwed up into the top of the head. The brain simply hooks over
that rod and hangs freely inside the head. The switches and controls are at the base of the
hanging brain so you can reach them from inside Benders body. I am still not sure the best place
to put the speaker for the voice. Inside the head the sound is somewhat muffled so in practice
the speaker may need to sit inside the body on top of the beer keg. I will wait until the door is
finished then figure out the best placement for the speaker then.
Figure 19. The completed head.
Once the eyes and mouth were painted and the brain mounted I finished up the rest of the head.
Around the eyes I painted matt black paint using a small brush and a small touch up jar of paint.
The eyes and mouth lines are made using black car insulation wiring tape. This is different to
normal insulation tape in that it is very low tack (since in a car normal insulation tape will turn into
a gooey mess over time). The tape can easily be peeled off if I want to change the shape of his
mouth later on. For now I went with the square look. The ball on the top of his antenna lights up
red when a button on the remote is pressed to make him speak.
November 25th 2007
Bender is finally complete! I finally finished off his shoulders and his door which is made from
real sheet steel. To make the door I first marked out the rough dimension on a sheet of steel
ensuring that the piece of steel was bigger than the opening in the body. I am using thin car
panel steel which is only about 0.8mm thick so easy to work. I then roughly made the curve in
the steel using my welders gas bottle as a former. It is easy to carefully bend the steel around
the tank starting at one edge and working around to give an nice even curve rather. Once the
bulk of the curvature was formed in the steel small adjustments were made simply bending it by
hand.
After the curvature was such that it matched the profile of the body I temporarily taped it in place
over the opening then I was able to scribe a line from inside that matched the hole for the door.
When cutting the steel I found the easiest way to get a nice smooth line was to lay a strip of
masking tape along the steel and use the edge of that as a line to cut against using Gilbow metal
snips.
Figure 19. Making and fitting the steel door.
To hinge the door I used three small metal hinges. I ground the end off and removed the pins
which I replaced with short lengths of brass welding rod bent so I can easily remove the door
again if I need to. One half of each hinge was simply MIG welded to the door. The other side of
each hinge was screwed into Benders wooden frame. I did have to do some minor surgery with
the router to get a flat surface on the framing dowels to screw each hinge down to. The door is
held in place with a simple magnet on the right hand edge. The door knob is simply a small disc
of steel slightly curved to match the profile of the door. It has a smaller curved washer under it to
make it stand off the door panel by a mm or two. These were then welded to the door.
After finishing the door I also finished the shoulders which was a simple matter of building up the
surface with fibreglass and body filler then sanding it smooth so it matched the bottom of the
head and the top of the body. Benders head can be turned by turning the head and shoulders
together.
So finally Bender is complete!
Figure 20. Bender complete!
Here is Bender still in the garage where he was born, errr, made. Soon he will be venturing out
though. You can see him here with his door painted to match the body and you can see how the
beer brewing keg fits inside him. The beer tap rotates so the door can be closed over it. Don't
mention the placement of the tap. It makes Bender angry as you can see in the lower left.
His scowl I made from a left over polystyrene sphere the same size as the one used for his
eyes. I wrapped it in tin foil then added several layers of fibreglass. Once that had dried I sanded
it all smooth then using a hacksaw I cut out two sections similar to the sections you get when
you cut an orange. I epoxied these to a flat plastic base and painted the whole thing with the
same matt black paint as used around his eyes. The scowl can then be clipped into place as
needed over the eyes and held in place with a small blob of Bluetac.
The cigar was made from an old whiteboard marker pen I cut up and painted. The burning end is
made from black felt with a disc of red felt in the end. Inside the marker I have a small penlight
torch which when switched on causes the red felt to glow. The cigar is held in place with a
strong magnet in the base with another inside the head attracting it into position.
Finally a picture of Bender playing one of his favourite computer games!
Still to come is the actual brewing of beer.
Figure 21. Bender doing beer research, beer brewing kit and
fermenter.
Finally the time has come for Beer Brewing Bender to fulfill his destiny. Beer making time!
The beer we are making is made from a kit bought from the local brewing supply place
(Brewcraft in Mt Edenhttp://www.ebrewcraft.co.nz across the road from Galbraiths pub
http://www.alehouse.co.nz). The different things you need are shown above. First Bender and I
had to go do some research at my favourite local pub, Galbraiths. He is looking pissed off
because 1, I didn't get him a drink before taking the picture and 2, he needed phone books to
stand on to reach the bar. His extending legs were broken that day.
In the middle picture above you can see most of the things you need to make beer.
Sugar. Usually you'd use dextrose but in this case I am using something called an enhancer.
This is a mixture of sugar, malt and hops. This is supposed to give the beer a fuller flavour than
just sugar alone.
Tin of beer concentrate and yeast. These come together as a package.
Sterilising power sachets. You mix these with water and use them to clean the fermenter,
bottles and all the equipment you use.
Hydrometer and measuring cylinder. This is used to measure the specific gravity of the beer.
Mixing spoon.
Sugar tablets. Used when bottling to add the last bit of sugar to the beer before conditioning.
Fermenter. With airlock and temperature strip.
One of the most important things is everything has to be very clean. Wash everything then
carefully sterilise everything that will come in contact with the brewing beer.
When everything is sterilised we can start mixing the ingredients.
Figure 22. Mixing up the beer.
First you need to sit the can of concentrate in hot water for 10 minutes or so to make it more
runny. Even then it is the consistency of honey. It also has the taste of beer flavored honey. In
fact for a second I was seriously considering buying some just to spread on my toast in the
mornings. Woo! Beer for breakfast!
Once the can has heated up you transfer it into the fermenter. Next you mix up the
sugar/enhancer with 2L of hot water. Sugar will dissolve easily but the enhancer you need to mix
in carefully to avoid it forming lumps. I mix it a bit at a time in the tin the concentrate came in then
transfer that to the fermenter. Once the sugar/enhancer is thoroughly mixed in with the
concentrate you fill up the fermenter to just under 23L with water. You must make sure the
temperature is between 18-28C to avoid killing the yeast which is added next. The yeast is
simply sprinkled into the top of the barrel then mixed in.
I mixed the concentrate and sugar with the fermenter on my kitchen bench. Then I placed the
fermenter inside Bender's body before adding the rest of the water.
Figure 23. Closing up the fermenter and taking the original SG reading.
Once all the water and yeast is added you put the lid onto the fermenter. This has a rubber seal
to give a good airtight fit. In the top of the fermenter is a hole to which is added an airlock. The
airlock is a bent plastic tube you half fill with water. As the beer ferments it gives off bubbles of
CO2 gas. This gas bubbles out of the airlock but no air can get in.
In the second picture I am taking a sample of the mixture before any fermentation has begun. If
you take a specific gravity (SG) reading at the start and another at the end of fermentation you
can calculate the alcohol content of your beer. I did feel a little dodgy taking that sample given
where the tap is. Bender didn't seem to mind. With a sample in the measuring cylinder you float
the hydrometer in it. This floats at different levels depending on how much sugar there is in the
mixture. As the yeast converts the sugars into alcohol the SG changes. You can tell when the
fermentation is over when the SG value remains constant. As the beer is fermenting you take
periodic readings to follow it's progress.
The initial reading I got was a SG of 1.034.
Figure 24. Bender with brewer inside.
I will add further updates as the brewing continues.
December 22nd 2007
Bender isn't happy. For some reason the beer isn't bubbling. This could be due to several things.
1, the mixture was too hot before adding the yeast and it died in the hot conditions. Or 2, the
airtight fermenter isn't actually airtight. I took a SG reading though and it has dropped. From
1.034 to 1.014 so it seems something is happening. The instructions say you bottle when the
reading has been stable at around 1.006 for a few days. I shall keep going and see if it does
indeed continue to drop. I also checked the seal around the lid of the fermenter and found that
where the two sides of the moulded plastic container join there was a ridge of plastic. This might
be preventing the 0-ring in the lid from sealing properly so I carefully cut this away with a sharp
knife. Hopefully now the container will pressurise correctly.
Figure 25. Lack of bubbles make Bender an angry Bender.
More updates to follow.
December 30th 2007
Bender's bubbly personality finally came through! After making sure the fermentor was sealing
correctly the beer did start bubbling through the airlock. This continued for quite a few days but
has now slowed considerably. A SG reading shows the beer is not quite ready for bottling by
giving a reading of 1.008. Bottling has to be done once the beer goes below 1.006 according to
the instructions otherwise there is a chance the bottles will over pressurise when the final
amount of sugar is added and they could explode! I will give it another day or two then take
another reading. If it has stopped changing I will bottle it despite the reading being a touch high.
January 2nd 2008
The day finally arrived. Bottling day! The SG readings finally settled on 1.006 (just) and stabilised
so today I bottled the beer.
The procedure is something as follows:
1. Clean and sterilise the bottles. I use 750mL plastic PET bottles. A batch of beer will fill 30 of
them.
2. To each bottle add sugar. I use sugar drops and add two per bottle (see below). The additional
sugar is to allow for extra fermentation in the bottle. This is what causes the beer to have
bubbles.
Figure 26. Sugar drops to carbonate the beer in the bottles.
3. Remove the airlock from the top of the fermenter to allow the beer to flow freely.
4. Warm your hands (Not normally necessary but Bender insisted on this step before letting me
near his tap).
5. Slowly, with each bottle tilted to avoid frothing, fill each bottle from the tap.
6. Tightly cap each bottle.
Once all the bottles are full and the caps tightened we are almost done. Now we must wait. The
bottles must be stored somewhere warm for 5 days. This is to allow the secondary fermentation
to take place. This pressurises each bottle with CO2 gas. After the 5 days you move the beer
somewhere cooler to allow it to mature. You can supposedly start drinking the beer after a week
but generally the longer you leave it the better. The plastic bottles however probably limit it to a
year or so before they start leaking.
Figure 25. Bender looking pleased with himself for a job well done.
By the way I did have a little taste of the beer before I bottled it. It wasn't totally unpleasant. It
tastes very green but it had a fair amount of body. Yeasty with maybe just a hint of Mom's
Old-Fashioned Robot Oil!
January 7th 2008
The bottles have now all pressurised in the warm and are ready to be put away in the cool until
ready to be tasted! As one final finishing touch each bottle was given it's own Bendrbrau label.
Many thanks to my friend Jen who did the graphics for the labels for me.
I did have a little problem printing them out however as my crappy HP printed decided to die. I
'fixed' it however.
With my oxy-acetylene welding/cutting torch
(http://www.youtube.com/watch?v=Z5V8sKjMUF0)!
And I tell you, that felt great!
Figure 26. BENDRBRAU - Let's get drunk!
Now all there is left to do is drink it once it has matured!
This is the circuit for the CPU part of the brain. For
the sake of clarity I have not shown the decoupling
capacitors across each IC or all the unused logic gates.
Any unused logic needs to have it's inputs tied either
high or low to avoid odd things happening in the
circuit. Floating inputs are bad! I have also left off
the details of the power supply. I used a LM2940 Low
Dropout regulator to give me a stable 5 volt supply. The
input can be from a wallplug pack or from 4 D cells.
Remember I am not an electronic engineer so this circuit
may not be optimal. It does work though!
It is based rather heavily on the original 1541 disk
drive circuit. I simply took off the bits I didn't need
such as the second VIA, second ROM and all the I/O
circuitry and added my own clock and manual reset
circuit. I also used a 27C64 EPROM. The original drive
uses two 2364 devices which are impossible to get now.
One thing people may wonder about is the flip-flop
between the CPU and clock generator on the right hand
side of the diagram. That is a clock divider circuit
which I had to use since the CPU I have is a 1Mhz device
and all I could get locally were 2Mhz clock crystals!
Below is the circuit for the audio part of the brain.
The circuit is a little convoluted I guess and there are
definitely much easier ways to do this but I was making
use of the parts I had easily available. Basically a
timer drives a binary counter which then addresses bits
out of whichever ROM chip is selected by the CPU at the
time (I could have up to ten but I only used three). The
top four bits of the counter (A14 - A17) are presettable
by the CPU and these are set just before a play starts.
Setting the address also resets the two lower bit
counters back to zero. Using these top four bits means
the memory is effectively split into pages with each
page start being addressable using these bits. The
samples are stored starting on a page boundary so the
CPU can start playing at the beginning of each sample.
The samples may be longer than one page in length. To
detect when to stop playing I encoded at the end of each
sample the maximum 8 bit value, 255, and I detect when
all the output bits go high with an 8 input NAND logic
gate. This causes and interrupt signal to the VIA which
then interrupts the processor which knows it should stop
playing. The audio is converted from digital to analogue
with a simple R-2R ladder. This provides good enough
audio quality for the simple speech I am playing. I use
a LM386 on the audio board as a small amplifier. The
clock is a simple 555 timer based circuit which runs all
the time. The clock signal is gated to the rest of the
circuit by the CPU. When a play finishes the clock
signal is switched off stopping the play and we simply
wait for another play trigger input.
Below is the 6502 assembly language. Again I am not a
professional software engineer. Actually, I am, but not
in 6502 assembly language. This was my test code and
first real 6502 assembly language program so again it
might not be efficient or pretty but it does the job. I
did that thing all software engineers will know about. I
said I'll do a prototype then rewrite it once I know how
it works. Of course we'll never ship with that prototype
code.....
rom_start = $E000 ; Start of ROM memory
reset = $FFFC ; Reset vector
interrupt = $FFFE ; Interrupt vector
via = $1800
via_b = via + $0 ; VIA port b
via_a = via + $1 ; VIA port a
via_bdir = via + $2 ; VIA port b direction 1 = output
via_adir = via + $3 ; VIA port a direction 1 = output
via_pcr = via + $C ; VIA peripheral control register
via_ier = via + $E ; VIA interrupt enable register
chipsam = $07FE ; Store the chip and sample to play
playing = $07FF ; Are we currently playing flag
.ORGrom_start
;Initilisation
LDA #$FE ; Load ACC with b11111110
STA via_bdir ; Set VIA port b all output except b0 input
LDA #$FF ; Load ACC with b11111111
STA via_adir ; Set VIA port a all output
LDA #$CC ; Load ACC with b11001100 - PCR
STA via_pcr ; Set VIA PCR for CA2, CB2 held low, CA1, CB1 high->low transition
LDA #$82 ; Load ACC with b10000010 - IER
STA via_ier ; Set VIA IER for CA1 active
LDA #$00 ; Clear the playing flag
STA playing
CLI ; Enable interrupts
; Simply loop around storing each samples location in memory.
; Then poll to see if we were triggered to start playing.
loop
c1s1 LDA #$00 ; Data b0000 0000 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 0000
JSR poll
c1s2 LDA #$02 ; Data b0000 0010 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 0010
JSR poll
c1s3 LDA #$06 ; Data b0000 0110 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 0110
JSR poll
c1s4 LDA #$07 ; Data b0000 0111 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 0111
JSR poll
c1s5 LDA #$08 ; Data b0000 1000 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 1000
JSR poll
c1s6 LDA #$0A ; Data b0000 1010 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 1010
JSR poll
c1s7 LDA #$0C ; Data b0000 1100 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 1, address 1100
JSR poll
c2s1 LDA #$10 ; Data b0001 0000 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 2, address 0000
JSR poll
c2s2 LDA #$15 ; Data b0001 0101 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 2, address 0101
JSR poll
c2s3 LDA #$17 ; Data b0001 0111 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 2, address 0111
JSR poll
c2s4 LDA #$19 ; Data b0001 1001 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 2, address 1001
JSR poll
c2s5 LDA #$1D ; Data b0001 1101 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 2, address 1101
JSR poll
c3s1 LDA #$20 ; Data b0010 0000 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 0000
JSR poll
c3s2 LDA #$23 ; Data b0010 0011 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 0011
JSR poll
c3s3 LDA #$25 ; Data b0010 0101 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 0101
JSR poll
c3s4 LDA #$2B ; Data b0010 1011 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 1011
JSR poll
c3s5 LDA #$2D ; Data b0010 1101 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 1101
JSR poll
c3s6 LDA #$2E ; Data b0010 1110 - CHIP SELECT/ADDRESS
STA chipsam ; Store data - chip 3, address 1110
JSR poll
JMP loop
; Polling subroutine. In here we check if the button is pressed (portb 0 == 0)
; and if so start playing the currently stored sample.
poll
LDA playing ; Check if we are playing
AND #$01 ; 1 == playing
BNE return ; We are playing so just keep looping
LDA via_b ; Not playing so check VIA port b
AND #$01 ; Check portb 0 == 1 (button NOT pushed)
BEQ play ; No button is down, start playing
JMP return ; Button NOT pressed so return
play
LDA chipsam ; Retrieve the chip and sample data
STA via_a ; Push it to the VIA port a
LDA #$40 ; Data b0100 0000 - Reset and load
STA via_b ; Load data on port b
LDA #$80 ; Data b1000 0000 - Start playing
STA via_b ; Load data on port b
LDA #$01 ; Set the playing flag
STA playing
LDA #$82 ; Load ACC with b10000010 - IER
STA via_ier ; Set VIA IER for CA1 interrupt active
return
RTS ; Return
; Interrupt service routine. this is triggered when the 6522 VIA interrupts
; at the end of a sample. We store the ACC, clear the interrupt. We reset the
; audio board by clearing port a, resetting the counters and stopping the play.
; Then reset the playing flag, restore the ACC and continue.
isr
PHA ; Store the accumulator
LDA #$02 ; Load ACC with b00000000 - IER
STA via_ier ; Clear VIA IER for CA1
LDA #$00 ; Reset port back to zero
STA via_a ; Push it to the VIA port a
LDA #$40 ; Data b0100 0000 - Reset and load
STA via_b ; Load data on port b
LDA #$00 ; Data b0000 0000 - Stop playing
STA via_b ; Load data on port b
LDA #$00 ; Clear the playing flag
STA playing
PLA ; Retrieve the accumulator
RTI ; Return back to looping through samples
.ORGreset ; Reset vector
.WORD rom_start
.ORGinterrupt ; Interrupt vector
.WORD isr
Knjigu napravio Masni palac
Kopirano sa: http://www.asciimation.co.nz/bender/index.html

Você também pode gostar