아두이노 > tkkrlab - Arduino 37 sensors - KY-032 Obstacle avoidance sensor module

TODAY824 TOTAL605,453
사이트 이용안내
Login▼/회원가입
최신글보기 질문게시판 기술자료 동영상강좌

아두이노 센서 ATMEGA128 PWM LED 초음파 AVR 블루투스 LCD UART 모터 적외선


BASIC4MCU | 아두이노 | 아두이노 | tkkrlab - Arduino 37 sensors - KY-032 Obstacle avoidance sensor module

페이지 정보

작성자 키트 작성일2017-09-13 14:32 조회680회 댓글0건

본문

 

Arduino KY-032 Obstacle avoidance sensor module

WARNING this page is a copy/past of a bad google translation so it might contain errors. If you see a error help us to make it better and log in and change it. Big thanks!

Arduino KY-032 Obstacle avoidance sensor module

Part of Dealextream 37 sensors in a 1 kit

 

Infrared obstacle avoidance sensors

Infrared 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 that

Can sense changes in their surroundings.

Specifications

  • Working voltage: DC 3.3V-5V
  • Working current: ≥ 20mA
  • Operating temperature: -10 ℃ - +50 ℃
  • detection distance :2-40cm
  • IO Interface: 4-wire interfaces (- / + / S / EN)
  • Output signal: TTL level (low level there is an obstacle, no obstacle high)
  • Adjustment: adjust multi-turn resistance
  • Effective angle: 35 °
  • Size: 28mm × 23mm
  • Weight Size: 9g

Here 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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
int Led = 13 ;// define LED Interface
int buttonpin = 3// define the obstacle avoidance sensor interface
int val ;// define numeric variables val
void 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);
  }
}
cs

https://tkkrlab.nl/wiki/Arduino_KY-032_Obstacle_avoidance_sensor_module 

댓글 0

조회수 680

등록된 댓글이 없습니다.

아두이노HOME > 아두이노 > 전체 목록

아두이노 목록
제목 작성자 작성일 조회
106 아두이노 tkkrlab - Arduino 37 sensors - KY-038 Microphone sound senso… 키트 17-09-13 796
105 아두이노 tkkrlab - Arduino 37 sensors - KY-037 Sensitive microphone s… 키트 17-09-13 831
104 아두이노 tkkrlab - Arduino 37 sensors - KY-036 Metal touch sensor mod… 키트 17-09-13 870
103 아두이노 tkkrlab - Arduino 37 sensors - KY-035 Class Bihor magnetic s… 키트 17-09-13 748
102 아두이노 tkkrlab - Arduino 37 sensors - KY-034 Automatic flashing col… 키트 17-09-13 717
101 아두이노 tkkrlab - Arduino 37 sensors - KY-033 Hunt sensor module 키트 17-09-13 774
현재글 아두이노 tkkrlab - Arduino 37 sensors - KY-032 Obstacle avoidance sen… 키트 17-09-13 681
99 아두이노 tkkrlab - Arduino 37 sensors - KY-031 knock Sensor module 키트 17-09-13 854
98 아두이노 tkkrlab - Arduino 37 sensors - KY-029 Yin Yi 2-color LED mod… 키트 17-09-13 777
97 아두이노 tkkrlab - Arduino 37 sensors - KY-028 Temperature sensor mod… 키트 17-09-13 801
96 아두이노 tkkrlab - Arduino 37 sensors - KY-027 Magic light cup module 키트 17-09-13 870
95 아두이노 tkkrlab - Arduino 37 sensors - KY-026 Flame sensor module 키트 17-09-13 887
94 아두이노 tkkrlab - Arduino 37 sensors - KY-025 Reed module 키트 17-09-13 735
93 아두이노 tkkrlab - Arduino 37 sensors - KY-024 Linear magnetic Hall s… 키트 17-09-13 858
92 아두이노 tkkrlab - Arduino 37 sensors - KY-023 XY-axis joystick modul… 키트 17-09-13 734
게시물 검색

2019년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
2018년 1월 2월 3월 4월 5월 6월 7월 8월 9월 10월 11월 12월
Privacy Policy
MCU BASIC ⓒ 2017
모바일버전으로보기