[PD] problem with connecting to Arduino

Martin Peach chakekatzil at gmail.com
Fri Apr 24 21:09:25 CEST 2020


On Fri, Apr 24, 2020 at 2:22 PM <rolfm at dds.nl> wrote:
>
> Martin Peach schreef op 24-04-2020 19:44:
> > On Fri, Apr 24, 2020 at 1:34 PM <rolfm at dds.nl> wrote:
> >>
> >> Martin Peach schreef op 24-04-2020 18:51:
> >> > On Fri, Apr 24, 2020 at 10:40 AM <rolfm at dds.nl> wrote:
> >> >>
> >> >> i've been working with the Arduino UNO and Pd for years.
> >> >> now i'm starting with a new board UNO Wifi Rev2.
> > ...
> >> (with the regular UNO this behavior doesn't happen)
> >> i'm not sending anything at startup.
> >> this is what [info) gives:
> >>
> >> print: open 1
> >> print: port 5
> >> print: baud 9600
> >> print: dsr 0
> >> print: cts 0
> >> print: parity 0
> >> print: stop 1
> >> print: data 8
> >> print: rtscts 0
> >> print: xonxoff 0
> >> print: hupcl 1
> >> print: rxerrors 0
> >>
> >
> > Here I  get the same thing with a functional device except I have cts
> > 1. Do you get that with the UNO?
> > You could try sending [dtr 1(  or [rtscts1( and [rts 1( to see if it
> > wants some hanshaking.
> >
> > Martin
>
> wow, [dtr 1( did the trick!
> what does it mean?

Old-style RS-232 ports had handshaking lines in pairs RTS/CTS
(ready-to-send/ clear-to-send) and DTR/DSR (data-terminal-ready/
data-set-ready) that were used to control the modem data flow. It
seems that some USB drivers also use these signals even though they
are not implemented as physical circuits.

> can i do this also when there's no problem like with the regular UNO?

It should be harmless.

Martin





More information about the Pd-list mailing list