Giter VIP home page Giter VIP logo

dsa's Introduction

DSA

Arduino library for the CD-Pro2 DSA protocol

The high-end Compact Disc modules (CD-Pro2, CD-Pro2M and CD-Pro2) made by daisy-laser are controlled by the DSA protocol. A three wire interface using a data- (DSA), strobe- (STB) and acknowledge (ACK) line.

This is a small piece of work, that converts the DSA protocol assembler code from my CDP-1 project into a simple library to control a CD-Pro2 with an Arduino board. Just for the fun of programming!

Installation

Download the latest version and unzip (atleast) the lib directory. Copy the unziped directory called "DSA" to the Arduino libraries folder. For OSX this is ~/Documents/Arduino/libraries/ on Windows __My Documents\Arduino\libraries__. More info about adding libraries to your Arduino IDE can be found here.

Examples

SimpleCD

Control your CD-Pro2M/LF unit by serial commands.

The following basic commands are implemented to get you going:

  • t = Read TOC
  • p = Play
  • h = Pause
  • s = Stop
  • > = next track
  • < = previous track

Check the SimpleCD example. Good luck!

Ard2Ard

Besides controlling a CD module this library can also be used to communicate between two Arduino boards. Load the example code in two Arduino boards, connect the three lines (with a 47Ohm resistor for safety) and the GND. Now open the serial-monitor on both sides and you are able to send text in two directions. Check the Ard2Ard example.

Ard2Ard

dsa's People

Contributors

bergrans avatar martinvdberg avatar per1234 avatar

Watchers

Martin van den Berg 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.