News Tutorials

Introduction to Speakers

Piezoelectric speaker

What you see in the picture above is a piezoelectric speaker – a tiny, electrically controlled diaphragm. On the back is a small crystal. When there is power flowing through the crystal, the size changes, bending the diaphragm. The change in the diaphragm is what causes sound and music as we know it. Today, let’s go through how we can make music with a piezo and Arduino.

(more…)

Makelangelo Tutorials

How to Build a Drawbot (Makelangelo v1)

These instructions are for the Makelangelo Drawbot v0.1.  For all later versions, please visit our wiki.


 

If any part of these instructions are out of date, confusing, or in any way not clear please contact us and I will fix it quick fast. These instructions are current for v0.8.

The kit should include:

– 2x stepper motors

– 2x motor mounts

– 2x bobbins

– 4x 5mm M3

– 2x 10mm M3

– 1x pen holder ring

– 1x female power plug

– 1x arduino

– 1x motor shield

– 1x 12v2a power supply

(Not pictured: one arduino box.)

You will also need the following:

– a small screwdriver with a phillips head

– some sewing thread or fishing line

– 3x 2″ 1/4-20 bolts. These are available in any hardware store. In this photo I’ve used very long bolts because they’re all I had available.

Count the parts to make sure they are all there.

Screw the 3 1/4-20 bolts into the holes on the pen holder.

When the bolts get close to the center, stick the pen in and tighten one of the bolts until they pinch the pen.

Put it to one side.

Take the steppers out of their boxes.

Attach the motor mounts to the steppers.

Notice how the steppers are mirrors of each other.

Notice how the wires are on the side of the motor mount, never the back.

Put these to one side.

Make sure the bobbins will fit on the stepper shafts.

Make sure the bobbin set screw hole lines up with the flat part of the stepper shaft.

Add the 10mm M3 screw to the bobbin set screw hole.

Slide the bobbin onto the shaft until the middle of the bobbin is lined up with the middle of the five holes on the motor mount.

Gently tighten the set screw onto the flat part of the stepper shaft. Do not overtighten! You’ll know it is enough when turning the bobbin also turns the shaft with no wiggle.

Put your assembled mounts to one side.

Press the motor shield onto the arduino like a sandwich. The electronics are not a sandwich! Please do not eat the electronics.

Arrange the electronics and the arduino.

Attach the wires to the shield. Match the colors and screw until tight.

Attach the female power plug to your shield. Make sure M goes to red and GND goes to black.

Plug in the power.

Mount your motors and electronics to your wall or board. Note that the female power supply should be coming out at the top and all the writing on the motor shield will be upside down. That way the stepper on the left is attached to the left side of the shield and so on. It also keeps the power wire out of the way of the drawing.

You are now ready to attach the strings.

Push the thread through the center hole on the side of the mount and loop it over the set screw. Use the software to wind the bobbin “in” until you have enough thread.

Make a similar loop in the other end and loop it over a 1/4-20 bolt on the pen holder.

Repeat these steps for the other mount, bobbin, and a different bolt on the pen holder.

You should now have two steppers mounted and wired up with bobbins correctly wound and attached to the pen holder. You can now center your pen and start drawing.

In a future update I’ll show you how to add limit switches and auto-centering. For this you need some wire cutting and is considered more advanced.

In a future update I’ll show you how to add a servo for pen up/down. I have not developed a good enough pen holder yet so I am not going to confuse you with instructions that might change later.

Tutorials

CanDo Line Following Robot

Why?

CanDo is a gentle introduction to robotics for anyone who’s just starting out with electronics or programming. It assembles in about 20 minutes and requires no soldering or wire stripping. Kits are $100.

Get a CanDo today!

Step by Step

Some arduino starter kits will teach you to turn on a light or move a motor and then expect you to figure out the rest by yourself. CanDo gives a bit more direction and a greater feeling of accomplishment, because when you will build your own robot. For those who still want to go even further, we offer this challenge: Can you improve on the CanDo to solve a maze?

Details

Each CanDo comes with all the parts you need to build your robot. Just add a 9v battery and you’re ready to go!

Read the assembly instructions and things to try on the Wiki

Tutorials

How to Control a Linear Actuator with an H Bridge

Here’s an example:

Canakit h bridges are twice the price of Solarbotics. Lesson learned.

I find using Arduino analogWrite() on the output pins works much better than Servo::write().

Send me a message and I’ll update this post with more specifics.