Archive

Posts Tagged ‘calibration’

Arduino: Checking 3D shapes rotation with Python, OpenGL and Arduino.

July 5, 2010 Leave a comment

This project refers to an Arduino sketch which allows the rotation of three dimensional shapes using appropriate sensors. Essentially, the Arduino collects values from the sensors and corresponds them to the [0, 360] range (rotation angle). Every time we get a pair of values (X, Y) for the rotation of the shape, the pair is sent over the USB serial port to the PC.

The PC runs a Python script which produces three-dimensional shapes with OpenGL. Also, the script obtains the pairs via the USB serial port and renews the current shape of the screen. For performance reasons, the three-dimensional shape is renewed only when there are changes in the pair (X, Y).

Finally, you should know that to run the Python script properly the Arduino should already be running and input sensors should have been calibrated regarding their edges. The calibration is performed automatically in the first 15 seconds (use two potentiometers as an example for both input sensors).

Read more…

Arduino: DC motor control with temperature sensor and dynamic calibration.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external temperature sensor (input device) can control the rotation speed of a DC motor (output device). Also, during the execution of the program, there is dynamic calibration as regards the input values of the temperature sensor.

Read more…

Arduino: Control multi-LED bar graph with a potentiometer and calibration process.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external potentiometer (input device) can control a bar graph of many LEDs. Finally, when the sketch starts running, it calibrates the potentiometer (and so there should be a spin at both ends manually).

Read more…

Arduino: DC motor control with potentiometer and calibration.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external potentiometer (input device) can control the rotation speed of a DC motor (output device). Finally, when the sketch starts running, it calibrates the potentiometer.

Read more…

Arduino: Servo motor control with potentiometer and calibration.

June 29, 2010 Leave a comment

This project refers to an Arduino sketch which with the help of an external potentiometer (input device) can move the position of a servo motor (output device) clockwise or counterclockwise. The system also features two LEDs which – each time the value of the potentiometer changes – change their brightness in such a way that it is obvious in which side of the servo motor are.

For example, when the potentiometer is in the extreme left position then the left LED is lit 100% while the right one 0% (or vice versa). Finally, when the sketch starts running, it calibrates first the potentiometer.

Read more…