loading

This instructable is a miniaturized, palm-sized version of the beautiful morphing bloom sculptures of John Edmark. The sculpture is internally illuminated by a high-brightness strobe to provide the animation. The spinning part was printed on an Ember 3D printer, and the strobe board was created using Autodesk Circuits.

Parts list:

Step 1: Ordering the Circuit Board

Here's a good article on how to order a circuit board using a Autodesk Circuits created circuit board.

The Autodesk Circuits project can be found here. A ZIP file with everything necessary for ordering can be found below.

Here's the content of the above article for ease.

To order your PCB:

  1. Make sure your PCB design is done and error free (no yellow highlights)
  2. Go to the "detail page" for your circuit. You can get there in two ways: If you on the page that shows all of your designs, click on the thumbnail of your circuit, or if you are editing your circuit just delete " /edit " from the end of the page URL and refresh.
  3. Scroll down below the view of the circuit, click on the "Download Gerber" button.
  4. A .zip file containing the layers of your PCB will be generated and download to your computer.
  5. Use this file to have your PCB fabricated. We recommend OSHPark.com for a balance of low-cost, high quality, medium speed to deliver anywhere in the world.

Step 2: Assemble the Circuit Board - Surface Mount Parts

My boards arrived in a group of 4 attached with small tabs (I ordered 12 boards). I had parts to assemble two of them simultaneously. I snapped the tabs so that I was just working with two.

I used a reflow oven to solder the surface mount parts, although you can use a heat gun for the same purpose (details below). I used the reflow oven and instructions from this instructable to solder my parts.

  1. Apply solder paste to all of the surface mount pads on the top of the board(s) using a syringe. Be sure to get paste onto all of the pads, and not too much so that you don't end up with it bridging pads too much. It will contract back to the pads if not too much is applied. In the picture above, the paste is clearly covering multiple pads, but this wasn't too much paste to cause bridging once cooked.
  2. Carefully place each of the components in place on the board.
    • For the LEDs, the two small corner squares face away from the center hole of the board.
    • The three dual MOSFET chips all have the same orientation. See picture for pin 1 positioning of the MOSFETs and the ATTiny85.
    • The position of the resistors is illustrated in one of the pictures above. R1 is 10kΩ, R2 is 330 Ω, R3 is 1kΩ. The orientation does not matter.
    • All of the capacitors are the same and the orientation does not matter.
  3. Use the reflow oven per the instructions to heat the board and complete the soldering.

Step 3: Alternate: Reflow Using a Heat Gun

If you don't have access to a reflow oven, you can finish the soldering using a heat gun with low airflow. Place the circuit board on a surface that will dissipate the heat (I used a Chipotle bowl lid) and carefully heat the board using the heat gun with low airflow until all of the solderpase has turned shiny silver. If the blower is too strong, it may cause the parts to drift off of the pads during the reflow process.

Note: the picture above is from the first version (proof of concept) of the circuit board. It looks a bit different because it had an extra hole and did not include the ATtiny85 microcontroller on the board.

Step 4: Assemble the Circuit Board - Through-hole Parts

Position the two headers (6 pin female and 3 pin male) such that they face down from the bottom side of the circuit board. Solder them in place (solder applied on the top side of the board).

Attach the optical encoder parts on either side of the smaller board hole. They should stick out of the top side of the board, with the lens side (with the bump) facing each other. The one with the red dot (the phototransistor, LTR-301) is positioned between the two large holes in the board. The one with the yellow dot (the photodiode, LTE-302) is positioned on the other side of the smaller hole. The solder for these is applied to the bottom side of the board.

After the encoder parts are soldered, trim the pins & solder to make it as flush with the bottom of the board as possible. This is to allow the board to sit as low as possible on the top of the servo.

Step 5: Programming the Microcontroller

I used an Arduino UNO board to act as a programming device for the controller by following this Instructable. In it, it shows the following mapping from Arduino pins to ATtiny pins for programming:

  • Arduino +5V → ATtiny Pin 8 (Vcc)
  • Arduino Ground → ATtiny Pin 4 (GND)
  • Arduino Pin 10 → ATtiny Pin 1 (PB5)
  • Arduino Pin 11 → ATtiny Pin 5 (PB0)
  • Arduino Pin 12 → ATtiny Pin 6 (PB1)
  • Arduino Pin 13 → ATtiny Pin 7 (PB2)

