Download Print this page

Using The Digital Accelerometer; Using The Ambient Light Sensor - Terasic P0158 User Manual

Capacitive multi-touch lcd with camera module

Advertisement

3
.
3
U
s
i
n
g
t
3
.
3
U
s
i
n
g
t
The MTLC is equipped with a digital accelerometer sensor module. The ADXL345 is a small,
thin, ultralow power assumption 3-axis accelerometer with high resolution measurement.
Digitalized output is formatted as 16-bit twos complement and can be accessed either using
SPI interface or I2C interface. This chip uses the 3.3V CMOS signaling standard. Main
applications include medical instrumentation, industrial instrumentation, personal electronic
aid and hard disk drive protection etc. Some of the key features of this device are listed below.
For more detailed information of better using this chip, please refer to its datasheet which is
available on manufacturer's website or under the /datasheet folder of the system CD.
Table 3-4 Pin Names and Descriptions of the GSENSOR Module
Signal Name
GSENSOR_INT1
GSENSOR_INT2
GSENSOR_CS_n
GSENSOR_ALT_ADDR
GSENSOR_SDA_SDI_SDI
O
GSENSOR_SCL_SCLK
3
.
4
U
s
i
n
g
t
3
.
4
U
s
i
n
g
t
The APDS-9300 is a low-voltage digital ambient light sensor that converts light intensity to
digital signal output capable of direct I2C communication. Each device consists of one
broadband photodiode (visible plus infrared) and one infrared photodiode. Two integrating
ADCs convert the photodiode currents to a digital output that represents the irradiance
measured on each channel. This digital output can be input to a microprocessor where
illuminance (ambient light level) in lux is derived using an empirical formula to approximate
the human-eye response. For more detailed information of better using this chip, please refer to
its datasheet which is available on manufacturer's website or under the /datasheet folder of the
system CD.
Table 3-5 Pin names and Descriptions of Ambient Light Sensor Module
Signal Name
LSENSOR_ADDR_SEL
LSENSOR_INT
LSENSOR_SCL
LSENSOR_SDA
MTLC User Manual
h
e
D
i
g
i
t
a
l
A
h
e
D
i
g
i
t
a
l
A
FPGA Pin No.
G27
G28
F28
K27
K28
M27
h
e
A
m
b
i
e
n
t
h
e
A
m
b
i
e
n
t
FPGA Pin No.
J25
L28
J26
L27
c
c
e
l
e
r
o
m
e
t
e
c
c
e
l
e
r
o
m
e
t
e
Description
Interrupt 1 output
Interrupt 2 output
Chip Select
I2C Address Select
Serial Data
Serial Communications Clock
L
i
g
h
t
S
e
n
s
o
L
i
g
h
t
S
e
n
s
o
Description
Chip select
Interrupt output
Serial Communications Clock
Serial Data
17
r
r
r
r
I/O Standard
2.5V
2.5V
2.5V
2.5V
2.5V
2.5V
I/O Standard
2.5V
2.5V
2.5V
2.5V
www.terasic.com
May 22, 2014

Advertisement

loading

This manual is also suitable for:

Altera mtlc