Useless Box Project (and random Arduino projects)

If I had more time to make this more elegant, I am pretty sure there is a more logical approach. Just thought someone might have something in their hip pocket.

And yes, these will not “arm” unless they receive a certain duration of “neutral signal” and then they emit series of beeps.

Was going to try to upload a video of current behavior, but it will not load. Will start a new thread eventually. Thanks for input!

1 Like

Still early you know :stuck_out_tongue:

1 Like

Hey @PhilJohnson, I watched the video yesterday and was intrigued. We spoke a long while back when I had first got my Xcarve… Christmas 2016. Funny story, I got it all together and started carving some basic stuff to get a feel for it. The funny part was, I set it up in my front bedroom on a fold down craft table that was anchored to the wall… at the time I was living upstairs in a condo… the wall was load bearing and the sound resonated all the way down to the concrete… the downstairs neighbor went ballistic!!! Anyways, since moved to the country and the 24x36 steel garage went up yesterday… looking forward to diving back in…

I am enjoying the thread cause it falls into the realm of coding which I spent 20+ years making a living at. Once the workshop is functioning, I plan on tinkering with the Arduino a bit more… the electronics might give me pause but the coding is pretty straight forward. Here’s a link to the basic coding (language, functions, variables, structures) reference…

If you need some help, just let me know… I’ll take it out in trade if I get confused when I build my new controller based on ur demon… :slight_smile:

1 Like

Sounds pretty kewl… I’ll take a look at it in a bit… a different approach I was thinking is a completely random action… maybe even adding to the logic to prevent back to back duplicate actions…

No, but try the writeMicroseconds() function.

This explains it very well.

1 Like

Phil in the Arduino IDE, there are hundreds of example programs just waiting for you to open them, and cutout whatever you need. See: Basic - BLINK and Digital BLINK under examples.

1 Like

FYI - we had a snow day today so I worked on the RAGE. The code above worked! Here is my “Useless Mini Tesla.” Definitely need a helmet and seat belt. Apparently there are ESC programmers so I can make this less… severe. I started using the “Servo Library” but straight up pulseout is the way to go!

@PhilJohnson u know you can get Arduino Nanos for $7?

1 Like
selectedMove -= 1;

should be
selectedMove ++;

1 Like

I would just use the 9v power supply and split between the nano and the servos. Use a simple voltage regulator (L7805) to regulate the voltage going to the servos. That will give you up to 1A or so depending on the input.

$10 vs $0.45
and more current available

1 Like

cant wait to see the finished project Phil.

Not that it matters what I say, however that has never stopped me. Upon watching the version with the tiger, I didn’t like that the guy had to put his hands on the lid to flip the switch. I would be concerned with the device activating with a hand on top… know what I mean?

1 Like

Can you get a decent pic of the nano, showing the fried section?
I believe there’s a diode on the nano that’s prone to frying. I know I’ve replaced a few, but it’s been a couple of years.

what kind of creature are you putting in the box?

side note… thought I was subscribed to your youtube channel but apparently was not… fixed that.

1 Like

That is cool… it think it is required then that you make it make monkey noises… especially when the lid is going crazy… it will be real funny.

or even better… when you flip the switch it starts playing that song from Jungle Book “ape like you” or something like that and the monkey turns the music off.

1 Like

Does the nano power on at all through Vin? If not, it’s probably that voltage regulator. A quick short would fry that. Unless you have some on hand, probably not worth replacing. Based on a recent photo I saw of your hand, I’m guessing smd soldering isn’t calling your name anyway.

That is a good one

1 Like

For REV 2, you need to add a third servo to “rock” the box and add some monkey sounds!

2 Likes

That will be very “useful” for entertainment. :grin:

2 Likes

Phil, a strong, random, vibrator would also be a good addition IMO. :grin: Make the box jump around.

2 Likes