Your shopping cart is empty or products are not available any more.
Whether you’re making an obstacle avoidance robot or a bean counter, Sharp IR sensor will prove the best to get the job done. Unlike sonar sensors, Sharp IR sensors have a much narrower sensing beam, which allows them to accurately measure distance in a small area.
The sensor uses an IR emitter and an IR receiver placed at a curtain distance from the emitter. The IR emitter emits a sharp beam. When the beam hits an object it is reflected back to the IR receiver, and by knowing the fixed distance between the emitter and receiver (and some trigonometric calculations) the distance can be calculated.
Maximum range: 80 cmMinimum range: 10 cmSampling rate: 26 Hz1Minimum operating voltage: 4.5 VMaximum operating voltage: 5.5 VSupply current: 30 mA2Output type: analog voltageOutput voltage differential: 1.9 V
#include <SharpIR.h>// define a sensor as follows:// SharpIR sensorNameHere(model,pin);SharpIR myCoolSensor(GP2Y0A21YK0F, A0);void setup(){ Serial.begin(9600); //Enable the serial comunication}void loop(){ // to read the sensor: // variableName = sensorNameHere.getDistance(); int distance = myCoolSensor.getDistance(); Serial.println(distance); //Print the value to the serial monitor}
Overview The Sharp distance sensors are a popular choice for many projects that require accurate di..
KWD 5.50 KWD 5.50
Start your robotics journey with ideaBot, unlock your mind.
Measure and detect acceleration and movement,practical guide
A sensor to measure the amount of fluid flowing through a pi
A sensor to detect applied force.
All you need to start using IdeaLink's 3D printing service.
A step by step guide to start programming Arduino.
All you need to start using IdeaLinks laser cutting service.
How to install Arduino IDE and drivers.
We ship to the GCC and MENA regions.
Reliable and fast shipping to your door, quality assured.
Find us on Instagram
Just type @idea_link