Moderators: Dave Moll, Andrew Davie, Steve Anderson
acl wrote:These are the actual NBTV video files. Apply power to the unit and hopefully if there’s no smoke you should see the display light up with HMI front screen. By touching the screen the play menu should appear then you can select the NBTV file you would like to play then by touching the icon at the bottom right of the screen the motor should start to turn counter clockwise, speed up and after a short period of time the video should lock.
FlyMario wrote:Ahh Great! A single sync hole per revolution. I am trying to do the same thing on my new build.
I did want to ask about optical sensors vs hall effect. On my new television I have a hall effect sensor. The only reason is I recall all the issues I had before with ambient light goofing up the ir sensor readings. Do you have any opinion on hall effect sensors?
FlyMario wrote:I have been reading over your code for this televisor. You are really doing a lot with that poor Arduino.
I see that you are loading the WAV file in as a binary fine. I think it is two channels at 8 bits per channel. One of the channels must be Audio and you appear to be sending that data to a pin configured for fast PWM. If this is the case, is the .WAV file structured in that 2 channels at 8 bits would mean you read 16 bits and one set of 8 bits in the left and the other the right channel? I follow a lot of what you have written but it's been many years since I messed with C++.
FlyMario wrote:So I took your Magic Rays of Light NBTV8 .wav file and exported the left channel (video) to a .csv file to look at in excel. What is apparent is that each line has a 0 as line sync. Once you see the 0, you should read 47 more values for the line.
I think you must have allotted the bottom two pixels on the frame as sync instead of having an additional sync pulse outside of the visible area. I say two pixels because sometimes I see two 0 values in the visible area. Not sure how I should interpret that. It doesn't matter because as long as I read 48 values per line value everything should be ok.
Return to Construction Diaries
Users browsing this forum: No registered users and 8 guests