Author Topic: Atmega 16  (Read 3610 times)

0 Members and 1 Guest are viewing this topic.

Offline darkjungleTopic starter

  • Jr. Member
  • **
  • Posts: 11
  • Helpful? 0
Atmega 16
« on: August 22, 2007, 07:03:37 AM »
What would be the circuit connections in a line following robot,if i want to use atmega 16 instead of 8.
Should the pins xtal1 and xtal 2 be used or not.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: Atmega 16
« Reply #1 on: September 04, 2007, 09:23:25 AM »
Hmmmm just check the datasheet pinout of the ATmega16.

The pin numbers and locations will be different, but the pin names will be the same.

For example, match AREF to AREF, B3 to B3, etc.

You will need to make slight modifications in code, as described for the ATmega168:
http://www.societyofrobots.com/step_by_step_atmega168_swapout.shtml

Quote
Should the pins xtal1 and xtal 2 be used or not.
Only if you want to add a crystal to boost processing speed. Unless your bot does complex algorithms, I wouldnt bother with it.

 


Get Your Ad Here

data_list