Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: mobz on November 01, 2007, 08:55:10 PM

Title: ....7 sensors on atmega8
Post by: mobz 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. ;) 
Title: Re: ....7 sensors on atmega8
Post by: frank26080115 on November 01, 2007, 09:25:09 PM
look into using serial ADCs, you can then have as many sensors as you'd like
Title: Re: ....7 sensors on atmega8
Post by: Tsukubadaisei 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.
Title: Re: ....7 sensors on atmega8
Post by: Admin 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?