The connection points are labelled on the picture above. Use hookup wire to make the appropriate connections.

Starting with an Arduino UNO (or equivalent) that is set up as a programmer (see Instructable above), Open the bloom.ino project below in the Arduino IDE. you will need to perform the following in the Arduino IDE before programming:

  • Tools → Programmer → Arduino as ISP
  • Tools → Board → ATtiny85 (internal 8 MHz clock)
  • Tools → Burn Bootloader

Then program as normal.

Step 6: Modify the Motor

The motor needs to be modified, mostly by removing unnecessary parts, including the top shell and most of the gearing.

  1. Start by adding a piece of tape around from one side of the motor, across the bottom and to the other side without covering up the bottom screws. This will hold the bottom closed when the screws are removed. I used blue masking tape in the pictures to make it visible. Ultimately I used black tape, but it didn't show in the pictures.
  2. Remove the screw holding the plastic X attachment at the top of the motor in place and remove the plastic X.
  3. Remove the 4 screws from the bottom. Keep the screws. You may optionally use them later in the project.
  4. Remove the top lid of the motor to expose the gears.
  5. Remove all except the center bottom gear. You can dispose of these gears. You will not need them.

Next, you will remove some of the plastic from the motor housing to accomodate the circuit board.

  1. Remove the remaining gear and set it aside. You will need it later.
  2. Shave down the larger plastic bump (on the left in the close-up picture) on the top using a saw / file. This will allow the circuit board to fit over this area.
  3. File the sides of the raised part on the other side (on the right in the close-up picture).

Fit the circuit board over the top of the servo and make sure that it fits well and as flush as possible. If it doesn't fit well, make adjustments as necessary for it to fit. Remove the circuitboard from the servo for the next step.

Step 7: Replace the Axle

Replace the axle with a longer one. This will help the zoetrope to not wobble when it is spinning.

  1. Using pliers, remove the small metal axle holding the remaining gear in place and set the gear aside.
  2. Cut 41mm (1 5/8 inches) off of the butt-end (non cutting side) of the drill bit using a hacksaw or good cutters.
  3. File the end(s) to smooth with a file or sandpaper.
  4. Put the gear back into place and fit the new axle into place. Press the axle down until it is seated in the hole.

The axle may feel secure, but experience has shown me that over time it can become loose and difficult to keep in place by hand-pressure pushing. A way to solve this is to take a hammer and gently tap the new axle down into the hole.

Step 8: Battery Packs

This step shows some trial and error on my part when originally creating this device. My first plan had been to always have the board powered, and rely on the microcontroller monitoring a pushbutton to start up everything else. I discovered that even when the servo is not moving, it will draw a small amount of current from the batteries so that they end up draining even when the device is not in use. I later added a slide-switch to turn the device on in order to completely disconnect the batteries when it is not being used.

Start by placing the two battery holders (without batteries) on either side of the servo motor such that the solid wires face each other and overlap. Use removable tape to hold the battery packs in place. Originally, I had soldered the upper two wires together, but later cut them to add the slide switch. I recommend still doing this, because soldering these two wires together adds a rigidity that helps with the rest of the process. It is easy to later cut these wires to add the slide switch. So, with that being said, solder the two upper wires together.

Using the circuit board as a guide, bend the lower wires such that they face up and line up with the outer-most holes on the 6-pin female header of the circuit board. Trim the wires with wire cutters such that they are still long enough to solidly connect in the female header when the circuit board is in place on the top of the servo motor. The top of the circuit board, should line up flush with the tops of the battery holders.

Remove the tape holding the battery packs to the servo, and put a piece of double-sided tape on either side of the servo. Put the servo back in place between the battery holders, positioning it again such that the top of the circuit board is flush with the top of the battery holders, and firmly press together.

Step 9: Putting Things Together

Add a solid-wire jumper between the PB0 and PB1 connectors of the female header of the circuit board. This is where I had intended to connect a pushbutton to start the device. Adding the jumper will make it so that it starts up when power is applied.

