Has anyone got Yart working with the original RPi-Film-Capture wiring?

136 views
Skip to first unread message

Dan Monaghan

unread,
Jun 1, 2021, 5:58:17 AM6/1/21
to Raspberry Pi Film Capture
Hi everyone,
I've got a setup that I built for the RPI-Film-Capture project, sticking to the wiring as per https://github.com/jphfilm/rpi-film-capture/wiki/Wiring . I have no problems booting the software up - but can't get any motor action.

I am wondering if anyone has their rig setup so they can use both Yart and RPI-Film_Capture, and if so - what are your pin settings?

I look forward to having a go with Yart - it seems a little more more advanced and better supported than RPI-Film.

Thanks heaps, 
Dan

Screen Shot 2021-06-01 at 9.52.20 PM.png

Screen Shot 2021-06-01 at 9.57.42 PM.png

Dominique Galland

unread,
Jun 10, 2021, 5:55:44 AM6/10/21
to Raspberry Pi Film Capture
hi Dan,

Yes I think my yart project goes a bit further than the original RPI-Film-Capture project which doesn't seem to be maintained anymore.
With yart I have finished all my captures and my equipment is put away, but I am still answering questions.

Basically the motor controller needs three pins:
ENA controls the ON/OFF of the motor
DIR controls the direction of rotation
PULSE 

Next to that there are two parameters:
Steps per Rev: Number of pulses per revolution
Motor/Frame Ratio: Ratio between the motor and the image axis of the projector 
By default Steps per Rev is 200 if micro-stepping is not used.

Then the wiring depends on the controller used, in my case with the TB6600
ENA- PUL- DIR- to GND
ENA+ DIR+ PUL+ To Pi GPIO pins
If ENA+ HIGH the motor is Off Line
This gives me:

Capture.JPG
Important warning : You have to check HIGH  or not depending on the required signal level, here:
17 LOW -> Motor is ON 
24 LOW  ->  the opto Trigger is ON
23 HIGH -> Motor Pulse


With a A4988 controller another user suggested
DIR > GPIO 18
STEP > GPIO 23
SLEEP > GPIO 17
Jumper between A4988 SLEEP and RESET
If SLEEP is HIGH the motor is ON

So In that case probably you have to check High for 17 and 24 pins
17 HIGH -> Motor ON
24  HIGH  -> Reed Switch ON
23 HIGH ->Pulse

Regards

Dominique Galland

unread,
Jun 10, 2021, 6:55:10 AM6/10/21
to Raspberry Pi Film Capture
I can add that as a first test:
When you run the script on the PI the motor axis must be free and can be turned by hand.
When you hit "Motor On" the motor is  powered on and cannot be turned by hand.
Then try Forward and Backward On
Reply all
Reply to author
Forward
0 new messages