📜 ⬆️ ⬇️

# 2 Video Slider Control Box

Hi, habravchane! Remember my motorized video slider from furniture fittings, building rule and plexiglass?)
Today I will show you a new thing, a bit simpler than the previous project. This time without rails, only the electrical part.
Read below!



...
Prehistory
I folded my motorized video slider at the end of July last year, when I was only a month away from school and the situation was “neither there nor here.” I shot only a few six-second scenes on my slider and that's it. Then the first course at the university, the injection into student life, etc. In general, I was not up to the slider. At the weekend went home. If there was time, got the slider. Out on nature a couple of times for the test. But this is not what is needed. Make light of the beauty - you need to get out far by car and not on a day off, but for longer)
Autumn, winter, spring ...
May. Somehow I receive a message: "Hi! I looked at your article about the motorized video slider on "Gigtimes", I liked it! I have been shooting videos, and for a long time I want to motorize my slider, but I haven’t found a person in Minsk who would make the drives for them. Will you help?) "
“Of course!” I replied.

I came home to the customer, watched his slider (industrial, IGUS system), talked about this and discussed what he wanted from the drive. Sergey, the customer, wanted to motorize only one slider carriage, for a start.
“Well, as you wish), - I say. - Prepay forwards! 2-3 weeks, and bring. "
')
First, he began to manufacture the control box. The material, as in the first project, is plexiglass . Proved well! Strong, light, perfectly cut (with a small hack-saw) and processed.
You can glue!



So iron. The basis is taken by the Arduino Nano microcontroller.



The motor is driven by EasyDriver .



Stepper motor Nema 17 .



Speed ​​is controlled by a potentiometer .



Power organized on the basis of battery size 18650 .



This time the connector for connecting the engine has been upgraded . Instead of the Soviet DIN used MIC 4 PIN .











Functional
The customer asked for only one mode of operation - the carriage goes endlessly back and forth, the speed can be changed with a potentiometer at any time. Tumbler stop the carriage when necessary.

Sketch:
#define xy A0 int Distance = 0; int x = 0; void setup() { pinMode(2, OUTPUT); pinMode(3, OUTPUT); digitalWrite(2, LOW); digitalWrite(3, LOW); pinMode(xy, INPUT); } void loop() { x = analogRead(xy); x = map(x, 20, 700, 10, 4000); digitalWrite(3, HIGH); delayMicroseconds(x); digitalWrite(3, LOW); delayMicroseconds(x); Distance = Distance + 1; if (Distance == 1600*13.8) { if (digitalRead(2) == LOW) { digitalWrite(2, HIGH); } else { digitalWrite(2, LOW); } Distance = 0; delay(2500); } } 


That's what happened in the end!)







































It turned out reliable control unit. He performs his task one hundred percent! This time I used a matte plexiglas cover. I like it more than the gloss and the disgrace of wires inside the case. I think you will agree with me) You can also matte the whole body.

Ok so what do we have? We have a great solution to motorize your video slider for less than $ 100.
Sergey appreciated the drive well) I wish him good luck in his video projects! Well, to you, members of the forum, I also wish the execution of the conceived ideas!)

Source: https://habr.com/ru/post/395557/


All Articles