Différences entre les versions de « Máquina do tempo - Sofia Erzini »

De {}
Aller à la navigation Aller à la recherche
Ligne 43 : Ligne 43 :
 
// Using Serial Print:  
 
// Using Serial Print:  
  
The serial monitor is a practical fiture of the arduino that alows a live view and possible interaction of the arduino board via USB cable.
+
The serial monitor is a practical fiture of the arduino that alows a live view in your pc (via USB cable) of the actions happening.
  
With serial print you can send information Live to the arduino Board, wich is related to the project because it is an external live element that will comand the motor to step in a sertain manner.
+
With serial print you can send information Live to the arduino Board, making it, in my case, rotate the motor in a "negative" or "positive" direction with any given angle. by not typing (aka printing) anything the motor will stay in place.
  
  
//The code used (https://circuitdigest.com/microcontroller-projects/arduino-stepper-motor-control-tutorial)
+
//The code used*:
  
  
Ligne 59 : Ligne 59 :
  
  
With the code bellow we can controle the motor by introducind in the serial motor the amount
+
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
*(https://circuitdigest.com/microcontroller-projects/arduino-stepper-motor-control-tutorial)

Version du 9 décembre 2018 à 16:39

A programme that can control a machine meant for stop motion animation.

The programme is responding to camera capture, therefor each time a picture is taken motors are activated and take a step or more according to the preferences made by the programmer.

These motors are integrated in the mechanical structure that will make all the elements of light and weather change frame-by-frame.

Leaving the animator free to introduce any element according to this theme of cycle and repetition.


Scheme:


                     1
    +--------+ Camera Capture +-------+
    |                                 |
    +                                 +
 2 step motors              8 Step motors
    +                                 +
    |                                 |
    +                                 +
 3 Camera Capture            7 Camera capture
    +                                 +
    |                                 |
    +                                 +
 4 Step motors               6 Step motors
    +                                 +
    |                                 |
    +--------+ Camera Capture +-------+
                     5


1st step, controle the stepmotor, back/ forward/ pause


//The circuit diagrame of an Arduino Uno, 28-BYJ48 steper motor and a ULN2003 stepper module (driver):

Arduino stepmotor basic circuit.png


// Using Serial Print:

The serial monitor is a practical fiture of the arduino that alows a live view in your pc (via USB cable) of the actions happening.

With serial print you can send information Live to the arduino Board, making it, in my case, rotate the motor in a "negative" or "positive" direction with any given angle. by not typing (aka printing) anything the motor will stay in place.


//The code used*: