Giter Site home page Giter Site logo

sparkfun / qwiic_spectral_sensor_as726x Goto Github PK

View Code? Open in Web Editor NEW
23.0 31.0 11.0 5.25 MB

Qwiic breakout for the AS7261/AS7262/AS7263 spectral sensors from AMS.

Home Page: https://www.sparkfun.com/products/14347

License: Other

sparkfun products sensor

qwiic_spectral_sensor_as726x's Introduction

SparkFun Qwiic Spectral Sensor AS726X

This is the hardware repo for the AS726X Spectral Sensor. The AS7262 version detects wavelengths in the visible range while the AS7263 version detects wavelengths just below the visible range, in the Near Infrared (NIR) range.

Repository Contents

  • /Enclosure - Enclosure files
  • /Firmware - Example code
  • /Hardware - Eagle design files (.brd, .sch)
  • /Libraries - Libraries for use with the AS726X
  • /Production - Production panel files (.brd)

Documentation

Product Versions

  • SEN-14347- AS7262 Visible Spectral Sensor
  • SEN-14351- AS7263 Near Infrared Spectral Sensor

Version History

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact technical support on our SparkFun forums.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

qwiic_spectral_sensor_as726x's People

Contributors

adamsilva avatar andyengland521 avatar bboyho avatar nseidle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

qwiic_spectral_sensor_as726x's Issues

I2C Error On ESP8266

Hi,
I connected the AS7263 Sparkfun board to a wemos d1 mini via I2C, but when uploading an example sketch, I get only 'I2C Error'. I tried different boards (Leonardo, Micro) as well, but I get the same error. I connected 3v3 to the 3 Volt pin, SDA to SDA, SCL to SCL and GND to the GND pin of the arduino.
I uploaded an I2C Scanner Sketch, but it can't find the board as well.
Looking forward for any help! Thanks

Calibrated and un-calibrated data

I am using an AS7263 and was trying to do a comparison with the calibrated and uncalibrated data however both seem to have exactly the same output?

The other issue I am seeing is that when using sensor.printMeasurements(); the results are a reading with 2 decimal places however when using sensor.getR() there are no decimal places.

Incompatible with Artemis

Board isn't working with Artemis. I'm not entirely sure where it's failing but there's a handful of issues with this lib that might be part of it:

  • Don't Wire.begin inside a library
  • Don't Serial.print inside a library
  • Create functions called setGain(), setMeasurementMode(). Don't pass to begin.
  • Consider an .available() function if sensor takes time to take measurement. Don't write blocking code if possible.

Nits:

  • Re-write example one to return sensor values. Let user print what they want.
  • Please expand on the library.properties paragraph.
  • Please name library with what it does (I recommend "SparkFun AS726x Spectral Sensor")

I2C_AS72XX_SLAVE_STATUS_REG returns 0x82

Normally the device works without problems, but after some hours of continuous operation, the device stops.

I noticed that reading the I2C_AS72XX_SLAVE_STATUS_REG returns 0x82 no matter what. Therefore, the condition if ((status & I2C_AS72XX_SLAVE_TX_VALID) == 0) is never met in the virtualReadRegister operations.

Is there a way to 'soft reset' the device without using the virtual register operations?

A hard reset normally fits the issue, but it comes back at some point.

TROJAN Exploit in repository: File "Firmware/Firmware for AT25SF041/Windows GUI for EEPROM Programmer.zip"

The file "Windows GUI for EEPROM Programmer.zip" found in the folder Firmware/Firmware for AT25SF041 (links to folder not file) is flagged as a trojan virus on virus total.

It has a number of concerning behaviors including that it appears to capture keystrokes and communicates with servers in China. It seems to attempt privilege escalation, can install executables, and attempts to detect sandboxes and has protections against reverse engineering.

AS7262 firmware > AT25SF041 Chip Size

Hi folks, The firmware provided for the AS7262 can't fit on an AT25SF041. Flashrom complains the image is > Chip size.
Could the file be updated with a 512k version>
Using flashrom on Raspbian Stretch

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.