It is currently Thu Jul 18, 2024 3:34 pm


Arduino Leonardo

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

ajt

Member

  • Posts: 870
  • Joined: Sun Nov 12, 2006 6:40 pm
  • Location: Hampshire, UK

Arduino Leonardo

PostSun Jan 15, 2023 2:26 pm

Because I can’t count, I bought an Arduino Leonardo to midify a 61 note manual.

My thinking went 5 octaves, 12 notes, a 12x5 scan matrix sounds ideal. And then I failed to remember there’s a reason it’s called a 61 note keyboard…

The Leonardo has 17 usable pins. I can’t think of any logical way of achieving all 61 notes. Anyone care to correct me?
Adrian
Offline

larason2

Member

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

Re: Arduino Leonardo

PostSun Jan 15, 2023 2:41 pm

8x8 is 64. Most keyboard use an 8x8 matrix in their wiring. If yours doesn't, then you can always rewire it to work (adjusting the columns).
Offline
User avatar

ajt

Member

  • Posts: 870
  • Joined: Sun Nov 12, 2006 6:40 pm
  • Location: Hampshire, UK

Re: Arduino Leonardo

PostSun Jan 15, 2023 2:50 pm

Thanks for the speedy reply... I could 8x8 I guess; existing wiring is 12x5 + 1 note...
Adrian
Offline

larason2

Member

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

Re: Arduino Leonardo

PostSun Jan 15, 2023 8:11 pm

The other thing you can do is destroy/remove the LED so you can use pin 13. I haven't done it before, but should be easy enough.
Offline
User avatar

ajt

Member

  • Posts: 870
  • Joined: Sun Nov 12, 2006 6:40 pm
  • Location: Hampshire, UK

Re: Arduino Leonardo

PostMon Jan 16, 2023 3:06 pm

? I'm already using pin 13, it's just a pin... (I'm not on a pro micro if that's what you mean?)
Adrian
Offline

larason2

Member

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

Re: Arduino Leonardo

PostMon Jan 16, 2023 4:40 pm

Pin 13 is usually wired to the onboard LED. Trying to use it as a normal pin can create problems if you weren't expecting that LED to be there! On my count at least, if you count pin 13, you should have 18 pins.

Return to DIY organ consoles / MIDI

Who is online

Users browsing this forum: No registered users and 1 guest