AMS AS7263 Light Sensor User Guide
AMS AS7261, a spectral sensing solution, empowers you to explore color and light like never before. With 32 high-sensitivity photodiodes, it captures a detailed spectral fingerprint of any light source or reflected light. Unleash your creativity in applications like color matching, material sorting, liquid analysis, and much more. Dive into the world of spectral sensing and discover endless possibilities!
Tangazo
Tangazo
Eval Kit Manual
AS726x-iSPI
Evaluation Kit User Guide
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 1
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
8
6
7
4
5
3.4
3.5
3
3.1
3.2
3.3
1
1.1
1.2
2
Content Guide
Introduction ........................................................................................................................ 3
Kit Content ......................................................................................................................... 3
Connection ........................................................................................................................ 3
Getting Started .................................................................................................................. 4
Hardware Description ........................................................................................................ 4
Hardware Architecture ....................................................................................................... 4
Power Supply .................................................................................................................... 6
UART/ I
2
C Interface ........................................................................................................... 6
LEDs Pads ......................................................................................................................... 6
Others ................................................................................................................................ 8
Software Description .......................................................................................................... 8
AS726x-iSPI Schematics ................................................................................................... 9
Ordering & Contact Information ....................................................................................... 10
Copyrights & Disclaimer .................................................................................................. 11
Revision Information ........................................................................................................ 12
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 2
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
1 Introduction
AS726x 1 -intelligent Spectral Interface (iSPI) Evaluation Kits provide a platform to evaluate
ams
AS726x products with AS726x – iSPI software running on Windows based personal computer. This user guide describes the standard features and functions of AS726x-iSPI evaluation kit.
Please note, the A726x iSPI is a common hardware platform that is equipped with the specifically requested AS726x device and its corresponding firmware pre-installed in the flash EPROM . The differing iSPI demo kits utilize common functions and components as described here. A comment in this manual will be given separately in case of any differences between the singleindividual demo kits. The following table lists the demo kits the sensor and filter channel characteristics and relevant channel references detailed in the device data sheet and presented by the graphical user interface.
XYZ = CIE1931 (detector with standard observer function), DK = Dark (detector capped), CL= Clear (detector without filter)
Sensor reference
Spectral response
AS7261 Demo-Kit
AS7261
X, Y, Z, DK,
NIR 850nm, CL
AS7262 Demo Kit
AS7262
V 450nm, B 500nm,
G 550nm, Y 570nm,
O 600nm, R 650nm
AS7263 Demo Kit
AS7263
R 610nm, S 680nm,
T 730nm, U 760nm,
V 810nm, W 860nm
Figure 1: Alternative Demo kits with sensor reference
1.1 Kit Content
The following items are delivered with this Demo Kit.
Pos. Item
1 AS726x-iSPI Board
2
3
USB Memory Stick
Cable
Comment
Evaluation Board (Hardware release ≥1V1)
Documents and Software
FTDI USB-MPSSE Cable
Figure 2: Kit Content
1.2 Connection
Figure 3: AS726x-iSPI and Cable Connection
J2’s Pin 1 (the pin with square pad) needs to be connected to Red wire of the cable.
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 3
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
2 Getting Started
The evaluation kit requires one time installation of FTDI CDM Driver for the USB-MPSSE cable if it is not already installed on the computer. The installation file can be found in the USB Memory Stick. For additional assistance on installation of the FTDI driver, please refer to www.ftdichip.com
for more information.
The AS726x Spectral Sensing – iSPI software does not require separate installation. Simply copy the following files to any folder on the host systemand start the .exe file to start the GUI.
File
1 AS726x_Spectral_Sensing_iSPI_GUI.exe
2 FTD2XX_NET.dll
Comment
Excutable file
DLL file for the USB converter
Figure 4: AS726x Spectral Sensing –iSPI GUI Software Files
3 Hardware Description
The AS726x-iSPI design consists of AS726x device with associated flash memory, LED circuit, and a jumper configuration header for UART/I 2 C interface selection.
3.1 Hardware Architecture
ams Eval Kit Manual
[v2-04] 2018-May-31
Figure 5: Board Block Diagram
Page 4
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
C
E
A
B
D
C
F
Pos. Designator
A U1
B
C
J3, J4
D6, D7
D
E
J2
V
F U2
Figure 6: PCB (Top, button)
Comment
AS726x Intelligent Spectral Sensor
Headers for UART or I
2
C interface selection;
Place Holders for LEDs;
Six Pins Header; Connect to PC with USB-MPSSE cable;
Test Point for External Supply for LEDs;
Flash memory;
Figure 7: Devices, Connectors and LEDs ams Eval Kit Manual
[v2-04] 2018-May-31
Page 5
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
3.2 Power Supply
The AS726x-iSPI module is powered by the included FTDI C232HM-DDSHL-0 USB-MPSSE cable that connects to a personal computer. The voltage supplied to hteh iSPI is 3.3V.
3.3 UART/ I
2
C Interface
The AS726x intelligent spectral sensor supports either UART or I 2 C interface as the communication path. By default, AS726x-iSPI demo kit is shipped as using I 2 C interface. AS726x Spectral Sensing iSPI GUI software can be used to evaluate AS726x features.
If the UART interface is desired, please adjust the jumper setting as below. Any terminal software configured as 115200 Baud Rate, 8-Bit Data, No Plarity, 1-Bit Stop would be fine.
J3
UART Interface OFF
I
2
C Interface ON
J4
ON
OFF
Figure 8: Jumper Setting
Please note that you should reset the USB-MPSSE cable with a plug-out/plug-in action when you switch between UART and I
2
C interface during your evaluation.
3.4 LEDs Pads
AS726x-iSPI module has two place holders for LED light sources. Since spectral sensing results are greatly influenced by the illumination sources that are selected, care should be taken to consider delivered wavelengths and/or spectral power distribution in LED illuminant component selections. By default, no LEDs are populated.
ams Eval Kit Manual
[v2-04] 2018-May-31
Figure 9: Generic Application
Page 6
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
A generic application of AS726x is to illuminate a target and utilized the AS726x sensor elements to observe the results. Illuminant LED selection is determined by the spectral responsivity of reflected light and characteristics of the target that is to be observed. For example, if the target is expected to absorb 680nm light and the application needs to distinguish the target from others, a broadband white
LED might be used as the light source with AS7263 and the 680nm channel should be checked.
Applications will differ widely, and LED component selection is important to fulfill the application requirement.
LEDs can be powered either by onboard 3.3V rail or by an external voltage source. If the 3.3V rail is used, populate LEDs on D6/D7 and install a zero-ohm resistor on R10. If a 3.3V supply is insufficient for the required LED forward voltage , an external voltage supply can be connected to the test point,
V and the current limit resistor R11 should be installed. Please note that R10 must be removed when connecting an external voltage source to the module. The AS726x can be configured to drive LEDs with 12.5mA, 25mA, 50mA, or 100mA current. LED D5 is designated as an indicator LED The LED drive currents can be controlled and configured using the vitual I 2 C register, 0x07 (the register address
0x87 for write).
Addr: 0x07/0x87 LED Control
Bit
7:6
Bit Name
RSVD
Default
0
Access Bit Description
R Reserved
5:4 ICL_DRV 00 R/W LED_DRV current limit
‘b00=12.5mA; ‘b01=25mA; ‘b10=50mA;
‘b11=100mA;
3 LED_DRV 0
2:1
0
ICL_IND
LED_IND
00
0
R/W Enable LED_DRV
1: Enabled; 0: Disabled
R/W LED_IND current limit
‘b00=1mA; ‘b01=2mA; ‘b10=4mA; ‘b11=8mA;
R/W Enable LED_IND
1: Enabled; 0: Disabled
Figure 10: Register for LED Configuration
When using the UART interface, the AT command ATLED1 = 100 or ATLED1 = 0 will turn the LEDs
D6/D7 ON or OFF respectively. ATLEDC = 0xXY (one byte) configures the LED current. X sets the
LED current and Y configures the indicator LED current. ATLED0 and ATLEDC controls/configures the indicator LED, D5.
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 7
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
AT Commands
ATLED0 = 100/0
ATLED1 = 100/0
ATLEDC = 0xXY
X = 0000b, Y = 0000b
X = 0001b, Y = 0001b
X = 0010b, Y = 0010b
X = 0011b, Y = 0011b
LED (D6/D7)
-
ON/OFF
Set LED Current
12.5mA
25mA
50mA
100mA
LED (D5)
ON/OFF
-
Set LED Current
1mA
2mA
4mA
8mA
Figure 11: AT Commands for LED Control
Whenthe iSPI is initially powered, , the indicator LED should illuminate for a short time and then turn off. If the LED keeps flashing, it implys something wrong in the communication between AS726x device and the flash memory.
3.5 Others
AS726x-iSPI module can be wired to customer controllers for development/evaluation. The test points, SDA/SCL, can be used for monitoring UART/I 2 C bus transactions. Pin 6 of J2 provides the connection to INT. If interrupt is required to get the sensor data, this pin will be enable monitoring of the interrupt signal.
4 Software Description
This demo kit comes with the Spectral Sensor dashboard software running on a Windows computer for evaluating AS726x features. The USB Data Stick has the application notes for the Spectral Sensor software. Please refer to the included document for more information on the dashboard operation.
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 8
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
5 AS726x-iSPI Schematics
ams Eval Kit Manual
[v2-04] 2018-May-31
Figure 12: Schematic
Page 9
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
6 Ordering & Contact Information
Name AS7261 Demo-Kit AS7262 Demo Kit
Reference AS7261 AS7262
Ordering Code Demo/Eval Kit
AS7261 – iSPI
Buy our products or get free samples online at:
www.ams.com/ICdirect
Technical Support is available at:
Demo/Eval Kit
AS7262 – iSPI www.ams.com/Technical-Support
Provide feedback about this document at:
www.ams.com/Document-Feedback
For further information and requests, e-mail us at:
For sales offices, distributors and representatives, please visit:
www.ams.com/contact
Headquarters
ams AG
Tobelbader Strasse 30
8141 Premstaetten
Austria, Europe
Tel: +43 (0) 3136 500 0
Website: www.ams.com
AS7263 Demo Kit
AS7273
Demo/Eval Kit
AS7263 – iSPI
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 10
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
7 Copyrights & Disclaimer
Copyright ams AG, Tobelbader Strasse 30, 8141 Premstaetten, Austria-Europe. Trademarks
Registered. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner.
Demo Kits, Evaluation Kits and Reference Designs are provided to recipient on an “as is” basis for demonstration and evaluation purposes only and are not considered to be finished end-products intended and fit for general consumer use, commercial applications and applications with special requirements such as but not limited to medical equipment or automotive applications. Demo Kits,
Evaluation Kits and Reference Designs have not been tested for compliance with electromagnetic compatibility (EMC) standards and directives, unless otherwise specified. Demo Kits, Evaluation Kits and Reference Designs shall be used by qualified personnel only.
Ams AG reserves the right to change functionality and price of Demo Kits, Evaluation Kits and
Reference Designs at any time and without notice.
Any express or implied warranties, including, but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed. Any claims and demands and any direct, indirect, incidental, special, exemplary or consequential damages arising from the inadequacy of the provided Demo Kits, Evaluation Kits and Reference Designs or incurred losses of any kind (e.g. loss of use, data or profits or business interruption however caused) as a consequence of their use are excluded.
Ams AG shall not be liable to recipient or any third party for any damages, including but not limited to personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of ams AG rendering of technical or other services.
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 11
Document Feedback
AS726x-iSPI
Evaluation Kit User Guide
8 Revision Information
Changes from previous version to current revision 2-04 (2018-May-31)
Updated with AS726x-iSPI Board Version 2.0
Updated LED Section
Alternative Demo Kits
Corrected R5 in R10
Note:
Page numbers for the previous version may differ from page numbers in the current revision.
Correction of typographical errors is not explicitly mentioned.
Page
7
ams Eval Kit Manual
[v2-04] 2018-May-31
Page 12
Document Feedback
Pakua
Tangazo