go away spammer

Author Topic: will this work with Atmel ATmega168?  (Read 2070 times)

0 Members and 1 Guest are viewing this topic.

Offline swelolsTopic starter

  • Beginner
  • *
  • Posts: 1
  • Helpful? 0
will this work with Atmel ATmega168?
« 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) 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, 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.
« Last Edit: March 24, 2009, 01:22:05 PM by swelols »

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: will this work with Atmel ATmega168?
« Reply #1 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.

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: will this work with Atmel ATmega168?
« Reply #2 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.
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline Weird Fishes

  • Full Member
  • ***
  • Posts: 60
  • Helpful? 0
Re: will this work with Atmel ATmega168?
« Reply #3 on: April 09, 2009, 07:01:24 PM »
Orangutan-lib may be what you want.

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.

 


Get Your Ad Here

data_list