Continue reading Tags:

Tag Archive: potentiometer.

Arduino: Checking 3D shapes rotation with Python

OpenGL and Arduino.
Filed under:.

Projects — Leave a comment July 5

2010 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).

Continue reading Tags: 3D

, calibration, cube, edges, , , OpenGL, potentiometer, rotation angle, sketch Read More & Comment Arduino: Control multi-LED bar graph with a potentiometer and calibration process.
Filed under:.

Projects — Leave a comment June 29

2010 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).
Continue reading Tags: , bargraph, calibration , , LEDs, , potentiometer, sketch Read More & Comment Arduino: DC motor control with potentiometer and calibration.
Filed under: , Projects — 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.
Continue reading Tags: , calibration , DC motor, , , potentiometer, rotation speed, sketch Read More & Comment Arduino: Servo motor control with potentiometer and calibration.
Filed under: , Projects — 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 the n 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.

Continue reading Tags:

calibration, , LEDs, motor, , potentiometer, servo, sketch Read More & Comment.
(79).
(21).
(15).
(26).
(4).
(7).
(55).
(24).
(4).
(16).
(14).
(4).
(7).
(10).
(78).
(11).
(9).
(1).
September 2020 M T W T F S S  123456 78910111213 14151617181920 21222324252627 282930   « Oct.
(2).
(4).
(1).
(1).
(2).
(1).
(1).
(1).
(2).
(1).
(9).
(1).
(8).
(1).
(1).
(2).
(4).
(7).
(1).
(1).
(1).
(8).
(12).
(1).
(2).
(1).
(2).
(1).
(2).
(1).
(1).
(4).
(20).
(13).
(5).
(2).
(10).
(13).
(10).
(10).
(20).
287,006 hits.

Leave a Reply

Your email address will not be published. Required fields are marked *