Building an m-log

Friday, October 2nd, 2009 | Building Things, Electronics, Max/MSP, Processing, m-log

The m-log is a ‘build your own controller’ kit currently in development by the Owl Project. Using it you can control;  Pure Data, MAX/MSP, SuperCollider, Processing amongst other software. The idea is that you have a set of sensors provided in the kit (accelarometer, 2 potentiometers,2 switches, 2 buttons) then you choose how you want to arrange them. You can easily add your own sensors to the kit and it plays happily with most of the sensors from iCube, Infusion systems or phidgets as well as ones from you favorite electronics retailer.  I have been involved in a small way in it’s development and I recently gave a talk at an m-log building workshop where unfortunately I had to give back the m-log I had been borrowing from them. The good news was that they gave me one of the new kits they are developing. As I’m currently thinking about re-designing my on-stage set-up this could not have come at a better time.

m-log kit components

m-log kit components

The standard kit contains:

  • Pre-routed wooden body and back – mine is Laburnum
  • muio interface board
  • Accelerometer (roll & pitch) not shown in picture!
  • USB interface chip
  • Analogue input chip (4 channels)
  • Power LED
  • USB cable
  • Various Potentiometers, switches, buttons

This standard kit allows you up to 4 analogue controls (which output values between 0-254) in addition to 8 digital inputs (on or off). I wanted more analogue controllers which is acheived by simply adding an extra analogue input chip. You can connect a whole host of different sensors to the m-log including: Light dependant resistors, switches (tilt, reed, button, toggle),passive infra-red detectors, thermistors, potentiometers, bend sensor, pressure sensor…..

raw m-log housing

raw m-log housing

 The first thing I did on receiving the kit was to have a good look at the wooden body. The owl project have made a good job of selecting very pretty wood. Test fitting the interface board it’s clear that the routing is of very high precision, the USB connector sitting snugly in it’s square hole. Because trees come in all sorts of shapes and sizes the logs in the kits vary quite a bit in size and appearance.  When I handled my log-body It felt quite fat and I was not particularly into the feel of the rough bark on my hands so I decided to remove the bark and some of the wood around the sides.

I marked the extents of the routing on both ends of the log to make sure I would not remove too much material. I used small sharp plane to remove wood from the sides until it sat comfortably in my hand.

The next step was to think about what kind of sensors I wanted to put into my log and where to put them. I really like using the joystick controllers in my joy-pad so I decided to include a joystick (which i took out of a cheap USB game controller). I also wanted to have a light sensor (LDR) and a selection of knobs and buttons. I sketched out some ideas and finally came up the  following design.

I paid particular attention to the spacing of the knobs and buttons. The controller  would not be fun to use if it was a strain to reach the different controls so I took plenty of time to make sure I could reach all easily. The buttons on the side were laid out by holding the body and marking where my fingers fell naturally. I would warn against putting controls too close together because they’ll be difficult to operate (esp knobs). It’s also worth noting that if you cover your entire controller with knobs and buttons you might not be able to hold it without accidently activating some of them (actually this might be quite fun). Finally check that all the components will actually fit into the space provided in the log!!!

body with all holes drilled and counter-sinking

body with all holes drilled and counter-sinking

I marked out the positions of the holes I wanted in my log and used brad-point drills in an electric hand-drill to make the holes. Warning I would recommend you securely clamp down the body while drilling. The texture of the wood varies which can cause the drill-bit to jam and forcefully rotate the the log or worse, jump out and make a complete mess of your hand. The one inch spiral cut up the inside of my index finger really hurts! 

The top of the log is about 5mm thick so you can’t get a potentiometer to attach to it properly. You’ll need to recess the top surface a little to get the nut and washer on. I managed to find an attachment for my Dremel multi-tool which did this perfectly. After the finger incident I didn’t want to take any chances so I clamped the log down and wore safety glasses to do this part.

joystick liberated from cheap joypad

joystick liberated from cheap joypad

I made a nice leaver for my joystick out of a piece of Pine dowel. I shaped it with a chisel and sand paper before super-gluing it to the metal shaft of the joystick mechanism. Be careful with super-glue and components, if the glue runs down into the mechanism it might ruin the part.

Owl Simon showed me a neat way of making wooden switches for the m-log. You’ll need tactile switches, a hole-cutter and some extra wood to cut the buttons from.

wooden cores made by the hole cutter

wooden cores made by the hole cutter

I used a 16mm hole cutter. I assume the dimension refers to the resultant hole and not the core as mine ended up about 12mm across which ended up being perfect. I cut down the cores into shot lengths suitable for buttons and sanded away any sharp edges. The buttons will be hot glued onto the tactile switches shown below.

very tactile buttons

very tactile buttons

For the 4 button section on the front of the log Mounted the tactile switches on perf-board. The brown part of the tactile switch was a bit too long so I clipped them using wire cutters. On reflection It may have been better to drill out the buttons a little more to accept the longer tactile switches, but the buttons I made were not very deep and I didn’t want to risk drilling completely through them.

4 button set-up

4 button set-up