Put the circuit board in place on top of the servo.

Wrap the wires from the servo around the base and connect onto the 3-pin male header on the circuit board. Looking at the header, the ground side (black or brown wire) will be on the right. It may take some doing to get this to wrap nicely without too much leftover slack. Then tape the wires in place. I used some black gaffer tape (cloth tape) for mine.

Next, you'll add the slideswitch to control the power. The slideswitch has three pins. You will only be using two of these: the center one and one of the side pins (doesn't matter which). Using cutters, trim off the unused side pin.

Hold the slideswitch in place by the soldered wire post of the joined battery holders. Mark a point on the wires between where the slideswitch pins will later be soldered (I used a black sharpie pen).

Cut the wire posts that you previously soldered together to have a small gap that closely matches the spacing between two of the pins on the slideswitch. Solder the slideswitch to bridge the gap in the wires.

Step 10: Zoetrope Base (optional)

I wanted to have a nice 3D printed base for the device. Here's the design on TinkerCAD. It is unnecessary to create this base for the device to work, but it looks nice. The print file is included below.

Step 11: Zoetrope Model

The 3D Model for the spinning part in TinkerCAD can be found here.

The STL from this model as well as a TAR file containing the sliced layers for printing can be found below. I'm not including the instruction for printing on the Autodesk Ember printer since several instructables for using this printer exist, like this one.

Step 12: Finishing Touches

The three tabs of the 3D print need to be made opaque, otherwise the optical encoder parts of the circuit board won't reliably be able to detect them passing. I used black nail polish, and that worked great. Originally I simply tried a black Sharpie pen, but it wasn't reliable as an optical interruptor.

Once the tabs have been made opaque, you should be good to go. Place the zoetrope on the shaft, and turn the power on!

<p>Aweesome! Fantastic instructable, i had to try it!</p>
<p>Wow this is amazing. I didn't know about this. </p><p>It could be a great outdoor light. Except that it would probably kill all the insects coming in contact with it and generate a lot of wind.</p><p>I guess you could also just use a $3 arduino micro and maybe even use RGB leds. I wonder if the design could be modified to provide multiple internal light diffusion paths. So in addition to rotating you could morph the colors and brightness of the spikes.</p>
<p>In order to get the appearance of motion correct, the strobe LEDs are only on about 1/200th of the time. This means that the LEDs that get used must be extremely bright to overcome the ambient light. The device does work in direct sunlight, but there's a &quot;glow&quot; around it due to the fact that in addition to the strobed &quot;still&quot; image, you are also seeing the blurred spinning. It's basically like reducing the contrast of an image.<br>I considered using RGB LEDs to allow for color changing and funky things like interleaving multiple animations (the image simultaneously moving forward in red, but backward in blue, for example). The Cree XP-E LEDs are the brightest that I could find. The RGB equivalents are physically larger, which would have required everything to be scaled up to support them, including tripling the number of MOSFET drivers. Still, it could be done!</p>
<p>Oh that is a brilliant idea, moving backwards and forwards at the same time! But I'd make it complementary colors that add up to white when they sync up.</p><p>Can this be printed on an FDM printer with a transparent material? I figure the flickering from the looping gif at the top comes from slight irregularities, so I guess precision is key.</p><p>Bigger wouldn't be a problem for a lamp as long as you can 3D print it.</p>
<p>The flickering of the video is due to a few factors. I've had this print on my desk for a while. It has been handled by many people and dropped a few times. A few of the spikes have broken off. Also, I had to make the video in a fairly unconventional way because the strobe duration is shorter than the frame capture duration of all cameras that I have available. This causes banding on the video.<br>In answer to your question, though, yes precision is very important. It might be possible to make something with less fine detail that still works on FDM</p>
<p>Approximate cost? Awesome idea!</p>
<p>Wow! So cool, great work!</p>
I like where you've taken this! Great work with the self-contained structure. It really looks nice. I think I recognize some of that code ;)

About This Instructable

13,831views

79favorites

License:

More by joshua.brooks:Pogo pin programming connector Hand-held zoetrope sculpture Neopixel Night Light 
Add instructable to: