Attiny Can Robot

After a few failed projects I finally wanted to build something that just works. So I am using parts of the code from my Attiny biped robot (https://www.robotshop.com/letsmakerobots/node/37825) and some continous rotation servos to build a small IR controlled can-shaped robot.

The new code is already running on an Arduino, just need to change a few lines and flash it to an Attiny85.

There are just four 3D printed parts for the body and the wheels, connected by screws. The heavy components like servos and battery are in the lower half so the robot should alway stay level.

To do:

  • porting the code to an Attiny85
  • soldering
  • printed parts for the upper and lower half

UPDATE: 

Parts are printed, everything is soldered and programmed. I had to use tons of hot glue to fit the components inside .

There still is a problem with the weight distribution. I put a piece of lead in the front but that didn't make it much better. As long as it works and looks nice I don't think i'm going to change much.

Files are on thingiverse for anyone interested: http://www.thingiverse.com/thing:965449/#


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/attiny-can-robot

awesome!

I really like your robot, great work!

That looks really nice and
That looks really nice and cute! What is the pattern on the side of the wheel? Is that for an encoder?

Thanks! The pattern is just

Thanks! The pattern on the side is just the logo of my blog. 

Ah, this is great!I really

Ah, this is great!

I really like the look of your little guy.

Do you have plans to share your 3D files?

I’d love to have one printed up and test it with the WiPy I am reviewing.

Sure, I will put the files

Sure, I will put the files on Thingiverse as soon as they are finished. 

Splendid! Thanks man!

Splendid! Thanks man!

This is great, I love how
This is great, I love how compact he is. Is it going to be completely self contained? That would be great fun to have as a desk buddy.

Yes, there is a battery and

Yes, there is a battery and a power switch. And with the ultrasonic sensor it may get some kind of autonomous capabilities later.

cool

Looks nice, great bot. I suppose u simply added weight at bottom for balance, I liked the trick…gud job

Gyroscope, rather than a gyro sensor

Wondering if putting a rotating fly-wheel on a small motor inside the case, and having it spin up prior to beginning movement, would be sufficient to keep the body horizontal while moving around. I’ve seen robot self-balancing cars on youtube that remain upright due to spinning flywheel inside. Rather than use a GPIO pin, you could activate it at the time the robot is powered up.

i want to make the robot

hi ,could you tell me which type of arduino you choose,and you said "The new code is already running on an Arduino, just need to change a few lines and flash it to an Attiny85"can you tell me which line need to change?thank you very much