(SKU:RB-02S024)Analog Rotation Sensor

From ALSRobot-Wki
Jump to: navigation, search
Xuanzhuan.jpg

Contents

Product overview

Rotation Angle Sensor is designed based on the working principle of the adjustable potentiometer, it not only can control motor speed as the adjustable resistance, can also be installed in the rotating head pendulum round, measuring Angle, rotation Angle from 0 to 300 degrees, can be used 3 p Sensor cable with Arduino Sensor shields V5.0 Sensor extension board plug, through programming the Arduino Mega168 controller can easily realize the interaction between rotating position related works.

specification

  1. Working voltage:3.5V—5.5V
  2. Rotation Angle:0-300°
  3. weight :6g

Method

Pin definition

  1. S:Signal output
  2. VCC:+
  3. GND:-;

Connection methods

By 3 p sensor cable plug received Carduino UNO R3 controller used on special sensor extension board, or the direct use of dupont lines to connect sensors and UNO controller.

Physical connection diagram

Dianweijijiexian.jpg

Application of routine

sample program

int potpin=0;                 
int val=0;                     
void setup() 
{ 
Serial.begin(9600);           
} 
void loop() 
{ 
val=analogRead(potpin);        
Serial.println(val);              
}

Application effect

Connect the sensor to the controller on the pin A0, using a serial port monitor to observe its return value.

Products related to recommend

Buy address:[1]

Personal tools
Namespaces

Variants
Actions
Navigation
Tools