In my last posting, I mused about the potential of making this cheap wind-up toy actually move about...
possibly avoid obstacles...
Well, I've had some time to think and plan, and dismember the cheerful little dude...
Here is the sum of his parts.
You'll notice the little white box lower middle of the picture. That is the spring wound mechanism that made him dance...
The is the space I have for electronics...
This is the underside of our friendly Hexbot Nano, with the battery removed. I'll be simply connecting to the positive and negative battery wires for this build.
Opened up, you can see the miniature "pager" motor with the offset weight that vibrates the Hexbot Nano.
I've also placed the protection diode inside the body of the Hexbots, as there was no room on the main circuit board.
I then hotglued the Dancing bot's feet onto the tops of the Hexbot Nano's and drilled a hole to pass the motor wires through.
Here is the blank board in it's body casing. That's it. That's all the room I have for electronics.
Luckily, an Attiny84 in socket, as well as a power connector and the ISP header all fit exactly on the board! I couldn't have asked for a better fit!
The Sharp GP2Y0A21YK Infrared Distance Sensor is hotglued onto the stub that held the original Dancing bot's head, and the LiPo battery is velcroed onto the front of the body.
Here, the ATtiny84 control board is placed into the body for sizing.
Assembled, and ready to code. I've placed the AA battery in the picture to demonstrate the size of this guy.
Watch this space over the next few days, as I get this guy up and dancing...
(currently having problems with balance/center of gravity... this too will be conquered)
References:
Programming an ATtiny w/ Arduino 1.0
LetsMakeRobots: Mogul - Program standalone ATtiny / ATmega chips through an Arduino
LetsMakeRobots: Ladvien - Robot Metallurgy 101 -- AVR Lesson Journal
LetsMakeRobots: attiny85 h-bridge ldr robot
LetsMakeRobots: Lumi - TinySpider
http://www.iheartrobotics.com/2009/12/upgrade-led-hexbug-hack.html
No comments:
Post a Comment