2022_ball_presence_sensors
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| 2022_ball_presence_sensors [2022/04/05 21:25] – [Banner Engineering sensor] tell | 2022_ball_presence_sensors [2023/01/19 23:20] (current) – [Third Version: custom PCB] tell | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Banner Engineering sensor ===== | ===== Banner Engineering sensor ===== | ||
| + | {{ : | ||
| Friends on team 888 donated a few of these sensors. | Friends on team 888 donated a few of these sensors. | ||
| Line 19: | Line 20: | ||
| The difficulty is that these sensors operate on 10-30 volts, and that most of those we recieved are " | The difficulty is that these sensors operate on 10-30 volts, and that most of those we recieved are " | ||
| A stable +12v supply is easily obtained with a [[VRM]], but switched +12v is no good for input to a roboRIO DIO input. | A stable +12v supply is easily obtained with a [[VRM]], but switched +12v is no good for input to a roboRIO DIO input. | ||
| + | |||
| + | ===== Interface Circuit ===== | ||
| Here's the circuit we came up with to interface the +12v sensor output to the RoboRIO: | Here's the circuit we came up with to interface the +12v sensor output to the RoboRIO: | ||
| Line 38: | Line 41: | ||
| ===== First Prototype ===== | ===== First Prototype ===== | ||
| + | Our first prototype was built by Jake and Darya on a piece of pad-per-hole protoboard. | ||
| + | {{ : | ||
| + | |||
| + | We attached a 5-pin header to the Banner Engineering cable, to mate with a 5 pin header on the board. | ||
| + | Jake designed the 5-pin pinout so that reversing the connector wouldn' | ||
| ===== Second Version: DIO Tester + Proto PCB ===== | ===== Second Version: DIO Tester + Proto PCB ===== | ||
| + | We then rushed out a slight variation on the DIO Tester board, one that incorporates a tiny area of | ||
| + | " | ||
| + | {{ :: | ||
| + | |||
| + | We fabricated these at oshpark.com. | ||
| + | |||
| + | With to trace cuts and some careful placement, the banner adaptor circuit can be fit into this proto area. We built several of these, including two that went to Houston for FIRST Championship. | ||
| + | |||
| + | {{ : | ||
| ===== Third Version: custom PCB ===== | ===== Third Version: custom PCB ===== | ||
| + | We looked into doing a complete PCB for the banner-sensor adapter circuit, but never completed it. | ||
| + | One idea for that board was to include two transistors, | ||
| + | That's right, two. There are actually two output wires from these sensors. | ||
| + | |||
| + | The stock standard black-colored Banner Engineering proximity sensor, available from digikey, has both normally-open an d normally closed contacts. | ||
| + | The yellow ones we were given by another team has a normally-open signal, and another signal wire that seems to indicate when the signal on the first wire is reliable, or if the light returned from the detected object is weak. | ||
| + | Hooking up both outputs to the control computer could enable it to determine if the sensor is connected properly, but the software would have to be different for the black vs. yellow versions. | ||
2022_ball_presence_sensors.1649208342.txt.gz · Last modified: 2022/04/05 21:25 by tell
