Thanks Ben,
Yes - that's probably the way to go...
The 'copy' route should have been so simple. Sadly it was not to be though. I kind of fell down a rabbit hole on that one...
Martin
Serial port communication
-
- Valued Contributor
- Posts: 1453
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
-
- Valued Contributor
- Posts: 1453
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
Re: Serial port communication
And an another idea...
Instead of using USB comms I tried a FTDI chip connected to Rx and Tx on the Arduino Then flow control works (at least when sending from RealTerm)
It seems Windows is ignoring XOff/Xon when sending data using USB serial comms. I'm baffled as to why it shouldn't work via USB (either from RealTerm or cmd prompt...) - it should support flow control. RealTerm occasional errors with data buffer too small for block - which may (or may not be) a clue?
So no further forward:-( Will have a play with AppInventor version too..
Martin
Instead of using USB comms I tried a FTDI chip connected to Rx and Tx on the Arduino Then flow control works (at least when sending from RealTerm)
It seems Windows is ignoring XOff/Xon when sending data using USB serial comms. I'm baffled as to why it shouldn't work via USB (either from RealTerm or cmd prompt...) - it should support flow control. RealTerm occasional errors with data buffer too small for block - which may (or may not be) a clue?
So no further forward:-( Will have a play with AppInventor version too..
Martin
-
- Valued Contributor
- Posts: 1528
- Joined: Thu Dec 03, 2020 10:57 am
- Has thanked: 353 times
- Been thanked: 549 times
Re: Serial port communication
Hi
I've had bother in the past with USB/Serial when trying to implement flow control.
This is quite interesting
https://hackaday.io/project/16097-efort ... ng-xonxoff
Regards
I've had bother in the past with USB/Serial when trying to implement flow control.
This is quite interesting
https://hackaday.io/project/16097-efort ... ng-xonxoff
Regards
-
- Valued Contributor
- Posts: 1453
- Joined: Wed Dec 09, 2020 9:37 pm
- Has thanked: 135 times
- Been thanked: 707 times
Re: Serial port communication
Thanks - that's interesting... I'd seen some of the posts about CuteCom (linked in the post)... Wish I hadn't spent so much time on it now - seems it really doesn't work..
It's odd though - there are many posts claiming it works too! I'm going to stick with my initial Python pseudo flow control - which worked well...
Martin
It's odd though - there are many posts claiming it works too! I'm going to stick with my initial Python pseudo flow control - which worked well...
Martin