Monome 40h Kits

Discuss music production with Ableton Live.
Mesmer
Posts: 589
Joined: Wed Jun 06, 2007 4:29 pm
Location: Sunny San Juan, PR

Post by Mesmer » Thu Jul 12, 2007 6:13 pm

Tone Deft wrote:good catch LJ, yes, you'd need to flash the micro (I can help with that if you get into a bind, I have 1 extra uC and a few different programmers)

from what I've seen encoders send two signals in quadrature, you turn the knob and the two signals put out square waves, you pick one signal (call it A) and tell the software to sample signal B when signal A has a rising edge. here's a pic from the usdigital web site (whose encoders the monomes recommend.)
Image

Anyway, you don't want A/D converters to process that, you want a regular old digital input, err two of them.


Mesmer - you're a madman!!! Glad I can help, hardware is my strength, seems that software is yours, once the hardware builds are over it's all in the hands of you software guys. ;)
Ahhh, acceptance from the pack. 8)
Uncle circa 1985: tell me kid, watcha wanna be when you grow-up
Mesmer, 6yrs old: mad-scientist slash inventor.
*cue sinister look, and thunderstorm*
wahhahahahhahaahahah.

rrrmm, anyway the encoders, yea. reflashing, too bad. Software, yea too good.

anyway, "takes a thief to smell a thief". Or "crippled-leg guy telling on the crippled-hand guy". Or whatever that saying goes, in english for the Americans of the USA :D

-h
http://www.mesmero.net
---
Image
---
Hidden Driveways wrote:This doesn't answer your question at all, but I said it anyway simply for the joy of making a post.

Michael Hatsis
Posts: 1807
Joined: Tue Nov 16, 2004 6:27 pm
Location: Here and There
Contact:

Post by Michael Hatsis » Sat Jul 14, 2007 4:39 pm

Hey Tone-
Wondering how hard it would be to add 8 faders to the mix. i see it says something like 4 pots can be added, would you be able to sub faders instead? Also, is there any way to add 4 more? maybe diss 1 row of buttons or something?

noisetonepause
Posts: 4938
Joined: Sat Dec 28, 2002 3:38 pm
Location: Sticks and stones

Post by noisetonepause » Sat Jul 14, 2007 7:21 pm

mike@TrackTeam Audio wrote:Hey Tone-
Wondering how hard it would be to add 8 faders to the mix. i see it says something like 4 pots can be added, would you be able to sub faders instead? Also, is there any way to add 4 more? maybe diss 1 row of buttons or something?
To the best of my knowledge a fader and a knob are exactly the same thing electrically, a variable transistor. The difference is the shape.
Suit #1: I mean, have you got any insight as to why a bright boy like this would jeopardize the lives of millions?
Suit #2: No, sir, he says he does this sort of thing for fun.

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Post by Tone Deft » Sat Jul 14, 2007 8:21 pm

noisetonepause wrote:
mike@TrackTeam Audio wrote:Hey Tone-
Wondering how hard it would be to add 8 faders to the mix. i see it says something like 4 pots can be added, would you be able to sub faders instead? Also, is there any way to add 4 more? maybe diss 1 row of buttons or something?
To the best of my knowledge a fader and a knob are exactly the same thing electrically, a variable transistor. The difference is the shape.
You mean variable resistor, easy mistake, they all sound the same. Faders in general probably are pots there might be encoder faders but I get the impression encoders are more suited for endless controls like knobs.

Anything's possible. ;) At the least it would take adding some code to the microcontroller and reflashing it. you'd probably want to get encoders, as tehn wrote here, pots are flaky
tehn wrote:potentiometers are variable resistors:

* it’s easy for a microcontroller to read the position of the knob via an analog to digital conversion. (this code is contained in the original 40h firmware.)
* ADCs are noise-prone and often require averaging across several samples, resulting in lag.
* values from a potentiometer are also absolute (the value is the position of the knob), and most knobs have bounds (a max and min).
* accuracy for tiny tiny movements is not so good.
* super super cheap.

encoders send out pulses:

* it’s also easy to read by monitoring the pulses in a timed function
* much more immune to noise
* no lag
* infinite rotation, as the delta position is transmitted, not an index. this allows more flexible software interfaces, where the hardware won’t trash onscreen-modified values, allowing a more solid sync
* incredible resolution and sensitivity (4096 ticks per revolution)
* expensive
A couple of options come to mind
- Like you wrote, plop an encoder in place where 2 buttons were hooked up. As shown in that pic I posted of the two square waves that encoders put out, an encoder turn could be detected as two buttons hitting one after another, you'd just have to scan them fast enough to tell.

