Ks0109 keyestudio EASY plug Analog Rotation Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
(Created page with "==EASY plug Analog Rotation Sensor == <br>500px|frameless|thumb<br> ==Introduction== This analog Rotation Sensor is arduino compatible. It is based on a...")
 
No edit summary
Line 34: Line 34:
}
}
</pre>
</pre>
==Resources ==
'''Datasheet'''
http://www.keyestudio.com/files/index/download/id/1463992190/
==Buy from ==
http://www.keyestudio.com/keyestudio-easy-plug-analog-rotation-sensor-module-for-arduino.html


[[category:Module]]
[[category:Module]]

Revision as of 11:44, 15 February 2017

EASY plug Analog Rotation Sensor


thumb

Introduction

This analog Rotation Sensor is arduino compatible. 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 make interesting projects by reading the analog value from the IO port.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Supply Voltage: 3.3V to 5V
  • Sensor type: Analog
  • Size: 39*20mm
  • Weight: 10g


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(3);//Read rotation sensor value from analog 3
Serial.println(val,DEC);//Print the value to serial port
delay(100);
}

Resources

Datasheet

http://www.keyestudio.com/files/index/download/id/1463992190/

Buy from

http://www.keyestudio.com/keyestudio-easy-plug-analog-rotation-sensor-module-for-arduino.html