Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't communicate with Adafruit ItstyBitsy 32u4 #130

Open
jwalk487 opened this issue Oct 23, 2018 · 3 comments
Open

Doesn't communicate with Adafruit ItstyBitsy 32u4 #130

jwalk487 opened this issue Oct 23, 2018 · 3 comments

Comments

@jwalk487
Copy link

Hi,

I am having trouble communicating with Adafruit ItstyBitsy 32u4. When I open the port it shows that the port has been opened successfully but I cannot send or receive data.

If I use Serial Monitor in the Arduino application I can communicate with no issue. I also have no problem communicating using a python script.

If I open Arduino Serial Monitor AND connect with ORS it seems to work fine and I can send and receive.

It seems ORS is just not opening the opening the connection properly.

I have also tried ORS with an Arduino Uno and that works fine so I am not sure what's causing this issue.

Thanks for your help

@Dirk-
Copy link

Dirk- commented Mar 4, 2022

Same behavior with Arduino Nano 33 BLE and ASURO robots. It seems to have gotten worse in recent macOS system versions.

@pierdr
Copy link

pierdr commented Sep 27, 2022

I have the same issue with a 32u4.
The incoming data starts if I open the serial port with another program (in my case CoolTerm, if I try to open the stream with Arduino doesn't work).

I believe there is something on the low level that is done incorrectly (coolterm is triggering the data to start come in).

@pierdr
Copy link

pierdr commented Sep 27, 2022

Sorry this problem is actually solved already. See thread: #123

Setting RTS and DTR to true makes the stream of incoming serial data start:

func serialPortWasOpened(_ serialPort: ORSSerialPort) {
        print("port was opened");
        serialPort.rts = true;
        serialPort.dtr = true;
        
    }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants