arduino proximity sensor code

Bestseller No. 1
HiLetgo 2PCS APDS-9960 APDS9960 RGB Gesture Sensor Module Hand Gesture Recognition Moving Direction Ambient Light RGB Proximity Sensor Module Infrared Move Sensor
  • APDS-9960 APDS9960 RGB Gesture Sensor Module
  • Infrared Move Sensor
  • Operational Voltage: 3.3V
  • Operating Range: 4-8in (10-20cm)
  • I2C Interface (I2C Address: 0x39)
SaleBestseller No. 2
OSOYOO 10PCS IR Infrared Obstacle Avoidance Sensor Module for Arduino Smart Car Robot Raspberry PI 3.
  • IR Infrared Obstacle Avoidance Sensor Module can be widely used in robot obstacle avoidance, obstacle avoidance car, line count, and black and white line tracking and so on.
  • the module detects the distance 2 ~ 30cm, detection angle 35 °, the distance can detect potential is adjusted
  • The output port OUT sensor module can be directly connected to the microcontroller IO port, you can directly drive a 5V relay.
  • It has a pair of infrared transmitting and receiving tube, tube infrared emit a certain frequency, when detecting direction meet with obstacles (reflecting surface), reflected infrared receiving tube, after the comparator circuit processing, green indicator will light up, at the same time signal output interface to output digital signal (a low level signal).
  • Can be used for 3-5V DC power supply modules. It has red power indicator.
Bestseller No. 3
HiLetgo 10pcs IR Infrared Obstacle Avoidance Sensor Module for Arduino Smart Car Robot 3-Wire Reflective Photoelectric for Arduino Smart Car Robot
  • Can be widely used in robot obstacle avoidance, obstacle avoidance car, line count, and black and white line tracking and so on.
  • The effective distance range of 2 ~ 30cm, the working voltage of 3.3V- 5V
SaleBestseller No. 4
XiaoR Geek 2 PCS Line Sensor Infrared Obstacle Avoidance Sensor Module Adjustable Distance Photoelectric Switch for Arduino/Raspberry pi Smart Robot Car
  • IR Infrared Obstacle Avoidance Sensor Module can be widely used in robot obstacle avoidance, obstacle avoidance car, line count, and black and white line tracking and so on.
  • the module detects the distance 2 ~ 50cm, the distance can detect potential is adjusted.
  • This is a collection of emission and reception in one photoelectric sensor.
  • The sensor has a detection range, interference by visible light small, easy to assemble, easy to use and so on.
  • Package include: 2 x Infrared sensor.
Bestseller No. 5
Gowoops 10 PCS of HC-SR505 Mini Infrared PIR Human Motion Sensor Detector Module for Arduino
  • Automatic induction: to enter the sensing range of the output is high, people leave the sensor range automatically delay off high, output low. Ultra-small size.
  • Repeatable trigger: the sensor output high, the delay period, if there is human activity in its sensing range, the output will remain high until people leave after the high variable delay lOW (automatically extended sensor module detects the human body after every activity a delay period, and the last time an event is the starting point of the delay time).
  • Wide operating voltage range: the default operating voltage DC4.5V-20V
  • Micropower: quiescent current <50 microamps, especially for battery-powered automatic control products.
  • Output high signal:easy docking and all kinds of circuits.
Bestseller No. 6
SunFounder Ultrasonic Module HC-SR04 Distance Sensor for Arduino R3 Mega2560 Duemilanove Nano Robot Rapsberry Pi 4B 3B+, 3B, 2 Model B & 1 Model B+
  • Ultrasonic hc-sr04 distance measuring transducer sensor, it consists of ultrasonic transmitter, receiver, and control circuit.
  • HC-SR04 Ultrasonic Sensor Distance Module: using IO trigger for at least 10us high level signal,When triggered it sends out a series of 40KHz ultrasonic pulses and receives echo from an object.
  • Hc-sr04 Test Distance following formula: L = 1/2 × T × C ( L is the distance, T is the time between the emission and reception, and C is the sonic speed)
  • Power Supply : 5V DC; Quiescent Current : <2mA,; Effectual Angle: <15° ; Detection Distance : 2cm~450 cm; Resolution : 0.3 cm
  • Package Content: 5 HC-SR04 Ultrasonic Sensors , 10 Female-Male Dupont Cables , 10 Female-Female Dupont Cables , 1 Exquisite package box
Bestseller No. 7
ELEGOO 5PCS HC-SR04 Ultrasonic Module Distance Sensor for Arduino UNO MEGA2560 Nano Robot XBee ZigBee
  • Ultrasonic hc-sr04 distance measuring transducer sensor
  • HC-SR04 consists of ultrasonic transmitter, receiver, and control circuit. When trigged it sends out a series of 40KHz ultrasonic pulses and receives echo from an object.
  • ~Power supply: 5V DC; quiescent current: less than 2mA; effectual angle: less than 15°; distance: 2cm500cm; resolution: 0. 3 cm~
  • Package Content: 5pcs HC-SR04 with a little gift
Bestseller No. 8
Twidec/10mm Hall Effect Proximity Sensor Inductive Switch NPN NO(Normally Open) with Magnet DC5-30V NJK-5002C
  • Model: NJK-5002C Supply voltage : 5-30VDC; Detection distance :10mm (effective detection distance 0-10mm) ;
  • Output : NPN three lines Output state normally open (NO)
  • Thread Diameter: 12MM ; thread length: 32MM;Load current :150MA (no more than)
  • Detect objects :metal material ;Product Material: Metal ;parts: Copper plastic components;PBT External leads:1.2 m (standard, others according to customer requirements) ;Output indication:LED (red);
  • Net Weight : 50g ;Package Content : 1 x Hall Effect Sensor
Bestseller No. 9
Diymore 2pcs BME280 5V Temperature Humidity Sensor Atmospheric Barometric Pressure Sensor with IIC I2C Breakout for Arduino
  • Not only the pressure and the temperature, this sensor can measure humidity.
  • Make sure to put SDO to high to get address 0x77. This will work with Adafruit BME280 library perfectly.
  • BME280 is a precision sensor, is soldered onto PCB. It uses both I2C and SPI (supports 3-, 4-wire SPI) interface.
  • With an I2C connection you have access to enough weather data to make some pretty good predictions for your local area.
  • It is made up of a very accurate pressure sensor and an associated temperature sensor which helps calibrate the pressure readings.
Bestseller No. 10
Icstation 5V Light Sensor Module Receiver for Arduino, High Level Output, Work with Relay Switch, Non-Modulator(Pack of 5)
  • Icstation 5V light sensor relay module outputs high level when it receives light, otherwise it outputs low level.
  • The light receiver is sensitive to ambient light, so please keep the sensor in dark environment. It is a non-modulated light receiver. We suggest shielding the sensor by a black tube if it must be in bright area.
  • This light sensor switch has high sensitivity because it detects light from the front/back/side.
  • This is a pack of 5 pieces of light sensor board. The sensor is bent for easier shipping. You can easily restore it.
  • Too high input voltage, unstable power supply, reversed polarity will damage the sensor board. Please contact us immediately if you have any question or issue with your purchase. icstation@hotmail.com

Compare The Top 10 arduino proximity sensor code

arduino proximity sensor code is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com.Therefore gets small percentage of comission from Amazon if you purchase from page