Difference between revisions of "Gesture Recognition Sensor Module(GY- PAJ7620U)"

From Wiki
Jump to: navigation, search
(Introduction)
(Experimental Procedures for Arduino)
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
== '''Introduction''' ==
 
== '''Introduction''' ==
 
[[File:GY-PAJ7620U2_1.jpg]]
 
[[File:GY-PAJ7620U2_1.jpg]]
[[File:GY-PAJ7620U2_2.jpg]]
+
[[File:GY-PAJ7620U2_2.jpg]]<br>
 
PAJ7620U2 integrates the gesture recognition function and general purpose I2C interface into a single chip. PAJ7620U2 has build in proximity sensing function that is used to detect the approaching or leaving objects. The gesture information can be easily accessed by using I2C bus
 
PAJ7620U2 integrates the gesture recognition function and general purpose I2C interface into a single chip. PAJ7620U2 has build in proximity sensing function that is used to detect the approaching or leaving objects. The gesture information can be easily accessed by using I2C bus
  
Line 23: Line 23:
 
'''SDA''':I2C data pin<br>
 
'''SDA''':I2C data pin<br>
 
'''INT''':Interrupt pin(Active low)<br>
 
'''INT''':Interrupt pin(Active low)<br>
 +
 +
== '''Principle''' ==
 +
The PAJ7620U2 should be oriented as shown in Figure 4 for correct gesture detection
 +
<br>
 +
[[File:GY-PAJ7620U2_3.jpg]]
 +
<br>
 +
if rotate the gesture module, The direction of gesture detection interrupt flag mask(Register Bank 0,ADDR 0X41)and gesture detection interrupt flag(Register Bank0,ADDR 0X43)nedds to re-mapping.
 +
[[File:GY-PAJ7620U2_4.jpg]]
 +
<br>
 +
 +
== '''Experimental Procedures for Arduino''' ==
 +
 +
'''Step 1:''' Connect the circuit:
 +
<table border="8">
 +
<tr>
 +
<td>GY-PAJ762 <td>SunFounder Uno
 +
</tr>
 +
<tr>
 +
<td>VIN</td> <td>3.3v</td>
 +
</tr>
 +
<tr>
 +
<td>GND</td> <td>GND</td>
 +
</tr>
 +
<tr>
 +
<td>SDA</td> <td>A4</td>
 +
</tr>
 +
<tr>
 +
<td>SCL</td> <td>A5</td>
 +
</tr>
 +
<table>
 +
<br>
 +
[[File:GY-PAJ7620U2_5.jpg]]
 +
<br>
 +
'''Step 2:'''
 +
<br>
 +
[[File:GY-PAJ7620U2_6.jpg]]<br>
 +
[[File:GY-PAJ7620U2_7.jpg]]<br>
 +
[[File:GY-PAJ7620U2_8.jpg]]<br>
 +
[[File:GY-PAJ7620U2_9.jpg]]<br>
 +
=='''Resource'''==
 +
[http://wiki.sunfounder.cc/images/3/33/PAJ7620U2_Datasheet_V0.8_20140611.pdf GY-PAJ7620U] [[File:PDF.jpg]]<br>
 +
[http://wiki.sunfounder.cc/images/c/cf/Gesture_PAJ7620.zip Gesture_PAJ7620 arduino] [[File:LINK.jpg]]

Latest revision as of 07:01, 13 November 2019

Introduction

GY-PAJ7620U2 1.jpg GY-PAJ7620U2 2.jpg
PAJ7620U2 integrates the gesture recognition function and general purpose I2C interface into a single chip. PAJ7620U2 has build in proximity sensing function that is used to detect the approaching or leaving objects. The gesture information can be easily accessed by using I2C bus

Features

  • Typical supply voltage ranges from 2.8V to 3.3V and I/O voltage is 1.8V~3.3V
  • Nine gesture recognition (Up / Down / Left / Right / Push / Pull / CW / CCW / Wave)
  • Gesture speed is from 60°/s to 600°/s in Normal Mode and 60°/s to 1200°/s in Gaming Mode
  • Ambient light immunity: < 100k Lux
  • Built-in proximity detection
  • Flexible power saving scheme
  • I2C interface up to 400 kbit/s, Pull-up voltage from 1.8V to 3.3V
  • Ambient light noise cancellation

Introduction of Pins

VIN:Power Supply
GDN:Ground
SCL:I2C clock pin
SDA:I2C data pin
INT:Interrupt pin(Active low)

Principle

The PAJ7620U2 should be oriented as shown in Figure 4 for correct gesture detection
GY-PAJ7620U2 3.jpg
if rotate the gesture module, The direction of gesture detection interrupt flag mask(Register Bank 0,ADDR 0X41)and gesture detection interrupt flag(Register Bank0,ADDR 0X43)nedds to re-mapping. GY-PAJ7620U2 4.jpg

Experimental Procedures for Arduino

Step 1: Connect the circuit:

GY-PAJ762 SunFounder Uno
VIN 3.3v
GND GND
SDA A4
SCL A5

GY-PAJ7620U2 5.jpg
Step 2:
GY-PAJ7620U2 6.jpg
GY-PAJ7620U2 7.jpg
GY-PAJ7620U2 8.jpg
GY-PAJ7620U2 9.jpg

Resource

GY-PAJ7620U PDF.jpg

Gesture_PAJ7620 arduinoLINK.jpg