Progetto Arpa Laser (il Software) - Project Laser Harp (Software)


Non perderò tempo a descrivere le connessioni della parte hardware, semplicemente funziona. una cosa interessante potrebbe essere il piccolo switch a 10 dip che vedete in alto a sinistra e che permette sia di variare la frequenza di scansione del galvanometro, cosa particolarmente importante come vedremo poi, sia il numero di raggi che il controller crea e che vanno da 2 a 8 a passi di 2.

Voglio invece entrare nel merito della parte più articolata e complessa, vale a dire il programma che dal Pc gestisce il tutto e che ho battezzato MicroStage (wow!).

Avevo già realizzato un software che si interfacciava a controller esterni sia in ingresso che in uscita e che serviva a pilotare il sistema coreografico che ho presentato nei primi post del blog.:
 ---
Do not bother to describe the connections of the hardware, it just works. an interesting thing could be the small dip switch 10 that you see in the top left and that allows both to vary the scanning frequency of the galvanometer, which is particularly important as we will see later, both the number of rays that the controller creates and ranging from 2 to 8 in steps of 2.

I want instead to go into the more detailed and complex part, that is the program that manages everything from PCs and I baptized Microstage (wow!). 

I had already made ​​software that is interfaced to external controllers both incoming and outgoing and that served to drive the choreographic system that I presented in the first post of the blog .:




Questo software che ho scritto in VB6 svolge variati compiti che non sto adesso ad elencare magari lo farò poi in un'altro post.
Comunque per sintetizzare il software gestisce:
14 linee di controllo.
ad ogni linea è possibile assegnare un input da un controllore digitale/analogico (labjack, rs232, midi ecc.) ed uno o più output da attivare all'arrivo di un segnale, l'output può essere una nota o un comando di program change midi oppure l'attivazione di un relè sulla scheda collegata ecc., ogni output può essere temporizzato e possono venire attivati e controllati più segnali allo stesso tempo.
Gestione di 8 servi con posizionamento preprogrammato ed associati ai soliti input, i servi sono controllati da una schedina con un 16f84 che fatto io (la schedina non il pic :)). Il tutto di solito è collegato al fruity loop ed a sistemi di illuminazione e coreografici vari.

Tutto l'hardware stà in una valigetta abbastanza sicura e pratica per eventuali aggiustamenti in corsa:
 ---
This software I've written in VB6 performs varied tasks that I am now to list then maybe I'll do in another post. 
However, to synthesize the software manages: 
14 control lines. 
At each line you can assign an input to a digital controller / analog (labjack, rS232, midi etc.) and one or more outputs to be activated on arrival of a signal, the output can be a note or program change mIDI command or activate a relay on the connected board etc. ., each output can be timed and can be activated and controlled more signals at the same time. 
Management of 8 servos with pre-programmed positioning and associated to the usual inputs, the servos are controlled by a board with a 16f84 who did (the ticket is not the pic :)). The whole is usually connected to the fruity loop and to lighting systems and various choreographed. 


All hardware are in a fairly safe briefcase and practical for any adjustments in the running:





Il cosiddetto 'Remote program changer' funziona passando una mano davanti ai sensori, se passo in una direzione incrementa il programma in uso dal MicroStage mentre nell'altro verso lo decrementa. Potevo farlo anche con un pedalino ma così fa più scena ;).

Del sistema fanno parte anche 2 barre con 3 sensori ciascuna connesse ad un micro Basic Stamp tramite un cavetto 8 poli lan, le barre funzionano avvicinando la mano ad uno dei 3 sensori. Il Basic Stamp collegato è programmato per inviare comandi midi predefiniti direttamente ad un expander esterno oppure al computer dove il software pilota i vari synth software.
 ---
The so-called 'Remote program changer' works by passing a hand in front of the sensor, if I pass in one direction increases the program in use by Microstage while in the other direction decreases it. I could do it with a pedal but so does most scene;). 

Of the system are also 2 bars with 3 sensors each connected to a micro Basic Stamp via a cable 8 poles lan, the bars work bringing the hand to one of the three sensors. The Basic Stamp linked is programmed to send pre-defined MIDI commands directly to an external expander, or the computer where the driver software the various synth software.

Fronte barra sensori
Front sensor bar

Retro della barra sensori.
Back of the sensor bar.

Questo invece è il software che ho sviluppato in C# per l'ultima mia 'creatura'.

This however is the software I developed in C # for my last 'creature'.


Questo permette di gestire:
  • 8 canali del controller DMX laser .
  • visualizzare l'anteprima della telecamera che controlla i raggi laser.
  • assegnare e memorizzare il percorso di ogni raggio laser.
  • gestire la posizione della mano sul ogni ogni raggio.
  • utilizzare più raggi contemporaneamente.
  • assegnare ogni raggio ad un canale e programma midi specifico.
  • assegnare ogni raggio oltre che al canale midi anche ad un controller midi
  • utilizzare ogni raggio solo come controller di un'altro canale midi.
Entrerò nel dettaglio di delle funzionalità più avanti.

 ----
This allows to manage:

  • 8-channel laser DMX controller.
  • preview the camera that controls the laser beams.
  • assign and store the path of each laser beam.
  • manage the position of the hand on each each spoke.
  • use multiple beams simultaneously.
  • assigning each beam to a specific MIDI channel and program.
  • assigning each ray as well as the midi also to a midi controller channel
  • use each ray just as another channel midi controller.

I go into details of the most forward functionality.



Ecco intanto la lista della spesa:
  • Visual studio 2008/2010 express C#
  • Librerie grafiche open source AForge http://www.aforgenet.com/
  • Driver per reindirizzare il midi in locale: www.midiox.com/myoke.htm
  • Laser con controllo TTL (almeno 100 mw)
  • Controller DMX per pilotare il galvanometro ed il laser.
----------------continua

 ---
Meanwhile, here is the shopping list:
  • Visual Studio 2008/2010 Express C #
  • Graphics libraries open source AForge http://www.aforgenet.com/
  • Drivers to redirect the local midi: www.midiox.com/myoke.htm
  • Laser with TTL control (least 100 mw)
  • DMX controller for driving the galvanometer and laser.
---------------- continues

1 commento:

  1. Riguardo la Lista della spesa sembra manchi ancora della componentistica.

    RispondiElimina

Ciao, lascia un tuo commento o suggerimento relativo a quello che hai trovato su questo blog.