Freitag, 26. Februar 2016

... and here we go! Building a Zynthian Part 1: Parts, parts, parts...


 I decided to build two Zynthians. Fernando released a BOM at http://blog.zynthian.org/index.php/2015/11/22/building-a-zynthian-box/,

Also I will build two Synthians, the following order list is only for one!

Order 1:

Fer had some PCBs and cables so I ordered the following from him:

  • 2 * Zynthian Controller PCB
  • 1 * Zynthian 2_in_1 PCB
  • 1 * Zynthian Main Bus Ribbon Cable
  • 3 * Zynthian Mini Ribbon Cable

Order 2:

Parts from http://www.reichelt.de:

Order 3:

Parts from http://www.segor.de

What's missing

Ok, missing is a little bit wrong: I already have four 20 steps Rotary-Encoder and four knobs. If you want to build a Zynthian don't forget to order these parts!

Waiting

Ok - that's it (for now). Now I have to wait until the postman is ringing.

Mittwoch, 24. Februar 2016

Zynthian

What a nice project: http://zynthian.org/!

I think I will try to build such Synth. Currently I am seraching for all the hardware needed. If I can get everything I need I will document bulding of a Zynthian here.

Freitag, 18. Juli 2014

Raspi as a synth?

There are several nice "programming languages" for create digital sound with Linux. The next project might be a test, "how much sound" a Raspi can make.

The experiment should not use a common USB-MIDI-Interface. I will try to build my own using the serial GPIO pins. The following software should be tested:
  • jack
  • fluidsynth
  • csound
  • super-collider
Theres much to do until the test can start. Currently I found a bundle of web-pages to avoid  trouble:
More on this page when I find time to start the work...

Donnerstag, 10. April 2014

Arduino Uno as an Extron Video-Switch-Controller

This is a project for my employer I just finished.

The problem was:
We have a conference room. There are two media sources: A notebook in a control room and a VGA cable for the lecturer in the room itself. We also have a video conference station and a beamer. For some sessions we need to route one of the sources through the video conference station, so that the external participants can see the slides. But sometimes we only need to connect the sources from local to the beamer. All cables are getting together on a patch panel in the control room.

Patching is not very user friendly - especially when the sessions need different setups for every lecturer. So we installed a video-cross-connect (4 Ins, 4 Outs) from Extron. Our video-specialists configured four setups which can be used directly on the video-cross-connect by voodoo-pressing-buttons-in-the-right-order. The result was that inside an important session the configuration of the video-cross-connect was broken by user.

Now(!) the Arduino has his appearance! The Extron video-cross-connect has a RS232 interface where you can setup bondings between Ins and Outs by "magic" codes (for the exact commands: look at your documentation - I don't know if the codes are under license by Extron). So the Arduino has only to convert 0V/+5V to -12V/+12V. I also used a software serial to let the onboard hardware serial free for programming.

The user interface should be as easy as possible: An encoder (with push button) and four LEDs - thats all. Of course you can make betterand bigger interfaces (7-segment-digits, Displays, ...). Every external hardware was build on a stripe circuit board and placed inside a box. The user interface was simply build from a wooden pannel with some cables from the LEDs and encoder towards the Arduino box. Everything was mounted on the wall - the cables were placed inside the wall towards the Arduino box on the other side. The front panel is currently build as aluminium panel by a special company so the wooden one can be replaced very soon.

Here are some pictures:

 The prototype



 Selfmade shield


 The layout plan for the stripe board


 Inside the box without panel



Boxed with pre-panel

Box on wall (backside of the frontpanel)

Frontpanel (made with "Frontplatten-Designer" by  http://www.schaeffer-ag.de)

 Frontpanel on the wall

Perhaps you want to changes the LED resistors. The LEDs are currently a little bit too dark. The code makes some neat things with the LEDs so that the user can easy recognize program changes. Also it recognizes if someone directly chosed a setup on the video-crossbar itself - in this case all LEDs are dark until you choose a configuration by the encoder.

The code is GPLv3 - use at your own risk! Perhaps it can be adapted for other video-cross-connects. The code will is released on SourceForge, see https://sourceforge.net/projects/mediensteuerung/

Montag, 28. Oktober 2013

This time no Arduino - but Raspi scares kids on Halloween :-)

This video shows what I have done for Halloween with a Rasperry Pi (I know that it is dark... this is only an example for the show we made yesterday):






I used the following hardware:

  • Raspberry Pi
  • WLAN USB stick
  • FTDI-RS485 USB adapter for connecting to DMX light hardware
  • Speakers
  • Cables like Power, DMX, ...

... and the following software:

  • SD Card with Raspian
  • OLA daemon see http://www.opendmx.net/index.php/Open...
  • self written C++-daemon for sending DMX data to OLA as middleware (the daemon accepts simple commands for setting modes and values for each DMX channel and can play fades as a background thread - totaly detached from the controlling software; the interface is a simple UDP network connection).
  • self written Perl-script for firing up sounds and light commands to my daemon
The Raspi is configured as a WLAN hotspot, so I can log in from the kitchen without having cables through windows or doors. The audio files and programs are installed on the Raspi.

The program plays a storm sound in the background and makes color changes on the spot and LED-Bar - you can put much more lightning or DMX addressable equipment to the show if you have... . With shortcuts on the keyboard I can play some more scary sounds.

The special fun is the key "G". When pressed the spots are fading to dark and radomly they are flashing white. After that a thunderstorm sound is played.

If you have any questions about this project, feel free to caontact me!

Happy Halloween :-]

Mittwoch, 16. Januar 2013

Arduino drives digital locomotives (Maerklin Motorola II)

After trying to write my own interrupt timer service sketch for generating Maerklin Motorola (II) protocol for my model railroad I found a message from a guy who had done this already: http://forum.rocrail.net/viewtopic.php?t=4583 (sorry, german only). We changed some email an I tried to get his sketch running. After some (self made) trouble it works fine for me. The code was working but it was not very good organized. So I asked him to make a Sourceforge project of Maerklino (now it is called Ardurail to avoid traddemark problems) and began to rewrite.

And here it is: https://sourceforge.net/projects/ardurail/

Until now we haven't released any files but you can check out the (hopefully) working development version from SVN. The last changes I made were to put the whole code into a class so that it later can be distributed as a simple library. Also I added some functions for better control of the devices.

The next step will be (after testing the actual code): Writing a derived class which implements the P50 protocol (currently it is a method inside the class) and than a derived class for SRCP (see http://srcpd.sourceforge.net/srcp/).

Mittwoch, 11. Januar 2012

Play MIDI files on an Arduino with a Fluxamasynth shield / MIDI to Fluxmasynth converter Version 1.0 is ready for download!

After getting some new ideas how to convert MIDI files for the Arduino/Fluxamashield I am very proud to present version 1.0 of a Perl converter. This one can read MIDI files in format 0 or 1 (it implicitly converts 1 to 0 before converting to Arduino C++ code).

Version 1.0 doesn't need midicsv-tools anymore. It uses the (very nice!) MIDI library of Perl. You can get it from CPAN or try to look for a package at your Linux distribution (e.g. "libmidi-perl" maybe the right search pattern). Also included is the Arduino sketch for playing the converted data.

You can download midi2fluxama-1.0 from Sourceforge.

If you have some right-free and/or "free" licensed MIDI files (or converted files) which sound amazing on the Fluxamaynth it would be nice if you will add them as examples for the converter.

The next steps will be the support of reading the Arduino-Byte-Data from a file on SD for supporting longer and more than one songs.