I found a cat puppet that I made a while back and it looks like a great candidate for our Scaredy Cat's body! I found some fabric to make a simple sensor, and you can see it being modeled below. 
It's taken a while to get the sensor actually mounted on the cat's head because I needed to buy myself a new glue gun after my old one shorted out. (That was a bit frightening!)

It's cool to see the robot coming together, but there are still some significant challenges at this point..
1) Do we want to include two sensors to trigger two different effects? How can we program that? 
2) Can we trigger multiple effects (two LEDs & vibration motor) off of one sensor? How can we modify the circuit to make everything work? (In particular, we have one DC motor that would be fantastic but it doesn't run off of the 5 volts from the Arduino, so..)

These are pretty basic questions, and I know there are solutions out there. It's just a matter of finding the answers and learning more.

Got any ideas? Want to drop some knowledge? Tell us about it in the comments.
 


Comments

James Matthew
11/17/2013 5:48pm

To run the motor, you'll likely need a motor shield or a motor driver chip (L293D or similar). There should be plenty of examples online for using either with a Uno.

You can trigger LEDs and a motor from the same sensor. Wherever in your code the motor is being activated, just set the LED pin(s) high also.

Reply
11/20/2013 5:53am

I set up a motor control circuit just like this, and the motor runs just as you'd expect:
http://makezine.com/projects/control-a-5v-motor-with-the-arduino/

I've been testing the capacitive sensor with code that triggers an LED to light up, and making that work with a motor seems to be a bit trickier than doing the other way around. I also don't want to motor to run at full power, so I've been looking at using PWM but so far, no luck in syncing the motor with the LED.

For fun, I hooked up the motor to my LED circuit to see if it would work, and it does. It runs a bit slower which is what I'm looking for, but I'm a bit wary of scrapping the control circuit entirely because I'm a little afraid of the consequences of my own ignorance :) I mean, there are reasons why you use a motor control circuit, and this just seems too easy...

Reply



Leave a Reply