[sdiy] Pic program to midi interface

Mathias Märker mail at acidcode.de
Mon Nov 25 18:15:22 CET 2002


Hi Trevor,

some month ago i found your website and your Midi2CV. I`ve learned much
about PIC`s and Midi from
your code! Thank you :-)

Here is the result: www.acidcode.de
(Even if it doesn`t look like it - it`s a non-profit project...)

Regards,
Mathias


----- Original Message -----
From: <trevor at resonance.fsnet.co.uk>
To: <synth-diy at dropmix.xs4all.nl>
Sent: Monday, November 25, 2002 5:33 PM
Subject: Re: Re: [sdiy] Pic program to midi interface


'lo,

My first ever MIDI project a few years ago was a very simple MIDI to CV
converter that used a 16F84 and a dual channel DAC! Cheap, simple, and very
reliable - together with the crappiness of using an 8-bit DAC :o) But it was
ideal for beginners wanting it for a simple TB-303 clone or something, which
is what I think our friend here is actually aiming to use it for anyway.

I took the original page offline (more out of embarrassment than anything
else), but it is also to be found here:

http://www.physicsenterprises.andrews.edu/diy_archive/schematics/misc/midi_c
v/

The schematic seems to be missing. I could always put it online again, or
email it to anyone who wants it.

/T

TR-909 clone:

http://introspectiv.org/





>
> From: patchell <patchell at silcom.com>
> Date: Mon 25/Nov/2002 16:23 CET
> To: synth-diy at dropmix.xs4all.nl
> Subject: Re: [sdiy] Pic program to midi interface
>
>     Can't really help you, although, one thing I have noticed, there
> isn't really a whole lot of source code posted for such things on the
> internet.  If anybody knows of any links for such things, I would like
> to know...
>
>     Here are my suggestions for getting to your goal.
>
>     There are several books on programming the PIC, find one that you
> like.  Then, sit down and start with simple programs.  Generally, the
> first thing I do with any new system is write a short program that will
> turn an LED on and off.  This is important, because, it is about the
> only way you are going to get any "debug" information from your PIC,
> unless you purchase an in circuit emulator (I am too cheap to do that
> myself).
>
>     The biggest leap you are going to have to make is interfacing up to
> the MIDI port itself  And then comes the code for parsing the Midi
> Stream.  This is another thing somebody should post, is an algorithm for
> parsing the Midi Stream.  While this is not complicated, it is involved.
>
>     Another thing you will need to decide is, "Do I program in Assembly
> or C?"  This is a tough question.  C compilers cost a lot more than
> Assemblers (the Assemblers are generally free).  But, they can take some
> of the drudgery out of programming, and this is true for the PIC in
> particular (you have to handle some rather strange paging).
>
>     I was going to post a link to some MIDI code I wrote for the 68000,
> but noticed that I must not have ever gotten around to putting it up on
> my website...oh, here it is:
> http://www.silcom.com/~patchell/midictl/midictl.html...I realize this
> won't help you, but it may give you some ideas.
>
>     I am currently working on code for the AVR...infact, I just got the
> ISP cable hooked up to the board last night, so hopefully soon I will
> have some code for the AVR posted soon as well.
>
> bo ca wrote:
>
> >    Hi to everyone!
> >
> > I am trying to build a MIDI interface with a PIC16F84, i have no idea
> > about programming, and I would like to know where I can find the
> > program. I have found lots of circuits, and I just want to know how it
> > works to adapt it to what I need.
> >
> > Thank you
>
> --
>  -Jim
> ------------------------------------------------
> * Visit:http://www.silcom.com/~patchell/
> *-----------------------------------------------
> *I'm sure glad Merry Christmas comes just once a year
> * -Yogi Yorgensen
> ------------------------------------------------
>
>
>
>


_______________________________________________________________________
Freeserve AnyTime, only £13.99 per month with one month's FREE trial!
For more information visit http://www.freeserve.com/time/ or call free on
0800 970 8890




More information about the Synth-diy mailing list