Analog Hall Magnetic Sensor Module(KY-035): 두 판 사이의 차이

아두위키 : Arduwiki
(Created page with "{{#seo:|title=아두위키 : 아두이노 아날로그 홀 자기 센서 모듈(KY-035) 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 아날로그 홀 자기 센서 모듈(KY-035), 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 아날로그 홀 자기 센서 모듈(KY-035)을 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커...")
 
잔글편집 요약 없음
 
1번째 줄: 1번째 줄:
{{#seo:|title=아두위키 : 아두이노 아날로그 홀 자기 센서 모듈(KY-035) 가이드|title_mode=append|keywords=아두이노, 정보과학, 메이커학습, 수행평가, 아날로그 홀 자기 센서 모듈(KY-035), 아두이노 작품, 캡스톤작품, 아두이노 예제코드|description=아두이노로 아날로그 홀 자기 센서 모듈(KY-035)을 제어하는 방법(기본정보, 회로, 예제 코드)을 소개합니다. 정보과학과 메이커수업에 활용가능합니다.}}
{{#seo:|title=ArduWiki : Arduino Analog Hall Magnetic Sensor Module (KY-035) Guide|title_mode=append|keywords=Arduino, Computer Science, Maker Learning, Performance Assessment, Analog Hall Magnetic Sensor Module (KY-035), Arduino Project, Capstone Project, Arduino Example Code|description=Introduces how to control the analog Hall magnetic sensor module (KY-035) using Arduino (basic info, wiring, example code). Useful for computer science and maker classes.}}[[파일:홀자기대표이미지.jpg|가운데|661x661픽셀]]
[[File:홀자기대표이미지.jpg|center|661x661px]]
 
This module outputs the intensity of a magnetic field as an analog signal. Its small size is a notable feature.
This module outputs the intensity of a magnetic field as an analog signal. Its small size is a notable feature.



2025년 3월 27일 (목) 17:05 기준 최신판

This module outputs the intensity of a magnetic field as an analog signal. Its small size is a notable feature.

Specifications

  • Operating Voltage: 3.3V ~ 5V
  • Output Type: Analog

Example Required Hardware

  • Arduino board
  • Jumper cables
  • Analog Hall magnetic sensor

Connection

Arduino Analog Hall Magnetic Sensor
5V +
GND -
A7 S

Example Code

The example demonstrates how to output the value from the Analog Hall Magnetic Sensor to the serial monitor.

void setup() {
  Serial.begin(9600);
}

void loop() {
  Serial.println(analogRead(A7));
  delay(100);
}

Execution Results

  • When no magnet is nearby
  • When a magnet is nearby