KY-032 Obstacle avoidance sensor module
Original price was: R$ 39,37.R$ 32,81Current price is: R$ 32,81.
Camila / Dúvidas sobre o produto? Precisa de ajuda? Fale comigo.Descrição
Infrared obstacle avoidance sensorsInfrared obstacle avoidance sensor is designed for the design of a wheeled robot obstacle avoidance sensor distance adjustable. This ambient light sensor Adaptable, high precision, having a pair of infrared transmitter and receiver, transmitter tubes emit a certain frequency of infrared, When detecting the direction of an obstacle (reflector), the infrared receiver tube receiver is reflected back, when the indicator is lit, Through the circuit, the signal output interface output digital signal that can be detected by means of potentiometer knob to adjust the distance, the effective distance From 2 ~ 40cm, working voltage of 3.3V-5V, operating oltage range as broad, relatively large fluctuations in the power supply voltage of the situation Stable condition and still work for a variety of microcontrollers, Arduino controller, BS2 controller, attached to the robot thatCan sense changes in their surroundings.SpecificationsWorking voltage: DC 3.3V-5VWorking current: ≥ 20mAOperating temperature: -10 ℃ – +50 ℃detection distance :2-40cmIO Interface: 4-wire interfaces (- / + / S / EN)Output signal: TTL level (low level there is an obstacle, no obstacle high)Adjustment: adjust multi-turn resistanceEffective angle: 35 °Size: 28mm × 23mmWeight Size: 9gHere we use the obstacle avoidance module and a digital interface, built-in 13 LED build a simple circuit, making avoidance warning lamp, the obstacle avoidance Sensor Access Digital 3 interface, when obstacle avoidance sensor senses a signal, LED light, and vice versa off.—————————————————-Example code————————————————–int Led = 13 ;// define LED Interfaceint buttonpin = 3; // define the obstacle avoidance sensor interfaceint val ;// define numeric variables valvoid setup (){ pinMode (Led, OUTPUT) ;// define LED as output interface pinMode (buttonpin, INPUT) ;// define the obstacle avoidance sensor output interface}void loop (){ val = digitalRead (buttonpin) ;// digital interface will be assigned a value of 3 to read val if (val == HIGH) // When the obstacle avoidance sensor detects a signal, LED flashes { digitalWrite (Led, HIGH); } else { digitalWrite (Led, LOW); }}Powered by MediaWiki Powered by Semantic MediaWiki
Informação adicional
Peso | 0,0000 kg |
---|---|
Dimensões | 0,0000 × 0,0000 cm |