Tri-level sync reader to drive LED light array
hi guys!
i looking tech-art video project. have arduino uno, blackmagic ursa mini 4k camera, 4 led light panels, blackmagic sync generator , couple of sdi bnc cables.
we trying synchronize 4 led lights flash 1 after another, in sequence, , expose 1 frame video each. video captured @ 120 frames per second. trying use sync generator keep camera , arduino in sync. have attached gif made illustrate trying achieve.
with friendly engineer have made circuit allows arduino power lights. simple code makes lights flash in sequence @ rate can define:
we have found this forum post outlines how read time-code xlr input. unsure if post helpful code need. have contacted blackmagic design information tri-level sync , how sync generator works , told me not allowed release information how product works, however, have sent 2 pdfs have attached post.
we trying work out how read tri-level sync pulse sync generator make drive lights @ same rate camera shutter. appreciated.
kind regards,
felix
i looking tech-art video project. have arduino uno, blackmagic ursa mini 4k camera, 4 led light panels, blackmagic sync generator , couple of sdi bnc cables.
we trying synchronize 4 led lights flash 1 after another, in sequence, , expose 1 frame video each. video captured @ 120 frames per second. trying use sync generator keep camera , arduino in sync. have attached gif made illustrate trying achieve.
with friendly engineer have made circuit allows arduino power lights. simple code makes lights flash in sequence @ rate can define:
code: [select]
/* simple program sequentially turn on , turn off 4 leds */
int led1 = 13;
int led2 = 12;
int led3 = 11;
int led4 = 10;
int delay = 8.3333;
void setup() {
pinmode(led1, output);
pinmode(led2, output);
pinmode(led3, output);
pinmode(led4, output);
}
void loop() {
digitalwrite(led1, high); // turn on led1
delay(delay); // wait delay time
digitalwrite(led1, low); // turn off led1
digitalwrite(led2, high); // turn on led2
delay(delay); // wait delay time
digitalwrite(led2, low); // turn off led2
digitalwrite(led3, high); // turn on led3
delay(delay); // wait delay time
digitalwrite(led3, low); // turn off led3
digitalwrite(led4, high); // turn on led4
delay(delay); // wait delay time
digitalwrite(led4, low); // turn off led4
}
we have found this forum post outlines how read time-code xlr input. unsure if post helpful code need. have contacted blackmagic design information tri-level sync , how sync generator works , told me not allowed release information how product works, however, have sent 2 pdfs have attached post.
we trying work out how read tri-level sync pulse sync generator make drive lights @ same rate camera shutter. appreciated.
kind regards,
felix
you need separate sync comparator , feed composite sync low pass filter extract vertical sync portion. signal needs filtered , edge detected.
Arduino Forum > Using Arduino > Project Guidance > Tri-level sync reader to drive LED light array
arduino
Comments
Post a Comment