🌊 Slight dispatch delays possible as we catch up with sale orders, please bear with us 🐨
🌊 Slight dispatch delays possible as we catch up with sale orders, please bear with us 🐨

AS7262 6-channel Spectral Sensor (Spectrometer) Breakout

by Pimoroni

Detect six distinct channels of visible light with this fancy-pants spectral sensor!

Unlike normal RGB colour sensors, with the AS7262 you'll get six bands of colour readings that roughly translate to red, orange, yellow, green, blue, and violet. Rainbow-y!

The two on-board white LEDs mean that you can illuminate materials to give more accurate spectral readings and also measure reflectivity of surfaces. The LEDs we've used are really high quality ones with a CRI of >=90 and a colour temperature of 4,000K for consistent and accurate colour rendering.

You can do all sorts of cool things with this sensor, like analysing different light sources, measuring  transmission of light through materials or solutions (with an additional light source), and more. Why not combine the AS7262 breakout with one of our OLED breakouts, and chart the colour information on it?

The AS7262 6-Channel Spectral Sensor Breakout has an I2C interface and is 3.3V or 5V compatible. Like our other Pimoroni breakouts, we've designed it so that you can solder a piece of right-angle header onto it and then pop it straight onto the bottom left 5 pins on your Raspberry Pi's GPIO header (pins 1, 3, 5, 6, 9).

It's also compatible with our fancy Breakout Garden, where using breakouts is as easy just popping it into one of the six slots and starting to grow your project, create, and code.

Features

  • AMS AS7262 6-channel spectral (visible) sensor (datasheet)
  • I2C interface (address: 0x49)
  • 6 spectral channels (450, 500, 550, 570, 600, 650nm)
  • 2 on-board illumination LEDs
  • 3.3V or 5V compatible
  • Reverse polarity protection
  • Raspberry Pi-compatible pinout (pins 1, 3, 5, 7, 9)
  • Compatible with Raspberry Pi (Python library)
  • Compatible with Raspberry Pi Pico (C++/MicroPython libraries)

Kit includes

  • AS7262 6-Channel Spectral Sensor Breakout
  • 1x5 male header
  • 1x5 female right angle header

Software

We've put together a Python library that you can use to read data from your AS7262 6-Channel Spectral Sensor Breakout, an easy one-line installer to install everything, and a couple of examples of reading data from it. 

You can also use this breakout with Raspberry Pi Pico and other RP2040 boards, using C++ or Pirate brand MicroPython.

Notes

  • This AS7262 breakout cannot be used in serial mode
  • The five pads on the underside of the breakout are for programming the flash memory on the sensor during production, and shouldn't be used unless you know what you're doing
  • Dimensions: 19x21x4mm

32 customer reviews

a year ago
A really neat and easy to use sensor package. Shouldnt take more than an hour to familiarise yourself with it as the library for it is pretty robust and easy to use. Added it to a project of mine (circuit python) and it works just as expected. I really like it!
by Sony about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
2 years ago
A great little sensor that is almost 'plug and play'. Just plug it into a board like the Pico Breakout Garden and download the example program to get it going. You really don't need to do much yourself. That said, more accessible, improved documentation, detailing the methods used to set up the device and access data would help deepen understanding of the device and how to develop and modify applications using it.
by Robert about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
2 years ago
Useful sensor with a choice of connectors for soldering. Worked seamlessly with a Pico W. Found the literature and information on the Pimoroni website somewhat arcane and less than straightforward to access, but plenty of help available on YouTube
by Robert about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
2 years ago
Bought the BME280 breakout as a replacement for the BME280 sensor on an Enviro+ board that had gone awry. After checking with the excellent Pimoroni forum for help, I soldered the board to the GPIO header on the Enviro+ with the supplied header pins. I made use of the address selection trace on the back BME280 breakout board. All now works and is up and running the Luftdaten python script with a small change to the code to allow for the address change to 0x77. Great service from Pimoroni, ordered on Tuesday and arrived on Thursday.
by Mike about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
3 years ago
Instructions on how to use it and set up are good. Got it all working without hassle and used it as a project to team my kids to solder, which went well. Readings seem to be accurate and correspond with other local weather stations in the year.
by John about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
4 years ago
These sensors work as they should, I couldn't find how to access specific addresses using the pimoroni python library examples but a search led me to install the RPi.bme280 libràry (sudo pip install RPi.bme280) and I was able to read from two dme280 sensors connected in parallel using addresses 0x76 and 0x77.
by Anonymous about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io
4 years ago
Handy little sensor.. I am using this to provide a data feed to the magic mirror smart dashboard I have at home to keep an eye on indoor conditions. Fantastic. Try to keep the unit few cms away from the pi..it is quite sensitive to any heat.
by Badrinath about BME280 Breakout - Temperature, Pressure, Humidity Sensor via REVIEWS.io

User photos