The perf-board will be hot-glued into position on a little wooden riser inside the log. After this is done the 4 buttons are carefully hot glued to the switches.

4 button mounting

4 button mounting

 I mounted the two side buttons in a very similar way using thin strips of perf-board and hot-glue. I didn’t manage to get a good photo of it but you can just about make them out in the photo below.

Soldering all the components together is fairly straightforward, I had Owl Steve on the end of the phone to help out as complete wiring diagrams are not finished yet. The board is logically laid out and a lot of the connections are repeated so it won’t take long to get into the flow. I used solid core wire for my first connections which was very stupid of me and caused a few problems including a lifted track on the board when I had to re-solder a mistake. Some of the traces are quite tiny so I’d recommend thin stranded wire or stranded ribbon cable (which I took from an old printer cable). The ribbon cable keeps things nice and neat too which is a bonus when you have lot’s of sensors going the the board. My problems were all easily rectified and I soon ended up with a nice rats nest of cables. I don’t have time to go into the specifics of the wiring here but have a look at the muio site for further details.

nearly everything soldered up

nearly everything soldered up....

When wiring up It’s important to keep test fitting the board into the log. This will make sure that your wires are long enough and that everything will fit when the time comes to glue the back on. I also made sure all my connections were correct by periodically plugging the board into the computer and using the muio server software to check the readings coming from the log. It’s a good idea to do this as you go along so you can catch wiring mistakes one at a time. I was wiring quite late at night and I did make a few mistakes but the board didn’t complain and kept on chugging along.

nearly done...

everything working

As you can see, there is not a lot of wasted space inside the m-log. All the components live under the board so it’s important to guard against accidental shorts. Before gluing on the back make a final test with the muio server and adjust the on-board trimmers to set the bounds of the analogue input range(s). This enables you to set the high and low boundaries of your accelerometer. 

I choose not to use the supplied back because I wanted something really thin and happened to have a nice 2mm thick piece of mahogany veneer lying about. I rough cut it to size, and glued it on with wood glue. While it was drying in the clamps I cut some more wooden cores using the hole cutter to use as knobs. When the back was dry I sanded it into the contour sides and ends. All done! 

Completed m-log

Completed m-log

I’m really pleased with my m-log, It works well and communicates as expected with the computer. The accelerometer gives nice control when rolling and pitching the m-log and I’m looking forward to making some Max/MSP patches to exploit this data. I had a few problems with some of the buttons sticking, but I think i can sort this out without too much trouble. 

I’ve started making some abstractions to help in dealing with the m-log data in Max/MSP which will be downloadable as soon as they are ready. I’ll also be making some little m-log software instruments for download soon.

Finally the kit is not available to buy yet, I don’t know when it will be or how much it will cost but if you have ideas or suggestions please leave a comment and I’ll make sure the developers read them.

Take care,

Leafcutter John.

Tags: , , , ,

3 Comments to Building an m-log

Johnny
November 5, 2009

Where’d you get the tactile switches? Awesome looking project. Would love to see it in action. The joystick truly makes it.

Leafcutter John
November 5, 2009

Just check google shopping for your country:

uk: http://www.google.co.uk/products?q=tactile+switch&hl=en&scoring=p

us: http://www.google.com/products?q=tactile+switch&hl=en&scoring=p

They are very cheap and work really well in the log!

As soon as i get chance i’ll post video of the m-log in action

best,

John.

rachel connelly
March 1, 2010

remember me-friend of John Wall? I’m in HK now running a new media gallery-I want you all to come and play….get funding and come out!!

Leave a comment

