It is currently Tue Oct 19, 2021 12:03 am


Arduino

Building organ consoles for use with Hauptwerk, adding MIDI to existing consoles, obtaining parts, ...
  • Author
  • Message
Offline

Coenraads

Member

  • Posts: 58
  • Joined: Fri Feb 01, 2019 10:13 pm

Re: Arduino

PostMon Aug 23, 2021 8:48 pm

If you have any programming experience at all, you will find that C+ is pretty straight forward once you restrict yourself to input, output and some basic logic, which is all I find I need in applying Arduinos to organs. I'm no expert in C+ and the code I write is certainly not up to modern coding standards, but it will give you a starting point.

You might wish to start with building a single keyboard scanner and a decoder, wire them up to the organ and thereby be able to do a "proof of concept" test. Then, if that works, you could expand the system from there.

BTW, I have replaced the decoder program on my website with an earlier version which does not have the problem of "quick" notes getting hung up.
Offline
User avatar

dw154515

Member

  • Posts: 398
  • Joined: Mon Nov 12, 2012 1:52 pm
  • Location: Indianapolis, IN

Re: Arduino

PostFri Sep 03, 2021 3:12 pm

So, I started following some Arduino courses online, and it seems pretty straight forward thus far. Nothing overly enlightening and nothing overly complicated.

I did find that there are multiplexor boards readily available.

Has anyone used these in conjunction with organs/MIDI? Would they add too much delay? Seems like this might be a good way to get more I/O.

Thoughts?
Drew A. Worthen
Master of Music in Composition - Butler University
http://www.drewworthen.com
Director of Music & Website Admin - Greenwood UMC
http://www.greenwoodumc.org
Field Engineer - Diversified (Formerly Sensory Technologies)
http://www.sensorytechnologies.com
Offline
User avatar

NickNelson

Member

  • Posts: 868
  • Joined: Tue Dec 20, 2005 10:31 am
  • Location: Yorkshire, UK

Re: Arduino

PostFri Sep 03, 2021 3:30 pm

dw154515 wrote:I did find that there are multiplexor boards readily available.
Has anyone used these in conjunction with organs/MIDI? Would they add too much delay? Seems like this might be a good way to get more I/O.


It would depend on the type of miltiplexer.

I did some work on this quite a while ago, but found that using devices controlled using the I2C protocol too slow for
scanning keyboards. Other applications, stops control for example, would probably be OK. Or other types of multiplexing possibly.

https://forum.hauptwerk.com/viewtopic.php?f=15&t=19490&hilit=+mcp23017#p146402

Nick
Offline

larason2

Member

  • Posts: 382
  • Joined: Thu Feb 04, 2016 9:32 pm

Re: Arduino

PostSat Sep 04, 2021 7:56 am

I agree with Nick the I2C protocol is too slow for keyboards, having tried it out myself. Coding for multiplexer boards also adds complexity to the code, for which so far I haven’t wanted to invest the time to figure it out. There are libraries for multiplexer boards, but I found you still have to understand how the multiplexer chip works to use libraries successfully.
Offline
User avatar

engrssc

Member

  • Posts: 7283
  • Joined: Mon Aug 22, 2005 10:12 pm
  • Location: Roscoe, IL, USA

Re: Arduino

PostSat Sep 04, 2021 8:23 am

Coenraads wrote:BTW, I have replaced the decoder program on my website with an earlier version which does not have the problem of "quick" notes getting hung up.


A quick note, in order to access the menu of John's (revised) website

https://sites.google.com/site/casavantopus400/

you need to click on the three (3) bars in the upper left hand corner. (A Google thing)

Rgds,
Ed
Previous

Return to DIY organ consoles / MIDI

Who is online

Users browsing this forum: No registered users and 5 guests