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/03/23 23:16] – 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: | ||
| {{ : | {{ : | ||
| - | LEDs D1 and D2 and resistors R1 and R2 are basicly our DIO test board. | + | LEDs D1 and D2 and resistors R1 and R2 are basicly our [[DIO tester and breakout]]. |
| + | |||
| + | When the sensor' | ||
| + | which pulls the output signal to ground, sending a " | ||
| + | When the sensor' | ||
| + | |||
| + | J2 provides a connection for +12v input power from the VRM or other buck-boost converter. | ||
| The banner sensor' | The banner sensor' | ||
| + | We only obtained one mating cable for these sensor, so when we put on a second sensor, we bought one from Digikey. | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | ===== 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 ===== | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | 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.1648091765.txt.gz · Last modified: 2022/03/23 23:16 by tell
