Seite 1 von 1

Robocup soccer

Verfasst: 22 Okt 2014, 12:01
von andi1965
Hallo wir wollen von der Roboter AG des Scheffelgymnasiums am Robo-soccer Junior Wettbewerb teilnehmen.
Hat jemand Erfahrungen mit IR Sensor am Robo TX Controler um den Ball, der gepulste IR Signale aussendet, zu orten.

Sind für jede Anregung dankbar.

Gruß Andreas

Re: Robocup soccer

Verfasst: 22 Okt 2014, 13:18
von Ad2
No, but it is an interesting subject. We are talking about the RCJ-05 ball right? You van use TSOP1740 sensors or similar, these will give pulses between 200 and 500us (depending on distance), repeated at 1200Hz. The TX cannot process such frequencies so you will need to do some preprocessing. Personally I would use an ATTiny45 or the like (one per sensor) to convert the pulse signal to I2C which can be processed by the TX. Unfortunately thie ATTiny45 only has 8-bit counters and no capture register/input. Also the USI is not the easiest solution for I2C. It is easier to use an ATMega328 (Arduino chip) but these are twice as expensive and 3 times as large.