Knobome Resurected
My issue wasn’t with the shield soldering or my pin selection, is was that I’d stupidly used Arduino v12 to compile and upload the firmware, and as we all should know by now, that won’t work, you need arduino v11.
So I was able to crocodile clip a couple of pins as per Unspeds response on the forum…
IN
15,13,11,09,07,05,03,01
16,14,12,10,08,06,04,02
OUT
02,04,06,08,10,12,14,16
01,03,05,07,09,11,13,15
(the positive side of the led’s to the SEG pins on the max72xx chip)
connect led matrix pins: 5,6,7,8,9,10,11,12
to arduinome pins 2,4,6,8,10,12,14,16 on the “IN” connector
(the negative side of the led’s to the DG pins on the max72xx chip)
connect led matrix pins: 1,2,3,4,21,22,23,24
to arduinome pins 2,4,6,8,10,12,14,16 on the “OUT” connector
Now I just need to find a nice solution to wire up to the led matrix, I think I’ll end up just soldering directly to the matrix a pair of ribbon cables.
Now once I had my matrix working with the test, I fired up monome_test to see out of curiosity what would happen if I wired one of my potentiometer between the two pins that used to be wired to a button. Well stuff happened, not really what I want, but it was interesting. I’ll take a video and post it over the weekend – not easy to explain.
Suffice to say I need some ideas for plugging 1 potentiometer per row and getting full left to full right equal 0 – 8 column button presses. Any thoughts?

So if you want the “knobome” idea to work without modifying the firmware you are going to need to hook up a few extra chips. you should be able to do this with some 4066s and some lm339s. A comparator can be used to cause various lines to go high as a pot is turned. a 4066 is used to connect two pins electronically when a third pin is pulled high. By combining several of these two chips one could achieve your desired result without changing any of the firmware. I am actually somewhat interested in trying this, I will let you know how it turns out.
I’m a programmer by trade, so I’m a huge fan of making modular things you can use in different situations.
I always liked the idea of having this setup:
Computer
Arduino
UnSped Sheild
????
Input/Output Device
That way, with a common top 3, you could almost bolt new interfaces onto the monome.
If you want 8 sliders, just plug them in and away you go.
If you want a stribe tyep interface with a touch strip and 8 bar graphs, then plug them in.
Buttons and LED’s all cool.
Knobs, no problemo.
etc etc.
The problem I have is that I’m no Electrical Engineer. I can follow directions, but beyond that most of this is a foreign language to.
Assuming your referenced chips are:
lm339 and CD4066.
Today I’d pretty much come to 3 directions I could take.
A: I was going to make mini capacitive switches out of pin heads that I short with a finger press.
B: I was looking at maybe 8 position linear switches.
C: Wait for someone who knows more than me to show me the way
I’d love to hear what you come up with. Thanks for stopping by.
I have it working on a breadboard. here is the setup: 100k lin Pot set up as a voltage divider (outside pins connected to gnd and vcc and wiper hooked up to pins 4,6,8,10 of the 339). You then connect vcc through resistors to pin 5,7,9,11. the resistor values should be evenly distributed across the range of the pot (or as close as you can find in hand). so i used 22k,47k,68k,91k respectively (to pins 5,7,9,11). Also connect pins 3 and 12 to vcc and gnd. With this set up, as you turn the pot pins 2,1,13, and 14 of the 339 will turn high in succession. Now, the cd4066 contains 4 digitally controlled switches. Connect pins 14 and 7 to vcc and gnd. Each button on the arduinome has two lines headed to the unsped shield. Instead of connecting these lines to the buttons you need to connect them to two of the 4066 pins. So, on the unsped board, I have connected pin 1 of the “in” header to pins 1,3,8, and 10 of the 4066. I then made the following connections – unsped shield “out” header pins 1,3,5,7 to 4066 pins 2,4,9,11 respectively. Now all that is left to connect is the 339 pins to the control pins of the 4066. Connect lm339 pins 2,1,13 and 14 to 4066 pins 13,5,6,12.
So, as you turn the pot, 4 pins go high , these 4 pins are used to cause the 4066 to connect 4 of the monome’s buttons. If you wanted to use this method to control the entire monome you would need a total of eight pots and 16 each of the 4066s and the lm339s. I have more of these chips on order as I am interested in making this thing work.
I have a diagram that I can scan to help explain this better, I will do so and post it on Monday.
This sounds absolutely amazing – and a touch intimidating.
Can’t wait to see the diagram. Thanks for sharing the knowledge. I’m looking forward to working this one through with you. Nice to be working with the creator of the arcade monome
How big are the chips that you need 16 of them? Is this thing going to be huge?
Didn’t work on the physical side of things more today (waiting for the ICs to get here), however I did work up a schematic in eagle – I can send you the .sch files if you would like. I uploaded an image of the schematic with the first two rows completed. I forgot to mention that there are some pullup resistors required between the comparator and the switches. I had the sip resistor networks handy so I used them.
After working up the schematic I think it is clear that it would be much simpler to do the same thing in firmware. Having already designed this and ordered the ICs as samples from Fairchild, I figured I might as well see if I can get it working. Also, with this current setup, the lights are not individually lit – as you turn the pot beneath a column the lights in that column light up in order (ie the first one lights up then the second one lights up while the first one remains lit, then the third one lights up while the first two remain lit, etc.) I think I could hit the lights individually with another logic chips per row (nand gate).
Anyway, after working on this for a while I realized that we will have to write some new apps for it. I do not think any of the current monome apps will be functional with these controls. This device will actually be more like the stribe than the monome. Could still be cool, will just require some work on software side as well. Your idea to use rotary switches might be a little easier to implement. we could even use an encoder without detents so it feels just like a pot. Hit me up via email if you want to discuss further.
http://www.flickr.com/photos/29940471@N03/3109018925/
“I think it is clear that it would be much simpler to do the same thing in firmware”
Now that caught my eye. Do you mean that you’d basically just pass the 8 pots values back to the arduino and let that handle what each range means and what to output to the arduinome serial? That’s an interesting idea.
What would be the benefit of not doing it that way, but doing it with the IC’s?
I’m very interested in working on this more after the holidays, I have a spare shield or two.
Free money casino with redeem coupon…
Free money casino with redeem coupon…