Author Topic: Can the AVRs do what PICs do?  (Read 2108 times)

0 Members and 1 Guest are viewing this topic.

Offline Razor ConceptsTopic starter

  • Supreme Robot
  • *****
  • Posts: 1,855
  • Helpful? 53
Can the AVRs do what PICs do?
« on: October 14, 2008, 04:39:44 PM »
I've been looking at building this:

Plus some other interesting projects that guy has made. All of his projects use PIC, but I want to use AVR. Do all microcontrollers generally have the same features? The circuit on that lost model alarm is surprsingly simple, so I was wondering if I could just pop in a ATtiny25 and rewire it a little to get it to work.

Also the guy only releases the hex file for the PIC, so we dont have any readable code to look at.
« Last Edit: October 14, 2008, 05:00:29 PM by Razor Concepts »

Offline izua

  • Supreme Robot
  • *****
  • Posts: 682
  • Helpful? 0
Re: Can the AVRs do what PICs do?
« Reply #1 on: October 14, 2008, 05:49:42 PM »
Yes, and usually faster (comparing 8 bit avrs to 8 bit pics). Assembly wise, it's easier, too.
You must be an expert in both assembly languages (or be extremely patient and with a lot of reference around) to convert a hex from one format to another. It's doable, but it a hardcore job.
Way easier just to rewrite the code.

Or just use a PIC, if you want the functionality.
Check out my homepage for in depth tutorials on microcontrollers and electronics.

Offline fendi

  • Beginner
  • *
  • Posts: 5
  • Helpful? 0
Re: Can the AVRs do what PICs do?
« Reply #2 on: October 19, 2008, 09:59:05 AM »
 ;D hai
what assamble language is more difficult AVR or PIC?

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
Re: Can the AVRs do what PICs do?
« Reply #3 on: October 19, 2008, 10:29:39 AM »
Assembly is the same, as C is the same, Basic is the same. The only thing that differs is the actual hardware of the microcontroller, which has different registers and functions for each micro, even in the same family of micros.
Check out the uBotino robot controller!


Get Your Ad Here