Archive

Archive for June, 2014

Raspberry Pi MiniPIIO MIDI board

June 26th, 2014 No comments

We designed our first Pi MIDI interface way back in 2012 while we were waiting for our first Pi board to arrive.

It’s went through several revisions since then and now looks like this:

RPi_MiniPiio_MIDI_small

RPi_MiniPiio_MIDI_Front_small

The circuit is now completely 5V as per the original MIDI specification but the MIDI IN is 3.3V compatible with the Pi via a voltage divider circuit.

OK that’s the hardware what about the software?

Getting a MIDI 31250 Baud Rate on a Pi is not easy as it should be as 31250 is not a standard Pi baud-rate. But you can trick your Pi into it if you overclock (or rather underclock) the UART clock.

Start a terminal session and type:

[sourcecode]
sudo nano /boot/config.txt
[/sourcecode]

Add these lines to the end of the file

[sourcecode]
# Change UART clock to 2441406 for MIDI 31250 baud rate

init_uart_clock=2441406
init_uart_baud=38400
[/sourcecode]

save and exit.

Once saved reboot your Pi.

Next we need to stop the serial UART being used by Raspbian for the shell console. Check my previous post “MiniPIiio RS232 set-up” on how to do this.

Finally we need to add the following to “cmdline.txt”

[sourcecode]
bcm2708.uart_clock=3000000
[/sourcecode]

After doing all of this we should be ready to connect a MIDI keyboard or synth to our Pi.

 

Check our store on Tindie:

https://www.tindie.com/stores/DTronixs/

Categories: MiniPiio, Raspberry Pi Tags:

Raspberry Pi Industrial Automotive Controller photos

June 24th, 2014 No comments

Here’s a photo of a finished RPi-X PIAC experimenter module:

RPi_PIAC_small
OK what does PIAC stand for?

PIAC = Pi Industrial Automotive Controller

It’s a Pi expansion shield that has 4x Change Over (CO) relays, 4x Opto Isolated Digital inputs and 4x 0V to 10V Analogue Inputs. There’s also a RS485 interface to communicate with industrial networks.

You can use it to learn about industrial control or perhaps even use it on your own small control projects.

Check our Tindie store:

https://www.tindie.com/stores/DTronixs/

Categories: Raspberry Pi Tags: