Sending words to an Arduino

mc7055's Avatar

mc7055

30 Nov, 2017 12:18 AM

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!

  1. Support Staff 1 Posted by Christopher Sta... on 30 Nov, 2017 08:34 PM

    Christopher Stawarz's Avatar

    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

  2. 2 Posted by mc7055 on 01 Dec, 2017 04:03 PM

    mc7055's Avatar

    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

  3. Christopher Stawarz closed this discussion on 15 Dec, 2017 04:19 PM.

  4. Christopher Stawarz re-opened this discussion on 03 Jan, 2018 02:46 PM

  5. Support Staff 3 Posted by Christopher Sta... on 03 Jan, 2018 02:46 PM

    Christopher Stawarz's Avatar

    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

  6. Christopher Stawarz closed this discussion on 13 Feb, 2018 03:14 PM.

  7. Support Staff 4 Posted by Christopher Sta... on 15 Jan, 2019 03:33 PM

    Christopher Stawarz's Avatar

    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

  8. 5 Posted by mc7055 on 15 Jan, 2019 04:21 PM

    mc7055's Avatar

    Hi Chris,

    Thank you very much! Great news!

  9. Christopher Stawarz closed this discussion on 24 Jan, 2019 02:22 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

07 Feb, 2019 02:24 PM
02 Feb, 2019 01:58 PM
01 Feb, 2019 06:25 PM
26 Jan, 2019 12:15 AM
18 Jan, 2019 05:44 PM