ANAVI Gardening uHAT

by ANAVI Technology

Open source smart gardening done easy, with Raspberry Pi

View all updates Oct 05, 2021

The Microchip MCP3002 ADC

by ANAVI Technology

The key component of the ANAVI Gardening uHAT is the Microchip MCP3002. This is a 10-bit Analog-to-Digital Converter (ADC) which helps us read data from the capacitive soil moisture sensors. Recently, we published a video that explains in detail how to use the MCP3002 with a Raspberry Pi.

The Microchip MCP3002 ADC has two channels. This means we can simultaneously attach two analog devices; in the case of ANAVI Gardening uHAT, these are two capacitive soil moisture sensors.

The MCP3002 operates at 5 V. It is connected to the Raspberry Pi via a Serial Peripheral Interface (SPI) using the dedicated MISO, MOSI, SCL and SS pins on the 40-pin header (which the Raspberry Pi has included since the release of Model B+ in July 2014). Programming and using the SPI are easy, thanks to existing open source implementations. For example, Python developers can employ spidev, which provides bindings for Linux SPI access through spidev. We have already published a Python 3 example for ANAVI Gardening uHATin GitHub.

Instead of using a breadboard and a bunch of wires, as in the early prototype in the photo above, the ANAVI Gardening uHAT incorporates the MCP3002 and extra connectors on a single compact printed circuit board that follows the Raspberry Pi Foundation requirements for Hardware Attached on Top (HAT).

Microchip offers the MCP3002 in 8-pin MSOP, PDIP, TSSOP and 150 mm SOIC packages. The ANAVI Gardening uHAT uses the MCP3002-I/SN model with a SOIC8 package. Due to the global chip shortage, sourcing MCP3002 has been a challenge, but don’t worry because we have already secured a considerable amount of stock and we can move on with the initial production.

Thank you for supporting ANAVI Gardening uHAT!

Best regards, Leon

About the Author

ANAVI Technology

AnaviTechnology  ·  AnaviTechnology  ·   Plovdiv, Bulgaria


$3,288 raised

of $1 goal

Funded!

Pledge Now

$28

Gardening uHAT Starter kit

The perfect kit to get started with gardening. Includes one ANAVI Gardening uHAT and two capacitive soil moisture sensors.


$38

Gardening uHAT Advanced kit

Take your gardening skills to next level. Includes one ANAVI Gardening uHAT, two capacitive soil moisture sensors, one I²C sensor for light, and one I²C sensor for temperature and humidity.


$46

Gardening uHAT Developer kit

Everything a developer needs to master gardening! Includes one ANAVI Gardening uHAT, two capacitive soil moisture sensors, one waterproof DS18B20 temperature sensor, one I²C sensor for light, and one I²C sensor for temperature and humidity. Also comes with one USB-to-serial debug cable.

Credits

ANAVI Technology

Open source hardware created and powered by free and open source software


ANAVI Technology

See Also

Subscribe to the Crowd Supply newsletter, highlighting the latest creators and projects: