User Tools

Site Tools


2019_i2c_sensors

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
2019_i2c_sensors [2019/02/27 23:34] tell2019_i2c_sensors [2022/02/08 22:12] (current) – [Eastbots Standard 4-pin I2C: same as RoboRIO] tell
Line 18: Line 18:
   * SDA   * SDA
  
-0.1" COTS cables like this are helpful for wiring:  +0.1" COTS cables like this are helpful for wiring: https://www.sparkfun.com/products/10369
 ===== Rev Color Sensor ===== ===== Rev Color Sensor =====
  
Line 32: Line 31:
 ===== Adafruit VCNL4010 Proximity Sensor ===== ===== Adafruit VCNL4010 Proximity Sensor =====
 https://www.adafruit.com/product/466 https://www.adafruit.com/product/466
 +{{ :adafruit-vcnl4010.jpg?200|}}
 This sensor is useful for sensing distances to a target of about 10-150mm. This sensor is useful for sensing distances to a target of about 10-150mm.
 It has 6 pins, which isn't a connector housing size that we normally stock. Besides, we want to adapt to somthing close to the standard pinout. It has 6 pins, which isn't a connector housing size that we normally stock. Besides, we want to adapt to somthing close to the standard pinout.
Line 45: Line 44:
 Note that the last 4 pins match up exactly with the standard 4 pin connector above, but there's the extra 5v power pin to the outside of the ground pin. Note that the last 4 pins match up exactly with the standard 4 pin connector above, but there's the extra 5v power pin to the outside of the ground pin.
  
-(TODO picture of cable schematic)+{{ :vcnl4010-cable.jpg?600 |}} 
 + 
 +TODO redraw this more clearly.
  
 ===== Adafruit VL53L0X Distance Sensor ===== ===== Adafruit VL53L0X Distance Sensor =====
Line 51: Line 52:
 https://learn.adafruit.com/adafruit-vl53l0x-micro-lidar-distance-sensor-breakout https://learn.adafruit.com/adafruit-vl53l0x-micro-lidar-distance-sensor-breakout
  
 +{{ :adafruit-vl53l0x.jpg?200|}}
 +
 +This sensor is useful for distances from  about 50mm to 1200mm.  We're planning to use it to detect distance from the robot to the cargo hatch placement sites on the field.
 +
 +It runs directly on 3.3v power, so no need for funny business there.  We just need to adapt it to the standard i2c pinout by ignoring the pins we don't need, and putting the rest in the right order.
  
 +{{ :vl53l0x-hookup.jpg?600 |}}
 ===== I2C multi-sensor breakout panel ===== ===== I2C multi-sensor breakout panel =====
  
Line 73: Line 80:
 In addition, there's a yellow LED that indicates presence of 3.3v power - proper connection to the 4-pin rio connector. In addition, there's a yellow LED that indicates presence of 3.3v power - proper connection to the 4-pin rio connector.
  
 +==== hookup ====
 +
 +NOTE: the black text annotations on this picture are WRONG.
 +but the cables in the picture are correct.  we'll replace this photo shortly.
 +
 +{{ :i2cboard-hookup-annotated.jpg?400 |}}
  
2019_i2c_sensors.1551328453.txt.gz · Last modified: 2019/02/27 23:34 by tell