Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: swelols on March 24, 2009, 01:01:41 PM

Title: will this work with Atmel ATmega168?
Post by: swelols on March 24, 2009, 01:01:41 PM
hello there
I have been thinking of making a robot for a while, yesterday i got a "Polulu Orangutan Robot Controller Mega168" (http://www.robotcraft.ca/webshop/Controllers/c22/p52/Orangutan-robot-controller-mega168/product_info.html (http://www.robotcraft.ca/webshop/Controllers/c22/p52/Orangutan-robot-controller-mega168/product_info.html)) as a gift from my father, so now i will build a 2-wheeled robot driven by 2 servos.
 Since i am totally green on programming, i was thinking if the source code from this project might work:http://www.societyofrobots.com/step_by_step_robot_step4.shtml (http://www.societyofrobots.com/step_by_step_robot_step4.shtml), if it doesnt, it would be good if someone posted a link with a guide to programing this microcontroller.

thanks
Isac

edit: whoops, maybe i posted this in the wrong section, if thats the case just move it to the correct section.
Title: Re: will this work with Atmel ATmega168?
Post by: Admin on April 08, 2009, 01:04:14 AM
The Orangutan uses the same microcontroller as the $50 Robot, but the pinout is different. You will need to look at the schematics, compare, and adjust SoR_utils.h appropriately.

Also, if you search this forum for the Orangutan, you'll probably find some source code for it.
Title: Re: will this work with Atmel ATmega168?
Post by: Webbot on April 08, 2009, 06:22:26 PM
There are lots of Orangutan C libraries out there to help with driving motors, buzzer,  etc. Google is the answer. If you cant find them then let me know and I'll tru to dig out where I got them from.
Title: Re: will this work with Atmel ATmega168?
Post by: Weird Fishes on April 09, 2009, 07:01:24 PM
Orangutan-lib may be what you want.

http://orangutan-lib.sourceforge.net/ (http://orangutan-lib.sourceforge.net/)

As for guides, I don't know of one and Pololu's documentation is pretty weak. I am featured on their their resources page though. Woot!

I learned from looking at source code and asking questions, but I also had a previous background in C and java, and I'm definetly no expert.