ut-robotics / picr22-team-kivipallur-jurto

0 stars 0 forks source link

Ball sensor #40

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

IR LED and sensor need to be mechanically connected to thrower sides. And then wired and connected to mainboard. On the mainboard a 4-pin MicroMatch connector can be used.

ReikoR commented 1 year ago

image

IR LED needs to be on one side of the thrower, not on the mainboard. IR sensor needs to be on the other side of the thrower. If something (like a ball) comes in between the LED and the sensor then the light will not reach the sensor and the sensor output changes, which can be detected by the microcontroller.

ReikoR commented 1 year ago

IR LED should not be on the mainboard. image