Month: March 2014

  • Rachel’s “Pig in a Bucket”

    Rachel’s original design of the “Pig in a Bucket” is shown in the photo below, bottom centre. She wanted her pig to make sounds when you squeezed its nose. We have also added sensors to the ears!

    Group photo, showing Rachel's "Pig in a Bucket" at the front.
    Group photo, showing Rachel’s “Pig in a Bucket” at the front.

    This is still a work in progress, and although much of the hardware has been constructed, the sensors for the nose and ears have yet to be built. Here is what we have so far.

    There’s a hole in my bucket ..

    We started with a plain galvanised 15l steel bucket, and then cut the bottom out of the bucket with a jigsaw to provide access to the electronics (when they are fitted). The hole had quite a rough edge after using the jigsaw, so this was flattened down with a planishing hammer and dolly!

    Galvanised steel bucket with bottom cut out.
    Galvanised steel bucket with the bottom cut out.

    A small hole was also drilled in the side of the bucket for fitting the on/off/volume switch. The electronics are mounted on a wooden panel that fits into the bucket near the bottom, but leaving enough room for the electronics. The photo that follows shows some of the electronics mounted onto the board:

    Amp and speaker mounted on base board - the Arduino was removed for this picture.
    Amp and speaker mounted on base board – the Arduino was removed for this picture.

    The board was glued into place in the bucket, so that it does not fall out:

    Base board glued into place
    Base board glued into place near the bottom of the bucket

    Rear view of bucket showing the base board with the electronics mounted. You can see the on/off/volume switch at the side of the bucket. The sound is produced by an Adafruit WaveShield attached to an Arduino Uno. The sound is fed through a 3.5W mono Kemo amplifier and into a 5W Visaton full range speaker. There is a small amount of buzz which I haven’t managed to remove, but it is not noticeable when the sound is playing. The whole thing is powered by a 1000mAh Turnigy Li-Po RC battery, as they are light and powerful.

    Electronics mounted onto base board and glued into the bucket
    Bottom view – Electronics mounted onto base board and glued into the bucket

    The bucket still needs to be decorated (as per Rachel’s design), the pig fitting and the sensors fitting to the pig. We’re hoping to complete this part by next week ready for the next workshop at MERL.

    Below – we are attaching the new nose (containing an off the shelf pressure sensor) and the ears (which each contain a pressure sensor constructed form resistive plastic). The pressure sensor in the nose is situated between the cream coloured foam and the pink foam which forms the end of the nose (which Kate made independently, and managed to get the dimensions spot on!). It was intended as a ‘push’ sensor, so pushing on the end of the nose would trigger the sound, but it also appears to work well when squeezed, which is an added bonus.

    Adding the new nose and ears to the pig
    Adding the new nose and ears to the pig

    The ears were more difficult to construct. We wanted the whole area of the ear to work as a sensor, rather than an isolated area, which would be the case if we used a small off the shelf pressure sensor. So we used conductive (copper taffeta) fabric with resistive plastic (Velostat) sandwiched in between. The resistive plastic becomes more conductive the harder you squeeze it, so it works like a simple variable resistor.

    Constructing the ears
    Constructing the ears from resistive plastic and conductive fabric

    One downside to the construction of the ears was that they have to be kept flat. Bending them would lose the resistivity. We did (obviously) try to create curved ears, but they were very inconsistent in operation and unreliable. Hence we stuck with flat ears and made sure they were attached to the pig flat! The wires were attached (using ordinary wire) to the ears by sewing them with conductive thread to the tabs at the bottom (see image below), and then gluing in place:

    Squeeze sensor ears for the pig in a bucket
    Squeeze sensor ears for the pig in a bucket

    There was also a slight bug in the software when we initially tested it out, but it was easy to solve, and the finished item is below. It’s beautifully colourful!

    Rachel's 'Pig-in-a-bucket'
    Rachel’s ‘Pig-in-a-bucket’
  • Sian’s mooing boot

    Development of the mooing boot.

    In the image below, Sian is holding the boot that she developed at the workshop sessions that we held at MERL. She covered the boot with faux cow hide and wanted it to moo when touched.

    Sian holding the wellington boot covered in faux cow hide that she designed. This is the original boot which was used as the basis for the mooing welly.
    Sian holding the wellington boot covered in faux cow hide that she designed. This is the original boot which was used as the basis for the mooing welly.

    To produce the mooing sound, we used an Arduino UNO together with a wave shield, a 3.5W mono amp and a small speaker:

    Arduino UNO with waveshield and amplifier
    Arduino UNO with waveshield and amplifier

    To trigger the sounds with the Arduino, two contact microphones, a tilt switch and a pressure sensor were used. The two contact microphones were stuck to cardboard bases (about 10cm square), and the bases were then glued to each side of the boot – these formed the strokable areas:

    Contact mics
    Contact mics before attaching to cardboard bases.

    Initially, we tried to construct a simple squeeze sensor using resistive plastic (Velostat) and copper fabric. However, although it worked very well when constructed as a flat sensor, the curved version that was attached to the boot was very tempremental! Subsequently, we opted for a pressure switch which works very well:

    Pressure switch using to trigger a sound when the tow area of the boot is squeezed.
    Pressure switch using to trigger a sound when the toe area of the boot is squeezed.

    The speaker was attached to a wooden base which fitted inside the opening of the boot and secured from slipping with a thin aluminium band screw into the boot. This was later covered with fur to match the boot. The image below shows the fur being attached with contact adhesive:

    Faux cow hide being attached to the speaker base
    Faux cow hide being attached to the speaker base.

    The Arduino sketch that triggers the sounds was written so that when the sides of the boot were stroked, the toe squeezed or the boot tilted forward, the sound would play. The sound will continue to play as long as the boot is stroked or the toe squeezed and will stop approximately 2 seconds afterwards. Email me if you would like me to send you the Arduino sketch.

    Here are some images of the final boot – we will upload some video when it is tested out:

    The mooing boot
    The mooing boot

    Below is a picture of Claudia holding the boot after attaching the faux hide – she did the nice needlework!

    Claudia holding the mooing boot
    Claudia holding the mooing boot