Triad Spectroscopy Sensor AS7265x Tutorial || Working, Pinout, Construction & Arduino Interfacing

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome back to our channel this is me shraddha from how to electronics and today we are going to learn about trade spectroscopy sensor so what is the trader spectroscopy sensor the trade spectroscopy sensor from sparkfun is a powerful optical spectral sensor to study light features we can interface the sensor with arduino and any other microcontroller using the trade spectroscopy sensor we can make our own spectrophotometer the sensor has the ability to measure and characterize how various types of material objects are reflect 18 different frequencies of light ranging from 410 nanometer to 940 nanometer spectroscopy is the precise study of color as generalized from visible light to all bands of the electromagnetic spectrum by performing this dissection and analysis of an object's light the researcher can infer the physical properties of that object such as temperature mass luminosity and composition in this guide we will interface try the spectroscopy sensor with arduino board and perform the basic readings of all 18 channels we will also read the raw data as well as the temperature since this is basic beginner's guide for as7265x we will learn about the construction working internal architecture and all other functionalities of the sensor so without getting any delayed let's get started this video is brought to you by next pcb next piece we present a pcb analysis tool called next dfm using this tool you can check the manufacturability of the pcv for cover files the software can automatically identify the layer type adjust the drilling format and alignment and for the pcb files the software can directly analyze the pcb the show by can get started and can be opened by dragging in without the tedious steps of reading files you can also use the jigsaw function to realize personalized gixxer through jixa tool we can finish this in 5 minutes compared to can 350 which takes 1 hour the best part of this tool is about the impedance calculation which is simpler than si9000 so i highly recommend you to try this tool the download link is given in the description let's see a brief introduction to the spectroscopy we know that electromagnetic radiation carries energy in waves so when these energy carrying waves strike any material particle they produce some changes in the path thus spectroscopy is the study of interaction of electromagnetic radiation with matter there are two ways in which the interaction between electromagnetic radiation and matter can take place by absorption and by emission let's first discuss about absorption when the electron present in the atom or molecule of the matter observe energy from electromagnetic radiation they jump from ground state to excited state this phenomena is called absorption and when the atom or molecule present in the matter jump from the excited state to ground state they release electromagnetic radiation and this is called emission spectroscopy is extensively used to study the internal structure of the matter especially the molecule of complex organic or inorganic compound some of the benefits are it is very less time consuming method the amount of sample required is very less although the setup cost of spectroscopy is high but it is very cost effective in long run now let's learn about the trade spectroscopy sensor from sparkfun in detail this is the as7265 spectroscopy sensor from sparkfun this sensor can also be called as a spectrophotometer and it is formed by combining three sensors as72651 as7 to 652 and as72653 the spectroscopy spectral sensor detects the light from a wavelength of 410 nanometer to 940 nanometer the top side of the sensor contains all the sensors and the led is attached to the board on the back side of the board there is nothing except some jumper track that can be soldered or desoldered to access the uart or i squares interface on the top side it has three sensors all these three sensors measures the quantity of different light radiation they are visible light uv light and iron light the air 651 is for measuring the visible light spectrum air72652 is for measuring uv light and air72653 is for measuring ir radiation the sensor contains three different leds that is white led uv led and rled the main purpose of this led is to illuminate the targeted object with the largest swath of visible or invisible light some of the leds can be enabled or disabled through the hardware jumper or through the code apart from these the sensor has a power led and a status led the sensor also has a 4mbit eeprom which is loaded by firmware which drives the system the spectroscopy spectral sensor detects the light from a wavelength of 410 nanometer to 940 nanometer the sensor has the ability to measure 18 individual light frequencies with a precision down to 28.6 nano watts per centimeter square and an accuracy of plus or minus 12 percent this is such a great sensor from spark phone for spectral analysis of light the sensor operates at a typical voltage of 3.3 volt and it has an i square c interface with an i square c address of 0 by 49 the default portrait for the sensor is 150 and 200 and for this board a uart serial interface is also available you can use the 80 commands to access the serial data and this uart interface can be enabled by soldiering the jumpers on the board i got some of the specifications from the dataset the sensor operates at 3.3 volt with a baud rate of 115 and 200. it has an integrated 450 nanometer uv led white led and an nanometer ir led it has a selectable i square c or serial interface and there are 18 different frequencies channel from 410 nanometer to 940 nanometer with a count of nanowatt 28.6 centimeter square the led and current can be controlled with software the board is programmed with the latest firmware from ams and this ams is the official manufacturer of the sensor and here is a link to purchase the sensor if you are from the usa or europe you can purchase the sensor from amazon at 60 dollar i will add the purchase link in the description but in case if you are from india you can buy the sensor from review which cost around 6000 indian rupees which is a bit expensive compared to amazon's price but for the rest of the world you can buy the sensor from the official manufacturer that is from sparkfun they are selling the product at 65 you can order from anywhere back to the practical part we will now interface the sensor with the arduino board the sensor is having a nice question interface so we can connect its sta and scl pin to a4 and a5 of arduino the sensor is powered through arduino 3.3 bolt pin so here is the breadboard assembly i used the arduino nanoboard and connected the sensor with its i squared z pins as shown here you can use any other arduino board now the most important part is its library the library is written by spark phone which is the official developer of this sensor here is the github repository with the library code in it the library can be downloaded from here and added to arduino ide another way to install the library is through the library manager you can search for as7265 and directly click on install now let's go through a few examples of using the sensor so here is the first example from the library in the first example we will read the basic data from all the 18 channels the 18 channel is named as a b c d to l and then from r to w you don't need to do anything in this code part the calibration is already done in this code so from the tools select the board and port and then simply upload the code to your arduino board after uploading click on serial monitor as soon as you click on the serial monitor the sensor will start reading the data from all the 18 channels and display them on serial monitor in this case only power led and status led is turned on all the external leds are disabled in order to observe the chains in 18 channel reading bring some different color objects near the sensor and then you will see the change in the sensor reading the second example is similar but in this case we will turn on all the different led and take the reading the led are activated through the code you again need to upload the code to the board directly after uploading the code again open the serial monitor now you need to send something through the steer monitor to activate the sensor as soon as you send any command the serial monitor will start displaying the value on the other side you will see the sensor led turning on and off regularly this is how you can activate the led to take a reading now the third example is reading the sensor raw values instead of direct values to do that you can take this example code as a reference again select the same arduino board and upload this code to the board so open the serial monitor after uploading the code so here are the raw values of all the 18 channels now let's move to the fourth example the first example is for measuring the temperature of the integrated circuits again the code is very easy using library functions and predefined calls you can retrieve the temperature sensor reading all you need to do is simply upload the code to the arduino board after uploading the code you can again open the serial monitor in the serial monitor you can get the reading of the temperature of all different integrated circuits so the temperature of the main ic is around 31 degrees celsius and the average temperature is around 29.33 degrees celsius so these were the four basic examples related to the as7265 spectrometer sensor in some other videos we will use this sensor to analyze the values of soil content so if you are interested in learning more about this product and the process you can visit our website article which contains all the information related to this product thank you for watching
Info
Channel: How To Electronics
Views: 26,299
Rating: undefined out of 5
Keywords: AS7265x, AS72651, AS72652, AS72653, AS7265x Arduino, AS7265x Guide, AS7265x Tutorial, triad spectroscopy sensor, Triad Spectroscopy, sparkfun triad spectroscopy sensor, Spectroscopy Sensor, arduino spectrometer sensor, spectroscopy sensor arduino, Spectroscopy Arduino, arduino spectrometer, diy spectrometer arduino, diy spectrometer software, Spectrometer Sensor Working, arduino spectrophotometer, Spectrometer Arduino, As7265x demo kit
Id: qdHy9j06gng
Channel Id: undefined
Length: 11min 16sec (676 seconds)
Published: Fri Jan 22 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.