Connecting Your Device

Materials Needed

Hardware Setup

  1. Insert the moisture sensor into soil.
  2. Connect the JDT Ph connector to the sensor.
  3. Connect the female connector to the Raspberry Pi GPIO prongs.
    These metal prongs are denoted below:
  4. Raspberry Pi Setup

  5. Go into the Raspberry Pi's config mode by entering the following command in a terminal: sudo raspi-config
  6. Choose "Interfacing Options"
  7. Choose "I2C"
  8. Choose "Yes"
  9. Choose "Finish"
  10. Time to see if the Pi is detecting your sensor. If it does it will display 48. Enter the below command: sudo i2cdetect -y 1