- Maybe get another logic board (no button board) and make a flavor of the 40h that's all encoders, no need for lights or button boards. Run two monome devices at once, which should be no problem. That's not a bad idea, put the logic board to another use.

A little more involved solution:
- The 74HC165 is a parallel in, serial out chip. So there's 8 input pins that can be 1 or 0 inputs then the microcontroller tells the 74HC165 to send those 8 bits serially out as 10101010, or 11111111 or 010101111 etc. One of those could support 4 encoders, does that make sense? Given that you could add a BUNCH of parallel to serial chips. THE PROBLEM is that the microcontroller can only keep track of so many things, eventually you'll hit a point where the code slows down and also the micro will start missing seeing changes on its pins. Also, each 74HC165 take 3 digital pins from the microcontroller.

Soooo, long story short, you probably could, it would take a few weeks or months of tweaking about after work, OR investigate other kits.

Let me know if that doesn't make sense, it's impossible to tell the comfort level of people on here until you post back and forth a few times. It doesn't have to be difficult, the monomes already did a lot of work for us.



I didn't notice that pin 33 is unconnected, there's another ADC pin you could use, albeit you probably have to tweak the uC code and reflash it because it's probably unprogrammed.


I found the firmware for various pot/encoder configs are here
http://wiki.monome.org/view/40hFirmware
Then you just need a programmer.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

noisetonepause
Posts: 4938
Joined: Sat Dec 28, 2002 3:38 pm
Location: Sticks and stones

Post by noisetonepause » Sat Jul 14, 2007 8:45 pm

Tone Deft wrote:You mean variable resistor, easy mistake, they all sound the same.
GRAH! It's... the keyboard.
Suit #1: I mean, have you got any insight as to why a bright boy like this would jeopardize the lives of millions?
Suit #2: No, sir, he says he does this sort of thing for fun.

longjohns
Posts: 9088
Joined: Mon Dec 22, 2003 3:42 pm
Location: seattle

Post by longjohns » Sat Jul 14, 2007 9:37 pm

I soldered my LED's today so now I can finally play with this thing semi-properly (except for awkwardly balancing the pcb's in my lap with no case!)

On the LED alignment issue -

Absolutely no need for any jig or anything like that. I don't think it would pay off until you had to solder maybe 3 or 4 boards, and even then only on speed really - it's not hard at all to get them aligned straight

Michael Hatsis
Posts: 1807
Joined: Tue Nov 16, 2004 6:27 pm
Location: Here and There
Contact:

Post by Michael Hatsis » Sun Jul 15, 2007 1:48 am

Thanks Tone!!!-
Bit of a noob here withall of this. Aside from the occasional resoldering of parts on Boss pedals, never done anything like this. Im definately a quick learner though. Im gonna take all this in and then reply when i actually understand what some of this means.

Longjohns- How is the monome to use without the casing, really want one but dont know what im gonna do yet. Is it an extrememly bad idea to rock it without casing, anyone have any temp casing ideas? Ive basically read through this whole post and most of the Monome Kit forum, found a bit about casing, but most seem like a permanent solution ( ie $$$ ). Here i found people talking about leather, legos, wood... The Lego idea sounds really good. Any thoughts all???

longjohns
Posts: 9088
Joined: Mon Dec 22, 2003 3:42 pm
Location: seattle

Post by longjohns » Sun Jul 15, 2007 4:21 am

If I were going to go for 8 faders, I'd get a second logic kit and just do it that way

Using it without a casing is a bit sketchy. I have been planning on kind of doing a rackmount-style face plate, so possibly without a rear housing. not sure though. I figure you could fit two monomes plus some knobs across a rack space

John Sweet
Posts: 686
Joined: Wed Dec 14, 2005 9:28 pm
Location: NYC

Post by John Sweet » Mon Aug 06, 2007 9:41 pm

How hard would it be to just buy the logic kit, maybe get some big & small arcade buttons, and arrange them this way?

Image

Would it just be soldering wires to contacts, or would more be involved? If they were lighted buttons, could I just run wires to the LEDs provided the power specs match?

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Post by Tone Deft » Mon Aug 06, 2007 10:02 pm

