SparkFun Spectral Sensor Breakout - AS7263 NIR (Qwiic)

The SparkFun AS7263 Near Infrared (NIR) Spectral Sensor Breakout brings spectroscopy to the palm of your hand, making it easier than ever to measure and characterize how different materials absorb and reflect different wavelengths of light. The AS7263 Breakout is unique in its ability to communicate by both an I2C interface and serial interface using AT commands. Hookup is easy, thanks to the Qwiic connectors attached to the board — simply plug one end of the Qwiic cable into the breakout and the other into one of the Qwiic shields, then stack the board on a development board. You’ll be ready to upload a sketch to start taking spectroscopy measurements in no time.

The AS7263 spectrometer detects wavelengths in the visible range at 610, 680, 730, 760, 810 and 860nm of light, each with 20nm of full-width half-max detection. The board also has multiple ways for you to illuminate objects that you will try to measure for a more accurate spectroscopy reading. There is an onboard LED that has been picked out specifically for this task, as well as two pins to solder your own LED into.


The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.


Get Started with the SparkFun AS726X Spectral Sensor Breakout Guide

  • 6 near-IR channels: 610nm, 680nm, 730nm, 760nm, 810nm and 860nm, each with 20nm FWHM
  • NIR filter set realized by silicon interference filters
  • 16-bit ADC with digital access
  • Programmable LED drivers
  • 2.7V to 3.6V with I2C interface
  • 2x Qwiic connectors

SparkFun Spectral Sensor Breakout - AS7263 NIR (Qwiic) Product Help and Resources

AS726X NIR/VIS Spectral Sensor Hookup Guide

October 19, 2017

It's now easier than ever to measure and characterize how different materials absorb and reflect different wavelengths of light. The AS726X spectral sensors allow you to detect wavelengths in the visible range (VIS) and near infrared range (NIR)!

Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Customer Comments

  • Hi. I bought NIR unit and I found that the led used is not suitable for that application. It could be a good thing having a broadband nir source such led (https://www.osram.com/os/press/press-releases/osram_presents_the_worlds_first_broadband_infrared_led.jsp) oe even better lamps (https://www.intl-lighttech.com/applications/vis-ir-miniature-and-precision-lamps).

    thank you

  • Hi

    I need to know why we have to attach flash memory with this sensor. I’m using this sensor for my college project. I dnt have sparkfun board but I have all other sensors. I followed your schematics and connected this sensor to arduino nano But when I read i2c it throws error ‘i2c error’. Even when I try to scan i2c address nothing found. I have not loaded any firmware in flash memory.. Any help plz

  • …Yeah, so I bought this and the VIS unit. Seems like they have the same I2C address? Why? How can I use the two of these units together now?

    • This is unfortunately true. The chip doesn’t have a changeable address. You have a few options. The first would be to use serial communication on one chip. The other option would be to use the Qwiic Mux.

      • Thanks for the quick reply!

        In my case, since I’m using an ESP8266, I realize now I can just wire this module to two lines, and the NIR module to another two lines.

        But normally I’m working with hardware that has dedicated I2C pins and this would have been a problem. Please make the addresses different if possible.

        • Different addresses unfortunately aren’t possible with this IC. Sorry! Like I said, the Qwiic Mux would be the best option to remedy this.

          • I got the qwiic mux but it’s not working with two of these. Can you help? The example sketches aren’t very helpful and the github link doesn’t have a src file in it.

Customer Reviews

4 out of 5

Based on 1 ratings:

Currently viewing all customer reviews.