Rotation Sensor Module
Introduction
SENZ001 Rotation Sensor is arduino compatible multi-ring rotation analog sensor.
It is based on multi-turn precision potentiometer. It can rotate upto 10 laps.
If the sensor input 5V voltage power, then the 5000mV will be divided into 3600 portions(10 laps).
When you adjust the rotation of the 3 degrees and then the voltage will have 2mV change.
So you can accurately achieve the effect of voltage with small changes.
And it is easy to be connected to Arduino.
Specification
* Arduino compatible
* Operating Voltage: +3.3-5V DC
* Signal Type: analog signal
* Size: 50x22mm
* Rotation Angle: 3600 degrees
* Weight: 20g
Pin Definition
Tutorial
In this tutorial we rotate the Analog Rotation Sensor to output the analog voltage value in the serial port.
Requirements
* Hardware
* UNO x1
* Analog Rotation Sensor x1
* Software
Arduino IDE V1.6.5 [Click to Download Arduino IDE from Arduino?]
Connection Diagram
Sample Code
const int analogInPin = A0; // Analog input pin that the potentiometer is attached to
const int analogOutPin = 9; // Analog output pin that the LED is attached to
int sensorValue = 0; // value read from the pot
int outputValue = 0; // value output to the PWM (analog out)
void setup() {
// initialize serial communications at 9600 bps:
Serial.begin(9600);
}
void loop() {
// read the analog in value:
sensorValue = analogRead(analogInPin);
// map it to the range of the analog out:
outputValue = map(sensorValue, 0, 1023, 0, 255);
// change the analog out value:
analogWrite(analogOutPin, outputValue);
// print the results to the serial monitor:
Serial.print("sensor = ");
Serial.print(sensorValue);
Serial.print("\t output = ");
Serial.println(outputValue);
// wait 2 milliseconds before the next loop
// for the analog-to-digital converter to settle
// after the last reading:
delay(20);
}
Dimension Diagram
Rotation Sensor Module
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(0)
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by PCBWay Team
- Low Noise 45V-4A Dual Rail Power Supply Using Enhanced Capacitance Multiplier The core element of any electronic device is the power supply. Any instability or malfunction of the...
- PCBWay Christmas Sock Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Star V2 Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Snowflakes Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Badges Gingerbread Man Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- PCBWay Christmas Badges Tree Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- PCBWay Christmas Star Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Ball Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Reno Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
- PCBWay Christmas Badges Ball Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
- High Precision Digital AC Energy Meter Circuit Voltage-Current-Power-KWh Dealing with the 220V-AC mains voltage and measuring the AC loads' true power, voltage, and current ...
- 36V-3A Adjustable Efficient DC to DC Step-Down Converter A DC-to-DC converter is one of the most commonly used circuit topologies in electronics, especially ...
- PWM Cooling-FAN Control and Over Temperature Protection using LM35 and ATTiny13 Proper thermal dissipation is an essential rule for nowadays electronics. The best operating tempera...
- An Ultrasonic Range Finder Using an SRF05 and an ATTiny85 An ultrasonic range finder is a useful tool in a variety of real-life and robotic applications, such...
- PCBWay 7th Anniversary Badge PCBWay 7th anniversary first version badge is coming.It is like Batman's darts,and we add PCB elemen...
- NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers This is the 16 LED NeoPixel Ring from Adafruit, a small chainable 1.75" (44.5mm) outer diameter boar...
- Automatic Hand Sanitizer Dispenser (Version 2), Using ATTiny13 As we all know, the COVID-19 outbreak hit the world and changed our lifestyle. In this condition, al...
- Battery capacity measurement using Arduino The true measurement of a battery’s capacity is essential for many scenarios. A capacity measurement...
-
Build a Walking Robot: Theo Jansen Style 3D Printed Octopod
102 0 3 -
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
137 0 0 -
DIY Laser Power Meter with Arduino
212 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
186 0 2