yep, you got it. any arrangement of up to 64 buttons and 64 LEDs can be tweaked about and used with an unmodified 40h logic kit.

if/when there's a kit released for the bigger models you can really go nuts.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

kabuki
Posts: 1893
Joined: Wed Feb 19, 2003 11:26 pm
Location: ATX, fyi

Post by kabuki » Mon Aug 06, 2007 10:39 pm

Tone, how did your foray turn out? I would love to see a pic or two. (Mine stalled when I couldn't get a quote for a faceplate.)

Thanks
15" PB 2.5 Ghz, 4 Gig RAM, 750 GB HD, Live 9 still no cue points or program change messages?!?. Doesn't do shit.

John Sweet
Posts: 686
Joined: Wed Dec 14, 2005 9:28 pm
Location: NYC

Post by John Sweet » Mon Aug 06, 2007 10:43 pm

Right on. Thanks, Tone.

I'm mainly confused about what the physical connection to the logic board would be. The keypad kit connects via 2 ribbon cables. Would I just be connecting wires to the individual leads where the ribbon would've been? It doesn't seem big enough.

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Post by Tone Deft » Mon Aug 06, 2007 10:51 pm

kabuki wrote:Tone, how did your foray turn out? I would love to see a pic or two. (Mine stalled when I couldn't get a quote for a faceplate.)

Thanks
pics here:

Image

Image
the things on top are two IR sensors that work just like a pot, or acceleromenter.

I'm still using mine without a case at all. I found a cardboard box that's abotu 2" deep, exactly as tall as the 40h and about 5" too wide, works great!!

I still want to settle on external hardware. I think accelerometer on a switch the the 2 IRs (so I can switch between them and have them connected to the same pins) and an encoder. I just found an encoder I can try out tonight or this week.

the apps are fun, mlr, 64 step, flip, life... it's nice having an abstract layer to tweak music on, and LOL most of the apps are beat slicers.

I'm also learning max/msp, with the 40h I can go into a max/msp lesson, tweak it, learn it, then set the lesson's input/output to the 40h and have some kind of weird device. max/msp and the 40h go GREAT together. max is a language you want projects to do while learning it, otherwise you won't really learn the language.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

Tone Deft
Posts: 24152
Joined: Mon Oct 02, 2006 5:19 pm

Post by Tone Deft » Mon Aug 06, 2007 11:02 pm

John Sweet wrote:Right on. Thanks, Tone.

I'm mainly confused about what the physical connection to the logic board would be. The keypad kit connects via 2 ribbon cables. Would I just be connecting wires to the individual leads where the ribbon would've been? It doesn't seem big enough.
it's a non-traditional approach, but not too odd, both the LEDs and buttons are wired up as matrices.

there are 8 x-coordinate wires, and 8 y-coordinate wires. to light an LED at 2,3 (2 from the left, 3 from the bottom) you put 5V on the #2 x-axis wire and 5V on the #3 y-axis wire.

with the buttons you scan x-axis wires #1-8 and y-axis wires #1-8, if you read #4 on the x-axis and #7 on the y-axis, the button at (4,7) was hit.

I can help you once you get going. the best thing to do would be to physically wire your idea up as a square, then physically move them into an odd shape.

make sense?

here's the page for the chip that drives the LEDs
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1339
you don't have to read this stuff to tweak it on a basic level but knowledge never hurt.

here's a pic of how it's basically wired up
Image
notice that if you count ALL the segments and dots there's 64 of them, just like there's 64 squares on a monome 40h.

I don't know what tehn is doing for the 256 model, but I know you can daisy chain the 7221 chips together.


the design of the 40h is great, so simple, efficient use of parts.

hope that helps, let me know if I can shed more light on the matter.
In my life
Why do I smile
At people who I'd much rather kick in the eye?
-Moz

kabuki
Posts: 1893
Joined: Wed Feb 19, 2003 11:26 pm
Location: ATX, fyi

Post by kabuki » Mon Aug 06, 2007 11:07 pm

That orange looks great.

I am still wanting to try to get my kit on, but I like to have all the variable (prices) locked down before I start a project. DAMN Faceplates... :roll: :roll:
15" PB 2.5 Ghz, 4 Gig RAM, 750 GB HD, Live 9 still no cue points or program change messages?!?. Doesn't do shit.

Post Reply