Answer the question
In order to leave comments, you need to log in
Why doesn't the arduino output HIGH from the obstacle avoidance sensor?
I use:
- Arduino nano v3 CH340 (taken from here )
- this obstacle avoidance sensor
OUT from the sensor goes to D5 arduins
VCC to 5v
GND to ground
Sketch:
int pin = 8; // d5
void setup() {
Serial.begin(9600);
pinMode(pin, INPUT);
}
void loop() {
int value = digitalRead(pin);
Serial.println(value);
delay(1000);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question