Infra-red reflective...
This infra-red reflecting sensor module (HCSENS0016) is ideal for application were reflective...
Due to current issues with Yodel, any orders placed
with Yodel selected will be shipped by Evri for the time being.
- Photosensitive diode
- Working power: + 5V
- Working current: < 10mA
- Working temperature range: 0'C 50'C
- Output electrical level signal: TTL
- Output interface: 3 wire
- Easy to install
- Photosensitive diode
- Working power: + 5V
- Working current: < 10mA
- Working temperature range: 0'C 50'C
- Output electrical level signal: TTL
- Output interface: 3 wire
- Easy to install
PINOUT | |
---|---|
PIN | DESCRIPTION |
1 | GND |
2 | OUT |
3 | VCC (+5V) |
Please note that some versions of this module may use a different pinout order, but are functionally the same: GND/VCC/OUT (G/V+/S)
EXAMPLE CODE
ARD_Line_Hunting_Sensor_HCARDU0005_Example.pde
/* FILE: ARD_Line_Hunting_Sensor_HCARDU0005_Example.pde DATE: 03/07/12 VERSION: 0.1 This is a simple example of how to use the HobbyComponents Arduino Line hunting sensor module (HCARDU0005). It is a very simple module that requires only one DIO pin (defined as an input) to operate. When the sensor detects a reflective object in close proximity it will pull a DIO pin that it has been connected to LOW. A non reflective or no object in close proximity will cause the DIO pin to go high. You may copy, alter and reuse this code in any way you like but please leave reference to HobbyComponents.com in your comments if you redistribute this code. */ /* Define the DIO pin that will be used to communicate with the sensor */ #define LINEHUNTSENS_DIO 2 /* Initialise serial and DIO */ void setup() { /* Setup the serial port for displaying the status of the sensor */ Serial.begin(9600); /* Configure the DIO pin the sensor will be connected to as an input */ pinMode(LINEHUNTSENS_DIO, INPUT); } /* Main program loop */ void loop() { /* If the DIO pin is pulled low then an object has been detected */ if (!digitalRead(LINEHUNTSENS_DIO)) Serial.println("Object detected !"); }
This infra-red reflecting sensor module (HCSENS0016) is ideal for application were reflective...
A side mounted waterproof float switch (HCSENS0015) which uses a magnet embedded in the float,...
The Aosong AM2315 is a wall mountable temperature and humidity sensor (HCSENS0043) based on...
This is a very low cost break out module for the ADXL335 tripple axis accelerometer. This...
A capacitive touch sensor module based on the dedicated TTP223 touch sensor IC. The module...
The DHT21 digital temperature sensor is one of the commonest from the range of DHT temperature...
This water level sensor / float switch can be used to sense when a liquid has reached a set...
A very low cost module incorporating with a very high precision 24 ADC and differential high...
A linear sliding potentiometer module allowing for very smooth and precise control. The module...
This module (HCMODU0099) is a breakout board for the Texas Instruments ADS1015 ADC. This...
This module (HCMODU0098) is a breakout board for the Texas Instruments ADS1115 ADC. This...
The VL53L0X (HCMODU0127) is a new generation Time-of-Flight (ToF) laser-ranging module housed...
The TMP102 device is a digital temperature sensor ideal for NTC/PTC thermistor replacement...