Author Topic: ....7 sensors on atmega8  (Read 2752 times)

0 Members and 1 Guest are viewing this topic.

Offline mobzTopic starter

  • Jr. Member
  • **
  • Posts: 14
  • Helpful? 0
....7 sensors on atmega8
« on: November 01, 2007, 08:55:10 PM »
hey guys,im building a micromouse as a school project.I wanted to design seven sensors on atmega8( rules to uses atmega8).i thoght setting on one at a time to save power,but my supervisor is saying its 7 is too much and and i wont have enough pins on atmega8.im not sure if hes    correct if so how many sensors does one suggest?

i thought the bigger the number the more accuracy in making smooth turns. ;) 

Offline frank26080115

  • Supreme Robot
  • *****
  • Posts: 322
  • Helpful? 2
Re: ....7 sensors on atmega8
« Reply #1 on: November 01, 2007, 09:25:09 PM »
look into using serial ADCs, you can then have as many sensors as you'd like

Offline Tsukubadaisei

  • Robot Overlord
  • ****
  • Posts: 293
  • Helpful? 0
Re: ....7 sensors on atmega8
« Reply #2 on: November 02, 2007, 02:40:43 AM »
Use 2 AtMega8 then. Connect them using the serial. you will need to add a few extra switches to be able connect them to the computer.
A.I.(yes those are my initials)

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: ....7 sensors on atmega8
« Reply #3 on: November 02, 2007, 11:17:04 AM »
The ATmega8 can only handle 6 analog sensors (should be good enough, no?). There are many other microcontrollers out there that can handle 8. A small few can even do 16.

What kind of sensor(s) are you using? What is your setup? Have you considered putting just one or two sensors on a servo and then scanning it?