Tiberius Tootsie Roll Dispenser

by jac_101 in Circuits > Robots

1910 Views, 16 Favorites, 0 Comments

Tiberius Tootsie Roll Dispenser

Disorganized Whole.jpg

Tiberius the Tootsie Roll Dispenser was created for the LVL1 Hackerspace Halloween Party.

Starting Point

Original Full Dog.jpg
Electronics.jpg

We begin with a fully assembled plastic dog skeleton. And a number of electronic components.

First Row

4 watt speaker

Adafruit Audio FX Sound Board + 2x2W Amp - WAV/OGG Trigger -16MB

Motor Controller

Pump

Arduino Duemilanove

4 watt speaker

Second Row

Adafruit 16-Channel Servo Driver with Arduino

MG90S Micro Servo and horns

Servo Cable Extender

Geeetech Arduino Prototyping Shield

Not included in photo

RGB LEDs

Battery Packs and connectors

4 Momentary Button Switches

Disassemble Dog

Original Disassembled Dog.jpg

Several modifications to the dog skeleton are necessary.

Jaw

Original Jaw Parts.jpg
Jaw Mounting Holes.jpg

The only moving part is the jaw. In order to drive the jaw via servo, two holes were made to act as anchors for a wire lever to be installed.

Jaw Servo

Jaw Servo 1.jpg
Jaw Servo 2.jpg
Jaw Servo 3.jpg

Install small servo. Servo horn attached via wire to lower jaw. Servo attached by wire and glue to internal surface of mouth roof.

Dog Eye Installation

Original Without Eyes.jpg
Eye Drilling.jpg
Eyes External.jpg
Eyes Internal Wiring.jpg

The eye sockets pierced with a drill for the insertion of RGB LEDs. The LEDs are wired for connection to the PWM controller.

Skull Base Servo

Skull Base Servo.jpg
Skull Base Servo 2.jpg

A servo is installed at the neck opening of the skull.

Head Assembled

Head Upper.jpg
Head Lower.jpg
Head Profile.jpg
Head Back.jpg

Once the two head sections are completed, they are joined together.

Neck Modifications

Original Neck.jpg
Neck Altered.jpg
Neck Servo Horn.jpg
Head Attached.jpg

The original connection of the head to skeleton was a nub that allowed limited motion. This nub was cut away. Over the resulting hole, a servo horn was attached.

Hip Alteration

Original Hip 1.jpg
Original Hip 2.jpg
Hip Alter 1.jpg
Hip Alter 2.jpg
Hip Alter 3.jpg
Hip Servo.jpg

The hips are altered to hold servos for each leg. The blue servos seen were later replaced by black metal geared servos due to weight. The tabs on the servo were also removed to allow insertion of servos for adjustment of leg orientation.

Hind Leg Attachment

Original Hind Leg.jpg
Original Hind Leg Half.jpg
Hind Leg Servo Horn.jpg
Hind Leg with Servo.jpg
Hind Legs Priliminary with Servo.jpg
Hind Leg Servo Upgrade.jpg
Hind Leg Servo Upgrade 2.jpg

The original lags consisted of a front and back half shell. The shell were separated and a servo horn is attached to one half. The attachment to one half will allow the servo horn to be attached to the servo via a screw which must be accessible while the leg is split. The construction images show a blue servo which was discarded due to plastic gear failure. The black replacement metal geared servos are shown with a different servo horn and a metal wire that keeps the horn fixed since only one screw could be used to affix the horn.

Dividing the Knee

Left Leg Separated and Knee Cut.jpg
Right Leg Separated and Knee Cut.jpg

The legs are then divided into front and back halves. The halves are then cut at the knee below the knee cap. These cuts allow for the creation of a bending knee.

Creating a Knee

Knee Generic Spring Attempt.jpg
Knee Spring Parts.jpg
Nested Spring Assembly.jpg
Knee Spring Installed.jpg

Several combinations of rubber bands and springs were tried. The basic plan for a spring is shown in the blue background image. Finally, two nested strings were found to provide adequate support and return force. The springs are threaded by a tie-wrap segment. They are then anchored to the internal posts of the leg halves.

Tail

Original Tail.jpg
Tail with Servo Horn.jpg
Original Pelvis Tail.jpg
Tail Pelvis Alteration.jpg
Tail Servo Installed 2.jpg
Tail Servo Installed.jpg
Tail Servo Installed 3.jpg
Tail Attached.jpg

