I am starting a one month course about arduino programming.
Would you assume that an arduino board could run a sequencer like, for instance white whale ?
Is it possible to plug a grid to an arduino board and have them to communicate with the osc protocol ?

http://monome.org/docs/grid-studies/arduino/ seems like a good starting point !

that tutorial is quite complete. in a nutshell:

  • yes; we made an arduino library for this: https://github.com/monome/MonomeHost

  • this will of course only work on arduinos that have a USB host mode. the library was developed using arduino Due but i guess this board is discontinued now (?)… i’m not 100% sure but i think the Zero must support host mode since it is based on SAMD21. it sure does, use the “native” usb port.

  • point of clarification: the library comprises the serial layer; there isn’t actually any OSC going on, and it’s not needed. if you want to actually use OSC (say, speaking to other computers over a network port) you would have to add some simple glue code.

3 Likes

also works with the arc btw if anyone is interested…
the code says untested. though I had a successful quick play.
can’t wait to have more time for this in the coming months…

2 Likes

most definitely could run grid/arc applications on arduino due. if you’re curious also take a look at the firmware for nw2s::b module (which i think uses monomehost or a variation of it) https://github.com/nw2s/b/tree/b-1.2.0

it’s arduino due based, the firmware itself probably won’t be that useful as it’s a framework developed for the ::b hardware i/o specifically but there are several sketches that might give a good idea of what’s possible (and could probably be fairly easily adapted), specifically BinaryArc, GameOfLife and GridNoteSequencer.

1 Like

interesting, did not realize that this support had been added to nw2s::b. thanks!

we definitely tooks some pointers from from nw2s::b for MonomeHost.

for what it’s worth, MonomeHost does device discovery (instead of reading descriptors from JSON) and its interface is basically identical to aleph/trilogy. so it should be very very easy to adapt trilogy or aleph programs (basically just needs a C++ wrapper.)

1 Like