Signals with the Arduino OPTA + Blues bundle

Will the Arduino OPTA Blues companion bundle support real-time inbound communications with signals (or by any other method)?

I’m trialling the Blues OPTA bundle for use in an IoT product that must respond to user input in real time and has no power restrictions. I notice that “signals” seems to be the method of instantaneously notifying the host device that it should retrieve new data. I don’t see how we could attach a hardware interrupt on the Opta to listen for the signal, since there are no exposed outputs on the Blues wireless bundle for Opta.

Any insight would be appreciated!

Thanks!

Hey @mikerowe,

Welcome to the Blues community! And sorry this is a bit confusing.

Will the Arduino OPTA Blues companion bundle support real-time inbound communications with signals (or by any other method)?

Yes. I’d recommend starting by looking at out Remote Command and Control tutorial as it walks through the basics of configuring a Notecard to receive inbound data.

From there, you might want to try using Signals if you need to reduce your latency as much as possible.

I don’t see how we could attach a hardware interrupt on the Opta to listen for the signal, since there are no exposed outputs on the Blues wireless bundle for Opta.

The Wireless for Opta does not expose outputs, but the Opta itself does.

The high-level idea is: you write host firmware on your Opta that configures your Notecard to receive inbound data. You can either use the card.attn request for this, or if you’re using Notes and Notefiles, you check the note.changes request for updates in a loop.

Either way though, when you receive the data you’re receiving it in your Opta firmware. And since your firmware is running on the Opta, you can take any actions you could normally take on the Opta, including using interrupts.

Let me know if that helps.

TJ