ut-robotics / picr22-team-mu

0 stars 0 forks source link

Ball sensor #5

Closed ReikoR closed 1 year ago

ReikoR commented 1 year ago

For holding the balls a ball sensor should be added. Otherwise it's hard to know when the servo should be stopped.

In the lab we have IS471FE sensors and 3mm IR LEDs.

ReikoR commented 1 year ago

image image

If you are using IS471FE as a ball sensor, then the LED should be connected to the sensor itself.

Only the output of the sensor should be connected to the MCU.

Test circuit from datasheet as an example: image

ReikoR commented 1 year ago

External pullup resistor is not needed. IS471FE has internal pullup resistor. 300 Ohms might also be too low of a value.

image

From datasheet: image