Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use Adafruit: Examples, Pinouts, and Specs

Image of Adafruit
Cirkit Designer LogoDesign with Adafruit in Cirkit Designer

Introduction

Adafruit 3695 is a versatile electronic component designed and manufactured by Adafruit Industries, a company renowned for its open-source electronics and educational kits. This specific component is a STEMMA Soil Sensor that measures soil moisture levels and temperature, making it ideal for environmental monitoring and agricultural projects. Its plug-and-play design ensures ease of use, even for beginners.

Explore Projects Built with Adafruit

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Battery-Powered Sensor Hub with Adafruit QT Py RP2040 and OLED Display
Image of 512: A project utilizing Adafruit in a practical application
This circuit features an Adafruit QT Py RP2040 microcontroller interfacing with an MPU-6050 accelerometer, an Adafruit APDS-9960 sensor, and a 0.96" OLED display via I2C communication. It is powered by a 3.7V LiPo battery and includes a green LED with a current-limiting resistor connected to an analog pin of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
Image of wearable final: A project utilizing Adafruit in a practical application
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040
Image of lab: A project utilizing Adafruit in a practical application
This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.
Cirkit Designer LogoOpen Project in Cirkit Designer
Adafruit MPU6050 and VL6180X Sensor Interface with Servo Control
Image of wire: A project utilizing Adafruit in a practical application
This circuit features an Adafruit QT Py microcontroller interfaced with an Adafruit MPU6050 6-axis accelerometer/gyroscope and an Adafruit VL6180X Time of Flight (ToF) distance sensor, both connected via I2C communication. The QT Py also controls a Servomotor SG90, likely for physical actuation based on sensor inputs. The embedded code initializes the sensors, reads their data, and outputs the readings to a serial monitor, with the potential for motion control based on the sensor feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with Adafruit

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of 512: A project utilizing Adafruit in a practical application
Battery-Powered Sensor Hub with Adafruit QT Py RP2040 and OLED Display
This circuit features an Adafruit QT Py RP2040 microcontroller interfacing with an MPU-6050 accelerometer, an Adafruit APDS-9960 sensor, and a 0.96" OLED display via I2C communication. It is powered by a 3.7V LiPo battery and includes a green LED with a current-limiting resistor connected to an analog pin of the microcontroller.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of wearable final: A project utilizing Adafruit in a practical application
Battery-Powered Smart Sensor Hub with Adafruit QT Py RP2040
This circuit features an Adafruit QT Py RP2040 microcontroller interfaced with an APDS9960 proximity sensor, an MPU6050 accelerometer and gyroscope, and an OLED display via I2C communication. It also includes a buzzer controlled by the microcontroller and is powered by a 3.7V LiPo battery with a toggle switch for power control.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of lab: A project utilizing Adafruit in a practical application
Battery-Powered Smart Light with Proximity Sensor and OLED Display using Adafruit QT Py RP2040
This circuit is a portable, battery-powered system featuring an Adafruit QT Py RP2040 microcontroller that interfaces with an OLED display, a proximity sensor, an accelerometer, and an RGB LED strip. The system is powered by a lithium-ion battery with a step-up boost converter to provide 5V for the LED strip, and it includes a toggle switch for power control. The microcontroller communicates with the sensors and display via I2C.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of wire: A project utilizing Adafruit in a practical application
Adafruit MPU6050 and VL6180X Sensor Interface with Servo Control
This circuit features an Adafruit QT Py microcontroller interfaced with an Adafruit MPU6050 6-axis accelerometer/gyroscope and an Adafruit VL6180X Time of Flight (ToF) distance sensor, both connected via I2C communication. The QT Py also controls a Servomotor SG90, likely for physical actuation based on sensor inputs. The embedded code initializes the sensors, reads their data, and outputs the readings to a serial monitor, with the potential for motion control based on the sensor feedback.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • Agriculture: Monitoring soil moisture for irrigation systems.
  • Gardening: Tracking soil conditions for optimal plant growth.
  • Environmental Monitoring: Collecting data for research and analysis.
  • DIY Projects: Integrating soil sensors into smart gardening systems.

