Close

2. Hardware

A project log for Plant Foliage Health Monitor

Spectrophotometer To Determine Normalized Difference Vegetation Index (NDVI) Built With Raspberry Pi And NIR Spectral Sensor

guillermo-perez-guillenGuillermo Perez Guillen 05/30/2023 at 04:510 Comments

In this chapter I show you the main features of Raspberry Pi 4B, Qwiic pHAT module and AS7263 sensor. 

Raspberry Pi 4B

This product’s key features include a high-performance 64-bit quad-core processor, dual-display support at resolutions up to 4K via a pair of micro-HDMI ports, hardware video decode at up to 4Kp60, up to 4GB of RAM, dual-band 2.4/5.0 GHz wireless LAN, Bluetooth 5.0, Gigabit Ethernet, USB 3.0, and PoE capability (via a separate PoE HAT add-on). The dual-band wireless LAN and Bluetooth have modular compliance certification, allowing the board to be designed into end products with significantly reduced compliance testing, improving both cost and time to market.

image

AS7263 NIR Sensor

The AS7263 Near Infrared (NIR) Spectral Sensor brings spectroscopy and makes it easier to measure and characterize different materials absorb and reflect different wavelengths of light. The Sparfun AS7263 Breakout has the 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.

image

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 I2C address of the AS7263 is 0x49 and is hardware defined.

Below you can see the spectral responsivity of this sensor.

image

SparkFun Qwiic pHAT v2.0 

The SparkFun Qwiic pHAT connects the I2C bus (GND, 3.3V, SDA, and SCL) on your Raspberry Pi to an array of Qwiic connectors on the HAT. Since the Qwiic system allows for daisy-chaining boards with different addresses, you can stack as many sensors as you’d like. The Qwiic pHAT V2.0 has four Qwiic connect ports (two on its side and two vertical), all on the same I2C bus. It also add a simple 5V screw terminal to power boards that may need more than 3.3V and a general-purpose button. This pHAT is compatible with any Raspberry Pi that utilizes the standard 2x20 GPIO header.

image

Discussions