ut-robotics / picr22-team-gibibot

0 stars 0 forks source link

Ball sensor #36

Closed ReikoR closed 2 years ago

ReikoR commented 2 years ago

image

Is the servo used for angle adjustment or ball holding?

For holding 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.

raimo0 commented 2 years ago

The servo was for angle adjustment but I added a second servo for ball holding and a connector for the IR sensor.

ReikoR commented 2 years ago

image image

PA4 pin is not 5V tolerant. From datasheet: image image

Also SERVO_PWN should probably be SERVO_PWM: image

raimo0 commented 2 years ago

Changed the IR sensor pin to PF0 and fixed the typos.