Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:iot-open:hardware2:sensors_angle [2024/05/23 09:00] pczekalskien:iot-open:hardware2:sensors_angle [2024/05/23 19:44] (current) pczekalski
Line 1: Line 1:
 ====== Angle & Orientation Sensors ====== ====== Angle & Orientation Sensors ======
 {{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\ {{:en:iot-open:czapka_b.png?50| General audience classification icon }}{{:en:iot-open:czapka_e.png?50| General audience classification icon }}\\
-== Potentiometer == 
-A potentiometer is a type of resistor, the resistance of which can be adjusted using a mechanical lever. The device consists of three terminals. The resistor between the first and the third terminal has a fixed value, but the second terminal is connected to the lever. Whenever the lever is turned, a slider of the resistor is moved; it changes the resistance between the second terminal and side terminals. Variable resistance causes the change of the voltage, which can be measured to determine the position of the lever. Thus, the potentiometer output is an analogue value.\\ 
-Potentiometers are commonly used as a control level, for example, a volume level for the sound and joystick position. They can also be used to determine the angle in feedback loops with motors, such as servo motors. The potentiometer symbol is present in figure {{ref>potentiometer1}}, a device in figure {{ref>potentiometer2}} and a connection to the Arduino board in figure {{ref>potentiometer3}}. 
- 
-<figure potentiometer1> 
-{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:arduino_and_arduino_101_intel_curie:potentiometer_symbol_europe.png?100 | Symbol of a potentiometer}} 
-<caption>A symbol of a potentiometer</caption> 
-</figure> 
- 
-<figure potentiometer2> 
-{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:arduino_and_arduino_101_intel_curie:potentiometer_c.jpg?200 | Potentiometer}} 
-<caption>A potentiometer</caption> 
-</figure> 
- 
-<figure potentiometer3> 
-{{ :en:iot-open:getting_familiar_with_your_hardware_rtu_itmo_sut:arduino_and_arduino_101_intel_curie:sch_apz_shemas_potentiometer.png?300 | Arduino and potentiometer circuit}} 
-<caption>Arduino and potentiometer circuit</caption> 
-</figure> 
- 
-An example code: 
-<code c> 
- 
-//Potentiometer sensor output is connected to the analogue A0 pin 
-int potentioPin = A0;  
-//The analogue reading from the potentiometer output 
-int potentioReading;       
-  
-void setup(void) { 
-  //Begin serial communication 
-  Serial.begin(9600);    
-  //Initialize the potentiometer analogue pin as an input 
-  pinMode(potentioPin, INPUT);  
-} 
-  
-void loop(void) { 
-  //Read the analogue value of the potentiometer sensor 
-  potentioReading = analogRead(potentioPin);  
-  Serial.print("Potentiometer reading = "); //Print out 
-  Serial.println(potentioReading); 
-  delay(10); 
-} 
-</code> 
- 
 == The Inertial Measurement Unit (IMU) == == The Inertial Measurement Unit (IMU) ==
  
-An IMU is an electronic device consisting of an accelerometer, gyroscope and sometimes a magnetometer. The combination of these sensors returns the object's orientation in 3D space. IMU sensors can present the object's current position and movement, expressed with at most six values called the DOF (Degrees Of Freedom). Three values represent the linear movements that the accelerometer can measure:+An IMU is an electronic device that consists of an accelerometer, gyroscopeand sometimes a magnetometer. The combination of these sensors returns the object's orientation in 3D space. IMU sensors can present the object's current position and movement, expressed with at most six values called the DOF (Degrees Of Freedom). Three values represent the linear movements that the accelerometer can measure:
   * moving forward/backwards,   * moving forward/backwards,
   * moving left/right,   * moving left/right,
en/iot-open/hardware2/sensors_angle.1716454803.txt.gz · Last modified: 2024/05/23 09:00 by pczekalski
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0