Page 2 of 2

Re: Arduino

PostPosted: Mon Aug 23, 2021 8:48 pm
by Coenraads
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.

Re: Arduino

PostPosted: Fri Sep 03, 2021 3:12 pm
by dw154515
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?

Re: Arduino

PostPosted: Fri Sep 03, 2021 3:30 pm
by NickNelson
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

Re: Arduino

PostPosted: Sat Sep 04, 2021 7:56 am
by larason2
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.

Re: Arduino

PostPosted: Sat Sep 04, 2021 8:23 am
by engrssc
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