Author Topic: Will $50 robot's code work for other microcontrollers???  (Read 4419 times)

0 Members and 1 Guest are viewing this topic.

Offline harisankarsaTopic starter

  • Jr. Member
  • **
  • Posts: 23
  • Helpful? 0
Will $50 robot's code work for other microcontrollers???
« on: August 10, 2007, 11:21:29 AM »
I have been interested in robots for a long time and it was by chance that i found this society.When i saw that this site gives all information to make a robot i rounded up a few interested friends and started planning for making a robot.But i am pretty much stuck right now......I have searched throughout my city but could not find ATmega8 AVR chip,which was recommened.The closest i got was some 89C51.....
My question is :- "Will the code given in PHOTOVORE work if another microcontroller is used?"
Pls help me.......

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Will $50 robot's code work for other microcontrollers???
« Reply #1 on: August 11, 2007, 06:38:21 AM »
I dont think you will be able to find an ATmega at any store . . . you would have to order it online.

The source code is specific to ATmega's, meaning most of it wont work on any other microcontroller.

But if you can find any type of microcontroller, we can probably find you source code for you to use. No worries!

Offline megaman935

  • Robot Overlord
  • ****
  • Posts: 182
  • Helpful? 0
Re: Will $50 robot's code work for other microcontrollers???
« Reply #2 on: August 11, 2007, 07:50:42 AM »
Quote
The closest i got was some 89C51.....
That is an atmel, you need an atmega.

There are different languages for different brands of microcontrollers. For example, parallax uses Pbasic while arduino uses the wiring language. If you don't know how to alter the code from one language to the other, I highly recommend sticking with the atmega. You won't find them, as Admin said, in a store most likely so you need to hop on over to their website or to another website that has them.

 


Get Your Ad Here