kamagra bestellen viagra suisse potenzmittel cialis vendita on line tadalafil preis clomiphene citrate kamagra pil viagra à vendre cialis vente libre viagra kauf acheter cialis pharmacie cialis receta acheter kamagra oral jelly vardenafil hcl acheter cialis generic cialis tabletas medicament viagra cialis sans ordonnance leivtra moins cher pildoras cialis viagra versand cialis tadalafil lilly venta de levitra prozac medicament levitra en ligne generic sildenafil acheter viagra en france cialis ricetta medica achat viagra belgique propecia sans ordonnance sildenafil citrate tablets prezzi levitra prix sildenafil prezzo cialis italia kamagra kaufen viagra lyon cialis en mujeres tadalafilo viagra venda livre posologia viagra levitra farmacia kamagra apcalis comprare levitra achat tadalafil generische viagra comprar viagra generico prix du cialis viagra ordonnance sildenafil costo viagra roma levitra rezeptfrei kosten cialis viagra in deutschland online apotheke viagra prix viagra 10mg comprar levitra kamagra gel koop kamagra acheter clomid en france medicamentos impotencia cialis rosa acquisto cialis in farmacia impotencia remedios medicament cialis levitra donne cialis generique france viagra generique en france sildenafil moins cher prix viagra 5mg viagra livraison rapide acquistare cialis online cialis marketing strategy acheter prozac cialis meccanismo d'azione viagra argentina andorra viagra compra viagra cialis ordonnance viagra preisvergleich acquisto cialis senza ricetta viagra bestellen achat levitra cialis kostenlos disfuncion erectil medicamentos cialis generica tadalafil 10 mg acheter du cialis viagra 100mg vendita cialis viagra generique acheter pastillas viagra generique du viagra acheter cialis sur la net cialis lilly icos erektionsstorung cialis a vendre zyban achat cialis informazioni levitra en pharmacie sildenafil venta cialis online cialis medicamento prix cialis andorre cialis generico en mexico sildenafil effetti collaterali ordina viagra viagra fur frauen prezzi viagra kamagra apotheke generika kamagra kamagra en france prix cialis 10mg commander cialis generique levitra precios levitra kopen viagra prix de vente internet apotheke generika apotheke betere erectie vendita viagra generico kamagra preise levitra generico viagra te koop aquisto levitra sildenafil citrato citrate de sildenafil acquisto viagra in contrassegno acheter cialis en belgique viagra vrouwen viagra generique en pharmacie levitra kosten cialis donna viagra libera vendita clomid sur internet acheter isotretinoine compra viagra cialis belgie viagra 50 mg acheter cialis moins cher levitra tabletten kamagra verkauf viagra belgique acquistare viagra generico acheter viagra 20mg pharmacie en ligne cialis no me funciona cialis quanto costa tadalafil tabletten levitra italia cialis farmacia achat cialis sur internet viagra luxembourg generic tadalafil finasteride pas cher kamagra amsterdam kamagra pillen sildenafil precio erektile dysfunktion acquisto viagra net zithromax medicament vendo cialis milano sildenafil fur frauen compro sildenafil eu viagra vendita cialis generico levitra precio cialis pillen acheter cialis en france sildenafil venta libre acheter sildenafil vardenafil 10 mg compra cialis in italia pastillas sildenafil acheter viagra france vendo sildenafil prezzi cialis kamagra tabletten achat kamagra naturliche potenzmittel viagra bestellen vente de propecia cialis rezept cialis generique en france pastilla levitra commander du viagra levitra apotheek cialis generique pas cher cialis alternativo kamagra inde viagra generika trouver du levitra viagra suisse viagra ohne rezept kamagra 100 cialis sur ordonnance acheter du levitra cialis generico sicuro viagra 50 viagra kaufen cialis nederland acheter cialis pas chere genericos viagra viagra 20 mg levitra kosten lange erectie cialis prezzo cialis generico viagra 100 mg levitra versand vente de viagra en belgique sildenafil soft internetapotheke viagra cialis in deutschland levitra peru erectie lengte cialis generique acheter cialis libera vendita cialis lyon internetapotheke levitra viagra torino commander viagra generique cialis vendita libera levitra inde viagra tous les jours viagra por internet levitra venta libre achat cialis original acquisto viagra svizzera pastillas levitra viagra vente libre viagra modalità d'uso cialis pharmacie online apotheke cialis generico prezzo viagra prescrizione medica cialis ricetta sildenafil generique comprar viagra pela internet generische cialis mannen pil levitra preis cialis modalità d'uso versand apotheke cialis vente en ligne levitra preço cialis versand tadalafil bestellen acquistare viagra su internet tadalafil generique vardenafil kaufen acquistare cialis a san marino acheter cialis pas cher viagra genericos vendita cialis san marino prix cialis 20mg cialis 10mg precio de viagra comprar viagra pela net kamagra 100 mg viagra sur internet cialis tabletten apotheke bestellen levitra zonder recept acheter viagra moins cher cuesta el viagra generieke medicijnen preço de viagra viagra effet secondaire achat cialis 20mg cialis prix france sildenafil generico cialis prijs commande viagra generique cialis quebec viagra efeitos propecia en ligne cialis sur le net alternatief viagra pilule viagra kamagra versand commander viagra compra cialis viagra chile compro cialis sildenafil 50 mg cialis 10 mg acheter zithromax erectie stoornis ordina levitra levitra bestellen viagra medicinale viagra alternativo viagra quanto costa propecia moins cher cialis indicaciones cialis precio solucion impotencia tadalafil soft cialis generico prezzo levitra verkoop levitra verkauf cialis temoignage viagra dosaggio cialis resultados prix cialis france levitra sur internet acheter viagra en ligne acquisto viagra on line viagra gratis levitra ohne rezept zyban prix cialis mujeres cialis vente libre cialis pharmacie paris propecia vente potentie pil prix tadalafil sildenafil tabletten viagra prix viagra napoli levitra pil viagra italia vendita cialis senza ricetta cialis generique suisse viagra milano viagra quebec medicament levitra cialis precios acheter viagra en belgique prix du viagra sildenafil rezeptfrei cialis acquisto online impotenza rimedi cialis ficha tecnica compro levitra achat viagra suisse viagra generique suisse levitra genericos venta de cialis tadalafil 10mg remede impuissance cialis generique achat acquisto viagra vendita viagra san marino potenzschwache potenz mittel cialis rezeptfrei acquisto viagra originale viagra recensioni vendo viagra milano cialis femminile viagra prezzo in farmacia trouver du viagra cialis tous les jours pilule levitra clomid 50mg cialis bestellen kamagra pas cher