Schematik raised$4.6Mto help anyone build hardware with AI$4.6MIL PRE-SEED ANNOUNCEMENT
SCHEMATIKSCHEMATIK
GuidesPartsBlogCompanyDownload
GuidesPartsBlogCompanyDownload
SCHEMATIK

Built with love in Europe | For makers everywhere

Product

  • Home
  • Try Schematik
  • Download

Resources

  • Build guides
  • Blog
  • Press
  • Information for AI

Compare

  • Schematik or Fritzing
  • Schematik or Tinkercad
  • Schematik or Wokwi
  • Schematik or Claude Code

Company

  • Company
  • Jobs
  • Privacy
  1. Parts
  2. /Sensors
  3. /Environmental Sensors

Gravity: Digital Infrared Distance Sensor (10cm) (Discontinued)

OverviewPinoutWiringRelated groups
Gravity: Digital Infrared Distance Sensor (10cm) (Discontinued) — DFRobot — SEN0042

Edge detection sensor for robots, prevents falling off edges. Connects to Arduino, detects 2-10cm range. Includes breakout board and digital sensor cable.

Offers

  • DFRobot

Offers

  • DFRobot

Pinout

  • VCC

    Supply input for the Gravity SEN0042 edge-detection sensor. DFRobot wiki specifies supply voltage 2.7-6.2V; schematic exposes J1 power net. Source: https://wiki.dfrobot.com/sen0042/

    Type · powerVoltage · 2.7-6.2V
  • GND

    Ground reference for the Gravity SEN0042 board. DFRobot SEN0042 schematic shows J1 ground net. Source: https://dfimg.dfrobot.com/wiki/17181/SEN0042_edge-detection-sensor_schematics_1.0.pdf

    Type · groundVoltage · 0V
  • D / digital output

    Digital output to host controller. DFRobot wiki says the sensor provides a simple digital output connected to an Arduino digital pin; signal voltage is Vcc-0.6V high and 0.6V low. Source: https://wiki.dfrobot.com/sen0042/

    Type · signalVoltage · High: VCC-0.6V; Low: 0.6V
PinPositionTypeFunctionVoltage
VCCpowerSupply input for the Gravity SEN0042 edge-detection sensor. DFRobot wiki specifies supply voltage 2.7-6.2V; schematic exposes J1 power net. Source: https://wiki.dfrobot.com/sen0042/2.7-6.2V
GNDgroundGround reference for the Gravity SEN0042 board. DFRobot SEN0042 schematic shows J1 ground net. Source: https://dfimg.dfrobot.com/wiki/17181/SEN0042_edge-detection-sensor_schematics_1.0.pdf0V
D / digital outputsignalDigital output to host controller. DFRobot wiki says the sensor provides a simple digital output connected to an Arduino digital pin; signal voltage is Vcc-0.6V high and 0.6V low. Source: https://wiki.dfrobot.com/sen0042/High: VCC-0.6V; Low: 0.6V

Start wiring

I2S · 2.7-6.2V · 0V

Verify supply voltage and logic levels before powering up.

Module pins: VCC, GND, D / digital output. Schematik maps them to your board in the app.

Related groups

4 groups
MQ-2 Gas Sensor visual preview
MQ-3 Gas Sensor visual preview
MQ-135 Gas Sensor visual preview
Grove - Air quality sensor visual preview

Air quality

Choose between MQ gas sensors, VOC/eCO2 indoor-air sensors, true CO2 modules and particulate sensors without treating every air-quality breakout as the same detector.

Sensors · Gas & air-quality sensors · 29 parts

Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual preview
DHT20 - AHT20 Pin Module - I2C Temperature and Humidity Sensor visual preview

Temp and humidity

DHT11, DHT22/AM2302, and DHT20/AHT20 sensors solve the same broad job, but only some are acceptable substitutes in the same circuit.

Sensors · Environment sensors · 19 parts

Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
Fermion: ENS160+BME280 Environmental Sensor - TVOC, eCO2, Temp & Humidity (Breakout) visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual preview

Environment sensors

Choose between temperature-only, temperature/humidity, pressure and indoor air-quality modules without treating every environmental sensor as a drop-in substitute.

Sensors · Environment sensors · 8 parts

Photo cell (CdS photoresistor) visual preview
TCS3200 Color Sensor visual preview
Adafruit APDS9999 Proximity, Lux Light & Color Sensor visual preview
Adafruit AS7341 10-Channel Light / Color Sensor Breakout visual preview

Light and colour

Photoresistors and color sensors both respond to light, but they expose very different signals and are not sensible drop-in substitutes.

Sensors · Light & color sensors · 6 parts

Parts tray full · 5 max · remove a part to add another