Closed ReikoR closed 1 year ago
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.
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.
IR LED should not be on the mainboard.
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.