Arduino connections

Hi!

I am trying to connect my Arduino push button to my computer, but as for now I am not able to do it. I am using the last 0.8 version, with a MacOs Mojave.

The test pump (here attached) is giving the following error:

ERROR: Firmata device “Firmata Device” did not respond to request for protocol version
ERROR: Can’t start iodevice (Firmata Device) and no alt tag specified
Extended information:
parser_context: mw_finalize

Do you have any idea of the problem?

Thank you!

Benedetta

Hi Benedetta,

Have you installed the StandardFirmata (or StandardFirmataBLE, if you’re connecting via Bluetooth LE) firmware on your Arduino board? If not, see this guide for instructions on how to do so.

Cheers,
Chris Stawarz

Hi Chris,

I have all installed now, but I still have some trouble.
The error now is the following:

ERROR: Serial port drain failed: Device not configured
ERROR: Cannot restore previous serial port attributes: Device not configured
ERROR: Pin 7 does not support the requested mode on Firmata device “Firmata Device”
ERROR: Can’t start iodevice (Firmata Device) and no alt tag specified
Extended information:
parser_context: mw_finalize

Could you give me any further suggestion please?

Thank you!

Benedetta

Hi Benedetta,

I haven’t seen those errors before. Maybe try the following:

  1. Close the Arduino application (and leave it closed – there’s no need for it once you’ve installed the Firmata firmware)
  2. Close MWServer
  3. Disconnect the Arduino board (i.e. unplug its USB cable from your Mac)
  4. Reconnect the Arduino board
  5. Re-open MWServer
  6. Try loading the experiment again

Hopefully that will resolve the issue.

Cheers,
Chris