Proximity/Ambient Light Sensor - Arrow DECA User Manual

Table of Contents

Advertisement

The directory includes the following files:
 Batch file: test.bat
 FPGA configuration file: DECA_Power_Monitor.sof
 Demonstration Setup
 Quartus II v15.0 must be pre-installed to the host PC.
 Connect the DECA board (J10) to the host PC with a USB cable and install the USB-Blaster II
driver if necessary
 Plug the 5V adapter to DECA Board
 Execute the demo batch file " test.bat" from the directory \DECA_Power_Monitor\demo_batch
 Double click the PowerM.stp in the path\DECA_Power_Monitor\demo_batch
 QuartusII SignalTap II will be activated as shown in
 Click Signaltap II "Start" to run Signaltap II.
 Calibration value and Current value will display on SignalTap II window.
Figure 5-7 Reading the register value of voltage and current via I2C interface
5
.
5
P
r
o
x
i
m
5
.
5
P
r
o
x
i
m
There is a Proximity/Ambient Light Sensor IC (Si1143) with three LEDs on the back of D
ECA. This demonstration will show how to use this IC to measure the distance between D
ECA board and an object. The light from three Infrared Light diodes (DS1~DS3) impinge
on an object and reflect to Si1143 photodiode. Photodiode converts the brightness of three i
nfrared lights into three electricity values, pass the values to ADC IC to convert into digita
DECA User Manual
i
t
y
/
A
m
b
i
e
n
t
i
t
y
/
A
m
b
i
e
n
t
Figure
L
i
g
h
t
S
e
n
s
o
r
L
i
g
h
t
S
e
n
s
o
61
5-7.
r
www.terasic.com
May 22, 2015

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents