Code Monkey home page Code Monkey logo

audio-sync-circuit's Introduction

audio-sync-circuit

This repository contains EAGLE CAD files for a simple circuit that converts a synchronization pulse on an audio channel to a TTL pulse. The audio sync pulse is assumed to be the output from a sound card, which means that it's line-level and probably has some high-pass filtering applied. For example, the open-ephys-audio script plays a short click on a separate channel so neural recordings can be precisely synchronized with the stimulus. This circuit will condition the click to be a square 5V pulse so that it's more easily detected. Other recording hardware (e.g., inscopix miniscopes) can only be triggered by TTL pulses, so this circuit is necessary to synchronize playback and data acquisition. The circuitry is really just a schmitt trigger on a board with the appropriate kinds of connectors, an LED to show when the output is high, and a trim potentiometer to adjust the trigger voltage. There is a fair amount of hysteresis, so this can take some finesse to set, but it shouldn't ever need to be adjusted again.

Files

  • eagle.epf, line-pulse.sch, line-pulse.brd: EAGLE CAD schematics and board files
  • BOM-oesync.xlsx: bill of materials
  • schmitt.asc: an LTSpice model for the circuit
  • various eagle LBR files

Making the circuit

You can order printed circuit boards from OSHPark here, and the BOM has links to digi-key pages for each of the parts.

audio-sync-circuit's People

Contributors

dmeliza avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.