Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CSync Video Signal detector for Arduino Pro Micro

License

NotificationsYou must be signed in to change notification settings

KabukiFlux/CSync-Video-Signal-Detector-for-Arduino

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Table of contents

Why

Connecting a video signal to a CRT monitor in an arcademachine can cause problems if the sync is on a range thatthe monitor is not prepared to display correctly, if thechassis is not prepared to display multiple resolutionsor avoid displaying out of range resolutions can cause theblow of the HOT or worst, so one way to avoid this isto detect the Horizontal Line Width and disable the videosignal if it's out of sync.

This script was used for testing purposes during a liveevent on:Twitchhttps://www.twitch.tv/kabukiflux

Description

This is a simple test script that you can use and adaptto detect CSync video formats on an Arduino Pro Microyou're encouraged to improve it as you wish but in noway this is something to become a production or a finalproduct, this is made for makers only.

Test bench 15kHz detected

The script detects the line width on a Horizontal Syncsignal or on a CSync signal, on the CSync signal thevertical sync is included and it can reach to problemsif we detect the line width on the anomaly zone (the edgecases with the vertical sync signal). To avoid this issuewe use a sampling of 20 measures and only the most commonmeasure is taken into account.

CSync processing

The script is able to identify:

  • 15khz signals (480i and 240p)

  • 24khz signals (384p)

  • 31khz signals (480p)

  • Out of range signals ( > 480p)

Sample of the serial output:

Serial output

  • as you can see on the output is included the line widthin uS as well for reference.

Installation

You need to install the Arduino Ide and the Sparkfun ProMicro boards on the Arduino IDE.

How to use

This script will send debug messages over the USB SerialPort if enabled at a baudrate of 9600

1- Configure the arduino board and USB port on the IDE.

2- Insert a CSync video signal on the corresponding pin onthe Arduino Pro Micro (see the code).

3- Upload the code to the Arduino.

4- Set the serial port monitor to 9600 baud.

Copyright and license

See MIT Licensing

About

CSync Video Signal detector for Arduino Pro Micro

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp