-
Notifications
You must be signed in to change notification settings - Fork 11
Sensor Cape
#Sensor Cape
The sensor cape can interface with 4 resistive inputs and 32 analog inputs and external i2c sensor. The sensor has a input power indicator led and 4 output power indicator leds. The sensor cape use the following basic conponents:
-
Four ADC ics. ADS7830
-
One 4 channel pnp bjt. MMPQ2907A
-
Two 4 channel pot. ISL23348
##ADCs
The ADS7830 is a i2c Addressable devices. The i2c addresses range form 0x48 to 0x4b. Each adc can read up to 8 analog inputs. Each adcs is connected to a 16 pin connector. This 16 pin connector is used to interface with the 8 channel ir array.
##Resistive Inputs
This cape can interface with 4 resistive inputs. Each input is tied to a pot, pnp bjt and a logic level indicator led. The logic level can be changed by changing the resistance of the pot. The pot's is i2c addressable. So, the pots resistances can be changed by its register. The registers range form 0 to 3.
The led indicators are tied to the following gpio pins:
GPIO0_30
GPIO1_28
GPIO0_31
GPIO1_16
##Port for generic i2c sensor
There is a 5 pin connector on the side of the board. The connector is laid out as followes.
Pin 1: GND
Pin 2: VCC 3.3V
Pin 3: GPIO1_7
Pin 4: SDA Bus 2
Pin 5: SCL Bus 2
As of the 2015 competition this is being used for a color sensor, but it can be used for any i2c device.