Summary of Diorama, Bat in the cave using Arduino
This instructable describes building a bat-in-a-cave diorama that reacts to light: when illuminated, the bat stretches its wings and its eyes light up. It covers making a paper-mache cave, 3D-modeling and drilling hollow bat spheres, constructing accordion-style wing mechanics, wiring LEDs and a photocell sensor to an Arduino and motor, and finishing with paint, turf, and hanging details.
Parts used in the Bat in the cave:
- Laser-cuttable plastic (for wing links)
- 3D printed plastic spheres (bat head and body)
- Arduino Uno
- Arduino Motor Shield
- Breadboard
- Wires
- Tape
- LEDs
- Photocell sensor
- DC hobby motor
- Resistors (various)
- 9V batteries
- Fishing line
- Gorilla Glue
- Small screws
- Hook screws
- Sharp wooden sticks (for icicles)
- Rubber band
- Fabric (for wing covering)
- Paper mache materials (flour, shredded newspaper, soap, water or pre-made mix)
- Tin foil and cling-wrap (for mold)
- Fake green turf
- Spray paint (green/grey) and grey painter
- Wire cutter/stripper, scissors, drills, 3D printer, laser cutter
The purpose of this instructable is to outline our development of this bat in the cave as well as provide instructions and tips for future engineers hoping to complete a similar project or use components of our project in theirs. The goal of this project was to create an diarama that could educate people. The main functionality of the bat in the cave is for bat to react to a light source in the cave by stretching the wings and lighting up its eyes. Some goals we had in conjunction to the movement of the bat was to make the cave from paper mache and paint it with some of the decoration for the cave to be looking realistic. This tutorial will start with a little background information, then show the development of the basic pieces, and finish by showing the final product.
Tools Needed: Laser-cutter, scissors, 3d printer, wire cutter/stripper, strong flashlight, superglue, drills.
Materials Needed: Arduino Uno, Arduino Motor Shield, Breadboard, Wire, Tape, LEDs, photocell sensor, DC Hobby motor, plastic for laser cutter, resistors of various resistance, 9V batteries, fishing string, Gorilla glue, small screws, paper mache, hook screws. sharp wooden sticks, spray painter(green/grey), grey painter, fake green turf, rubber band.
Step 1: Step 1: Making the Cave
Making the cave is an important step in building this project; it determines the size of the entire diorama as well as the bat and other components! Using tin foil and cling-wrap liberally, make a sturdy base over objects in the shape of the inside of the cave to use as a mold. Then use a pre-made paper mache mix or make your own (flour, shredded newspaper, soap, and water will work) and cover the mold in a thick layer of paper mache. Once the outside is generally dry, take the cave off of the mold and pull off the tin foil from the inside of the cave. This will help the inside of the cave to dry. Let the rest of the cave sit until dry; this may take 36 hours.
Step 2: Step 2: 3d modeling the base of the bat
We used google sketchup to make a simple hollow sphere for the head of the bat and oval shaped hollow sphere for the body.
First, draw two circles perpendicular to each other. Then use the follow-up feature in the Google Sketchup. After making the sphere select the whole sphere and use outer shell on the tools bar. Your sphere is now hollow. Then make a copy of the sphere, scale it twice as large, and you are left with the body of the bat. Now, download the Google Sketchup plugin called skp_to_dxf.rb from
http://www.guitar-list.com/download-software/convert-sketchup-skp-files-dxf-or-stl
and move the file to the plugins folder to the same location as your Google Sketchup file.
Print the 3d models.
Step 3: Step 3: Making holes into spheres/Painting the sphere
Drill holes vertically into the spheres for the wires to get pass through.
Make two more holes for the LED lights on the eye.
Make two more holes for the wings on the body sphere.
Make one more hole for the tail of the bat on the body sphere.
Step 4: Step 4: Wing Mechanics
We used acordian gate mechanic for the wings.
We modeled 2 inch long plastic sticks with holes on each end and middle, then laser cutted the model.
We used small screws to connect each sticks then duck taped the other side so each plastic sticks were stablized.
Then we cut one of the plastic stick to half, jointing the wings into the body of the bat.
Use rubber band to give tension to pull the wings toward the body back.
Step 5: Step 5: making paper mache look like realistic
Attach fake turf on top of the cave and ground. Add any other foliage you want to be in the diarama.
Step 6: Step 6: Attaching hook screws onto cave
We will use these to pull the wings with fishing line by running them through the hooks and connecting them to the wings.
Step 7: Step 7: Attaching icicles to the cave
Step 8: Step 9: Covering wings with fabric
Step 9: Step 8: Connecting wires with LED into head of the bat
Step 10: Step 10: Setting up motor for wing movement
Step 11: Step 11: Set up Light Sensor
The light sensor will be used to determine whether the bat is awake or asleep. The light sensor can be placed anywhere in the diorama, and is wired as in the diagram.
Step 13: Step 11: Arduino Code
int photocellReading3; // An integer to store the reading from the light sensor
boolean ledStatus = false; // A boolean to help debug whether the LEDs should be on or off
int counter = 0; // A counter to help control when the motor should be on or off
significant
Establishes
significant
diorama
For more detail: Diorama, Bat in the cave using Arduino
- What is the primary functionality of the bat in the cave?
The bat reacts to a light source by stretching its wings and lighting up its eyes. - How is the cave made realistic?
The cave is formed over a mold with tin foil and cling-wrap, covered in paper mache, spray painted grey, and finished with fake turf and foliage. - How are the bat head and body created?
They are 3D modeled in Google Sketchup as hollow spheres, exported and 3D printed. - How are the LEDs installed in the bat eyes?
Wires are pushed through the drilled holes in the head, stripped, and the LEDs placed in the eye holes and wired in series on the breadboard. - What mechanism moves the wings?
An accordion gate style linkage made from laser-cut plastic sticks is connected with small screws and pulled via fishing line on a motor spool; rubber bands provide return tension. - How is the wing motion driven and controlled?
The DC hobby motor acts as a spool; the motor spins and reels the fishing line to move wings, and it can pull slack taut before running the wings. - How is the light sensor used in the project?
The photocell detects ambient light to determine whether the bat should be awake or asleep. - How are icicles attached without interfering with wing movement?
Small holes are drilled in the cave top and painted sharp wooden sticks are glued into the holes positioned so they do not obstruct the wings. - What adhesives and fasteners are used to assemble parts?
Gorilla glue, superglue, small screws, staples for fabric, and duct tape are used for assembly and securing parts. - What tools are needed to build this diorama?
Tools listed include a laser-cutter, scissors, 3D printer, wire cutter/stripper, strong flashlight, superglue, and drills.


