Sending words to an Arduino

Hi Chris,

I am new to MWorks and I was wondering if there is a supported way already to send a word to an arduino. I was thinking of using and arduino to gate water delivery with the time of the gate open ‘attached’ to it.

Thank you!

Hello,

At present, MWorks’ Firmata interface supports single-pin digital outputs but not word output. However, we can add word output support, if that would be useful.

Cheers,
Chris

Hi Chris,

Thank you for your response. I’m not yet sure if I’d be using it, but if it
wouldn’t be a hassle, it would be great having that feature.

Thank you!
mariana

Hi Mariana,

Apologies for not responding sooner. I’ve been out of the office on vacation.

Did you look into sending words via arduino/firmata within MWorks?

I did. It’s going to require some significant restructuring of the Firmata plugin, so I’m not sure I want to tackle it before the release of MWorks 0.8 (which hopefully will be out in the next month or two). When do you want/need to start using it?

Chris

Hi Mariana,

The current MWorks nightly build includes support for Firmata word output channels. I’ve attached a short experiment that demonstrates how to use one.

Cheers,
Chris

Attachment: firmata_word_demo.mwel.zip (377 Bytes)

Hi Chris,

Thank you very much! Great news!