Another nifty project, and he uses an AVR this time...

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

ATMega8 line-following robot.
If its beenposted before, sue me.

http://elm-chan.org/works/ltc/re...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What a fun little thingie that is :)

Get a load of this crazy soldering!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Nice Quicktime movie of the thing in action, too. I really admire people who can both write firmware and make mechancial things actually work.

--
"Why am I so soft in the middle when the rest of my life is so hard?"
-Paul Simon

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have a friend who did this with an AVR Butterly (no Hello Kitties) and it only uses one line of code in a while(1) loop. He reads a pin connected to a light sensor and inverts this and ouputs it to another pin that drives a wheel. As the bot steers across the line from black to white the sensor pin goes from 0 to 1 energizing the motor or from 1 to 0 (white to black) de-energizing the motor. that's all it takes to follow a line! That and being clever enough to figure this out in the first place, which I didn't. I probably would have written a full PID system.

Smiley

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Very nice!...

Thanks for sharing. I am glad I have a working PWM example in asm to "study".

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Would be nice if there was a forum or section for all the little AVR gadgets people make..... even if they aren't regulars here.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Very good!
Made in Japan

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Would be nice if there was a forum or section for all the little AVR gadgets people make..... even if they aren't regulars here.

You just described The Academy --> User Projects section of the site and The Academy Forum...

-Colin