Ks0014 keyestudio Analog Rotation Sensor

From Keyestudio Wiki
Revision as of 15:49, 14 February 2019 by Keyestudio (talk | contribs)
Jump to navigation Jump to search


KS0014 (3).jpg


Introduction

This analog rotation sensor is compatible with arduino. It is based on a potentiometer. Its voltage can be subdivided into 1024, easy to be connected to Arduino with our sensor shield. Combined with other sensors, we can use it to make many interesting projects by reading the analog value from the IO port.


Specification

  • Supply Voltage: 3.3V to 5V
  • Interface: Analog
  • Size: 30*20mm
  • Weight: 8g

Connection Diagram


thumb

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);
}

Resources

Video

http://www.keyestudio.com/wp/ks0014/

PDF

https://drive.google.com/open?id=1gb4JLRKtbC3fHp6Vsbn3b8AjUgH1AH-Y

Get One Now

Official Website

http://www.keyestudio.com/keyestudio-analog-rotation-sensor.html

ebay

http://stores.ebay.com/keyesrobot/?_dmd=2&_nkw=keyestudio+Digital+White+LED+Module