Technical Specifications

The Adafruit 3695 is a capacitive soil moisture sensor with an integrated temperature sensor. Below are its key technical details:

Key Technical Details

  • Operating Voltage: 3.3V to 5V DC
  • Current Consumption: ~5mA
  • Communication Protocol: I2C
  • I2C Address: 0x36 (default, configurable)
  • Temperature Sensor: Onboard thermistor
  • Moisture Measurement: Capacitive sensing
  • Dimensions: 100mm x 23mm x 8mm
  • Weight: 5g

Pin Configuration and Descriptions

The Adafruit 3695 features a 4-pin JST PH connector for easy interfacing. Below is the pinout:

Pin Name Description
1 VIN Power input (3.3V to 5V DC)
2 GND Ground connection
3 SDA I2C data line for communication with microcontrollers
4 SCL I2C clock line for communication with microcontrollers

Usage Instructions

How to Use the Component in a Circuit

  1. Power the Sensor: Connect the VIN pin to a 3.3V or 5V power source and the GND pin to ground.
  2. Connect to a Microcontroller: Use the SDA and SCL pins to connect the sensor to the I2C bus of your microcontroller (e.g., Arduino UNO).
  3. Install Required Libraries: Download and install the Adafruit STEMMA Soil Sensor library from the Arduino Library Manager.
  4. Write and Upload Code: Use the example code provided below to read soil moisture and temperature data.

Important Considerations and Best Practices

  • Avoid Corrosion: The sensor is designed to resist corrosion, but prolonged exposure to water may still degrade its performance. Use it in well-drained soil.
  • I2C Address Conflicts: If multiple I2C devices are connected, ensure their addresses do not conflict. The default address (0x36) can be changed if needed.
  • Cable Length: Keep the cable length short to avoid signal degradation in I2C communication.

Example Code for Arduino UNO

#include <Wire.h>
#include "Adafruit_STEMMA_Soil_Sensor.h"

// Create an instance of the soil sensor
Adafruit_STEMMA_Soil_Sensor soilSensor;

void setup() {
  Serial.begin(9600); // Initialize serial communication
  while (!Serial);    // Wait for the serial monitor to open

  // Initialize the soil sensor
  if (!soilSensor.begin()) {
    Serial.println("Failed to find the STEMMA Soil Sensor!");
    while (1); // Halt execution if the sensor is not detected
  }
  Serial.println("STEMMA Soil Sensor initialized successfully.");
}

void loop() {
  // Read soil moisture level
  float moisture = soilSensor.readCapacitance();
  // Read temperature in Celsius
  float temperature = soilSensor.readTemperature();

  // Print the readings to the serial monitor
  Serial.print("Soil Moisture: ");
  Serial.print(moisture);
  Serial.println(" units");

  Serial.print("Temperature: ");
  Serial.print(temperature);
  Serial.println(" °C");

  delay(1000); // Wait 1 second before the next reading
}

Troubleshooting and FAQs

Common Issues Users Might Face

  1. Sensor Not Detected:

    • Cause: Incorrect wiring or I2C address conflict.
    • Solution: Double-check the wiring and ensure the I2C address matches the code.
  2. Inaccurate Readings:

    • Cause: Sensor not properly inserted into the soil or interference from nearby electronics.
    • Solution: Ensure the sensor is fully inserted into the soil and keep it away from high-frequency devices.
  3. No Data in Serial Monitor:

    • Cause: Serial communication not initialized or incorrect baud rate.
    • Solution: Verify that Serial.begin(9600) matches the baud rate in the serial monitor.

Solutions and Tips for Troubleshooting

  • Check Connections: Ensure all pins are securely connected and there are no loose wires.
  • Update Libraries: Use the latest version of the Adafruit STEMMA Soil Sensor library.
  • Test with Example Code: Start with the provided example code to verify the sensor's functionality before integrating it into a larger project.

By following this documentation, users can effectively integrate the Adafruit 3695 into their projects and troubleshoot any issues that arise.