Analog Rotation Sensor V2 (SKU: DFR0058)

From Robot Wiki
Jump to: navigation, search

Introduction

Analog Rotation Sensor V2 (SKU: DFR0058)

This V2 Rotation Sensor is arduino compatible multi-ring rotation sensor. It is based on multi-turn precision potentiometer. It can rotate upto 10 laps. The voltage can be subdivided into 1024. With the usage of special sensors expansion can be achieved accurately. It is easy to be connected to Arduino or DFRduino with our sensor expansion board.

Specification

  • Arduino compatible
  • Interface type: Analog



Pin Definition

  1. Signal Output
  2. GND
  3. Power
DRF0058 pin.png



Connection Diagram

Analog sensor connection diagram



Sample Code


///Arduino Sample Code
void setup()
{
  Serial.begin(9600); //Set serial baud rate to 9600 bps
}
void loop()
{
int val;
val=analogRead(0);//Read rotation sensor value from analog 0
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}

Dimension Diagram

Analog sensor connection diagram





Nextredirectltr.pngGo Shopping Analog Rotation Sensor V2 (SKU: DFR0058)