The original tail has a hook at the end to attach to the skeleton. This hook is removed and a servo horn is attached. The original skeleton spinal column base needed to be removed to make room to install a servo. A servo is then installed. The tail is attached via the servo horn.

Above and Beyond

Gut Surprise 1.jpg
Gut Surprise 2.jpg

Just animating this skeleton isn't enough. Two additional surprises await. After all, why is it called a Tootsie roll dispenser?

Dispencer Begin

Raw Dispenser Materials.jpg

The dispenser is made of three materials. A PVC tube of sufficient diameter for tootsie rolls. A sheet of plastic (a piece of scrap was used here). And a servo (servo horn not shown).

Tube Preparation

Tube Marked.jpg
Tube Cutting Notch.jpg
Tube Notched Split Cut.jpg
Tube Notched Split File.jpg

The OVC tube is marked for removing a notch. This notch is along the diameter and just larger than a Tooties Roll length. Once the notch is removed, a second cut is made to the extending section. This cut "splits" the section remaining after the notch. Several cuts are needed to get the desired width. A file was used to even up the cuts.

Dispencer Mechanism

Sheet Laser Cut and Horn.jpg
Disk with Servo Horn.jpg
Disk with Servo 1.jpg
Disk with Servo 2.jpg

The dispenser mechanism consists of two pieces cut from the plastic sheet, a servo horn and a servo. The servo horn is attached to the pie cut disk. The disk is then attached, via the horn, to the servo.

Dispencer Plate

Disk Servo Plate 2.jpg
Disk Servo Plate 1.jpg

The servo and disk assembly is attached to the slotted plate.

Attaching Tube

Dispenser End 1.jpg
Dispenser End 2.jpg

The disc, plate, servo assembly is attached to the plate and aligned.

Dispensing Action

Dispense Action 1.jpg
Dispense Action 2.jpg
Dispense Action 3.jpg

When assembled, the dispenser operates as shown in the pictures. An incline to the tube allows the Tooties Rolls to be gravity fed.

Attach Dispenser

Dispenser Installed 1.jpg
Dispenser Installed 2.jpg

The dispenser tube is cut to the needed length and installed inside the rib cage along the spine.

Fluid Dispensing

Tube Installed 1.jpg
Tube Installed 2.jpg
Pump Assembly.jpg

A tube is installed along the length of the dispenser. A pump and motor controller assembly is prepared.

Switches

Switches Underside.jpg
Switches Topside.jpg

Four switches are wired into the base. The switches share a common ground and will be connected to arduino pins 4 thru 7 with pull up resistors.

PWM Controller

PWM Controller Wired.jpg

The PWM controller is wired with servo cable extenders with the ends removed. Servo channels 0 thru 3 are wired for connection to servos. Channels 4 thru 6, 8 thru 10 signal leads are connected to the RGB LED leads. Channel 7 and 11 signal lines is wired to the common anode of the LED. This requires channel 7 and 11 signal lines be high to supply power while lines 4 thru 6 and 8 thru 10 are kept low to allow them to light up. Next time I'll use common cathode LEDs and not tie up two PWM channels. Channels 12,13 and 15 are wired for servos. Channel 14 is no used (for now).

Arduino Prototyping Shield

Shield Wired.jpg

The arduino shield is wired with four sets of wires. The five on the left go to their color's buttons installed into the base with blue for the common ground. The set at the bottom are four trigger lines to the FX Sound board. The four on the right are for power and I2C to the PWM controller. The two lines on the top are power for the FX Sound board. The switch and FX Sound trigger lines are pulled high by resistors soldered to the shield.

Disorganized Whole

Disorganized Whole.jpg

With all parts collected, the whole is wired together.

PWM Channels:

0 Left Leg

1 Right Leg

2 Dispenser

3 Tail

4-6 Left Eye RGB LED

7 Left Eye LED Anode

8-10 Right Eye RGB LED

11 Right LED LED Anode

12 Head Twist

13 Jaw

15 Pump

Demo Video

Demonstration of Head Functions

Dispensing Function Below:

https://www.facebook.com/LVL1Hackerspace/videos/vb...

Time Running Out

The dispensing of Tootsie Rolls is in the linked video.

The Head and Eyes are demo-ed.

Next would be the FX sounds and liquid dispensing.

Updates to follow.....