Go Down

Topic: Pimp Your Pumpkin - An Arduino Jack-O-Lantern (Read 5 times) previous topic - next topic

Big Oil

#15
Oct 25, 2010, 02:42 am Last Edit: Oct 25, 2010, 02:43 am by Big_Oil Reason: 1
Didn't make a video, I wouldn't want to frighten everyone.

digitalman2112

Here is my version...my boys & I have been playing with a plasma cutter :)



I'm using a RuggedCircuits Gator+ and a Maxbotix Ultrasonic Range Finder...

More pics on our family blog...http://raisinggeeksandgearheads.blogspot.com/2010/10/october-24th-plasma-cutting-welding.html



bill2009


andpe

shouldn't the correct statement be 255 like this:
- analogWrite(CANDLELED, random(0, 255));
not like this:
-analogWrite(CANDLELED, random(0, 256));

Or am I wrong?

Nice simple project btw!
Spending too much time on this..

Digger450

Quote
shouldn't the correct statement be 255 like this:
- analogWrite(CANDLELED, random(0, 255));
not like this:
-analogWrite(CANDLELED, random(0, 256));

Or am I wrong?


You are wrong  ;)

Max is exclusive, so you have to use 256 if you ever want a value of 255.

http://arduino.cc/en/Reference/Random

Matt R

Quote
Matt: What's the sensor?


It's a Sharp Long Range Infrared Proximity Sensor (GP2Y0A02YK0F) that I got from Sparkfun: http://www.sparkfun.com/commerce/product_info.php?products_id=8958

I was pleasantly surprised with how well it worked.  Sparkfun is limiting limiting purchases of this part to four per person because it's such a hard-to-find item.

bill2009

[quoteIt's a Sharp Long Range Infrared Proximity Sensor (GP2Y0A02YK0F) that I got from Sparkfun: http://www.sparkfun.com/commerce/product_info.php?products_id=8958

I was pleasantly surprised with how well it worked.  Sparkfun is limiting limiting purchases of this part to four per person because it's such a hard-to-find item.
][/quote]

thanks.  I used a PIR motion detector last year for a Cylon pumpkin and i wasn't that happy - it just does an on/off reading - this looks a lot more flexible.  And your lighting scheme is brilliant.

Go Up