ATMega8 line-following robot.
If its beenposted before, sue me.
What a fun little thingie that is :)
Get a load of this crazy soldering!
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?"
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.
Thanks for sharing. I am glad I have a working PWM example in asm to "study".
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.
Made in Japan
You just described The Academy --> User Projects section of the site and The Academy Forum...
VA3 YHZ - http://www.newae.com
© 2020 Microchip Technology Inc.