File:CD Player ReactionWheel.ogv

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

CD_Player_ReactionWheel.ogv(Ogg Theora video file, length 2 min 19 s, 320 × 240 pixels, 201 kbps, file size: 3.35 MB)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

Description
Français : Démonstration simpliste de fr:Roue de réaction avec un lecteur de CD portable de type 'Discman' dont le moteur est piloté par un fr:Arduino. Tourner dans un sens pendant 5 secondes, attendre 15 secondes, tourner dans l'autre sens pendant 5 secondes, attendre 15 secondes et recommencer. Le tout est alimenté par un 'powerbank' USB. Le moteur est commandé (en PWM 0 & 255) via un L9110S alimenté en 3.3V.
English: en:Reaction wheel demonstration with a suspended 'Discman'-like CD player whose motor is controlled by an Arduino nano clone and powered by an USB powerbank.
Date
Source Own work
Author Xofc

Arduino sketch[edit]

/*
** L9110 motor driver controlling a portable CD motor
*/

const int MOTOR_1A = 5;
const int MOTOR_1B = 6;

byte speed = 255;  // change this (0-255) to control the speed of the motor

void setup()
        {
        pinMode(MOTOR_1A, OUTPUT);
        pinMode(MOTOR_1B, OUTPUT);
        }
void loop()
        {
        stop();
        delay(15000);

        forward();
        delay(5000);

        stop();
        delay(15000);

        backward();
        delay(5000);
        }
void stop()
        {
        analogWrite(MOTOR_1A, 0);
        analogWrite(MOTOR_1B, 0);
        }
void backward()
        {
        analogWrite(MOTOR_1A, 0);
        analogWrite(MOTOR_1B, speed);
        }
void forward()
        {
        analogWrite(MOTOR_1A, speed);
        analogWrite(MOTOR_1B, 0);
        }

Licensing[edit]

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current13:49, 31 May 20152 min 19 s, 320 × 240 (3.35 MB)Xofc (talk | contribs)User created page with UploadWizard

The following page uses this file:

Transcode status

Update transcode status
Format Bitrate Download Status Encode time
VP9 240P 107 kbps Completed 20:08, 20 August 2018 45 s
Streaming 240p (VP9) 107 kbps Completed 01:13, 5 December 2023 1.0 s
WebM 360P 108 kbps Completed 23:17, 29 November 2023 7.0 s
Streaming 144p (MJPEG) 602 kbps Completed 13:53, 1 November 2023 2.0 s

File usage on other wikis

The following other wikis use this file:

Metadata