View Single Post
  #2   Spotlight this post!  
Unread 05-04-2016, 17:56
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,620
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Serial Port Communication

Quote:
Originally Posted by Matthew Zwinger View Post
In java we are using serial port.port.kusb on a 9600 baudrate with a nvidia tegra serial port. When we try testing the tegra serial with an arduino it returns garbage askII characters. eg.(Python)ser.write('hello'.encode('utf-8')). The communication port returns this ░:: and then goes to a newline.

Any help would be very welcome.
Couple of thoughts:

1. Are you able to decode UTF-8 correctly and why not use ASCII?
2. Stop bits? Data bits? Flow control?
3. How are you deriving your clock for the serial on the Arduino?
4. Which equipment is setup for DTE and which DCE?

Know nothing about serial hides the Trellis modems under the couch.

Last edited by techhelpbb : 05-04-2016 at 17:59.
Reply With Quote