Coder Social home page Coder Social logo

axoloti_laser_interface's Introduction

Axoloti_Laser_Interface

Adding some special outputs to Axoloti to control a Laser projector. X-Y on audio, 3 RGB outputs on PWM

X-Y amplification stage

Which output should we use?

  • Audio output from the Jack. L to X, and R to Z
  • LOUT+ and LOUT- to have balanced signal directly

Amplifier

We need to go to +/- 5V to have maximum range

Easy with LM072 op-amp

Balanced output

Seems we need balanced signals. ok. add another LM072 op-amp

Schematic

RGB output

PWM?

Filter and Amp needed?

Axoloti Patch

http://community.axoloti.com/t/pwm-output-pin-frequency/2776/11

Changing the PWM frequency and resolution:

static const PWMConfig pwmcfg = {400000, /* 400kHz PWM clock frequency. / 4096, / PWM period is 4096 cycles. / NULL, {{PWM_OUTPUT_ACTIVE_HIGH, NULL}, {PWM_OUTPUT_ACTIVE_HIGH, NULL}, {PWM_OUTPUT_ACTIVE_HIGH, NULL}, {PWM_OUTPUT_ACTIVE_HIGH, NULL}}, / HW dependent part.*/ 0};

pwmStart(&PWMD3, &pwmcfg);

palSetPadMode(GPIOA, 6, PAL_MODE_ALTERNATE(2)); palSetPadMode(GPIOA, 7, PAL_MODE_ALTERNATE(2)); palSetPadMode(GPIOB, 0, PAL_MODE_ALTERNATE(2)); palSetPadMode(GPIOB, 1, PAL_MODE_ALTERNATE(2));

Further info

Other Axoloty vector synths

https://www.akirasrebirth.com/

http://community.axoloti.com/t/axoloti-ilda-laser/5634/4

Technical help

https://en.wikipedia.org/wiki/Balanced_audio

https://www.electronics-notes.com/articles/analogue_circuits/operational-amplifier-op-amp/non-inverting-amplifier.php

http://sound.whsites.net/project51.htm

https://github.com/ffd8/dac_ilda

Other commercial hardware/Software

https://www.laserworld.com/shop/laserworld-shownet-network-interface

https://lzxindustries.net/products/cyclops

https://www.showeditor.com/en

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.