Difference between revisions of "BPI-PC101 gesture recognition module"
(→I2C interface) |
(→I2C interface) |
||
Line 124: | Line 124: | ||
[[File:Pc101_4.png]] | [[File:Pc101_4.png]] | ||
+ | |||
+ | =Principles of Operation= | ||
+ | |||
+ | Total register addresses are maintained inside the I2C block, each having a 8-bit register address. Each address accommodates an 8-bit data register that can be either written or read via I2C. The command registers program the sensor for various modes, setting and Interrupt threshold. The read-only registers contains output codes. | ||
=Documents= | =Documents= |
Revision as of 03:30, 27 June 2018
Contents
Introduction
The PC101 integrates an ambient light (ALS) sensor, a proximity sensor (PS) and 6-D gesture sensors with built-in IR LED. It is used in notebook PCs, smartphones, MIDs (mobile internet devices),PNDs (portable navigation devices), e-books, tablet PCs, flat-panel televisions, etc. for extending battery life and for better user experience. Ambient light sensor optimizes the screen brightness to extend battery and to increase battery life. Proximity sensor (PS) measures the IR reflection intensity which correlates to the distance of the object. Proximity sensor enables the device controller to turn off the LCD back-light and the touch-screen sensor when the device is held close to your ear, placed inside the pocket, purse, or bags. This function saves the battery power and avoids unintended touch-screen trigger. Proximity sensor can also work as a device wake-up sensor by sensing the user waving the hand in front of the device. The 6-D gesture sensor detects the waving of palm in front of the screen in 6 directions left, right, up, down and z-axis. The hand gesture without the need to touch the screen adds new way of human device interaction. For example, the gesture can be used to accept a phone call in the hand-free mode while the user is driving in a car. In another example, the user wave to the screen to advance or retract in the picture viewing mode without worrying the food stains from the fingers to be left on the screen.
Key Features
- Digital control and data output via I2C (100 KHz and 400 KHz) interface
- ALS, PS and Gesture sensor with built-in IR LED
- Slave Address 0x58
- 6D Gesture Recognition Distance: 20~200 mm(up、down、left、right、hold)
- Programmable interrupt function for ALS and PS with upper and lower thresholds
- Support interrupt notification
Applications
- smart lights
- Household electrical control
- Music control equipment
- Game equipment
- Smart bath
- Distance detection
- Smart toy
Hardware
Interface
Block Diagram
PC101 DFN Pin Assignment
Hardware spec
PC101 PIN definitions
PC101 Gesture Sensor Pin define | |||
Pin | Name | Description | |
1 | 5V | Power | |
2 | GND | Ground | |
3 | INT | Digital Out | |
4 | SCL | Serial Digital Input Clock | |
5 | SDA | Serial Digital I/O Data | |
6 | TXD | Serial port sends pins | |
7 | RXD | The serial port receives the pin |
Application Circuit
Electrical Characteristics
- Voltage characteristic
Voltage characteristic | |||||
No | pin | MIN | TYP | MAX | UNIT |
1 | 5V | 4.5 | 5.0 | 5.5 | V |
2 | GND | -0.3 | 0 | 0.3 | V |
3 | INT | GND | 0/3.3 | 3.7 | V |
4 | SCL | -0.3 | 0/3.3 | 3.7 | V |
5 | SDA | -0.3 | 0/3.3 | 3.7 | V |
- Digital interface characteristics
Digital interface characteristics | |||||
No | Description | MIN | TYP | MAX | UNIT |
1 | SCL/SDA:LOW | -0.3 | - | 1.0 | V |
2 | SCL/SDA:HIGH | 2.3 | - | 3.6 | V |
3 | SCL | 0 | - | 400 | kHz |
4 | Pull-up resistors | - | 2.0 | - | kΩ |
5 | INT:LOW | - | - | 0.4 | V |
6 | INT:HIGH | 2.4 | - | - | V |
I2C interface
I2C interface ' | |||
Ordering Chip Information | Write to Slave | Read from Slave | |
PC101 | 1011000 | 1011001 |
- Receive (Single Read) data from register
- Send (Single Write) data into register
Principles of Operation
Total register addresses are maintained inside the I2C block, each having a 8-bit register address. Each address accommodates an 8-bit data register that can be either written or read via I2C. The command registers program the sensor for various modes, setting and Interrupt threshold. The read-only registers contains output codes.