Skip to content

Compatibility with Arduino Leonardo type of boards #5

@Marzac

Description

@Marzac

The major limitation of the OPA editor is its impossibility to communicate with OPA shields over an Arduino Leonardo board.

Leonardo boards do not have an FTDI chip and the USB to TTL serial functionality is embedded in the target micro-controller firmware. This cause all sorts of problems for the editor to communicate with the shield.

First of all, as suggested in kickstarter project comments, a dedicated EditorBridge.ino sketch is needed. Micro-controller firmware needs to actually bridge data from the USB serial port to the TTL serial port.

I suspect an other problem, board reset function. I noticed that while opening COM ports with my multi-plateform serial library, Arduino boards resets. This is controlled by the state of the DTR (data terminal ready) serial lines on which I have no control.

Reading this:
http://playground.arduino.cc/Main/DisablingAutoResetOnSerialConnection
shows that Leonardo board handle reset differently, they basically do not reset by default.

I will investigate more into that when I will have a bit of time.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions