Go to Post Quitting FIRST was so hard that I felt like I needed a 12 steps program to help me through it. - Ken Leung [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-02-2015, 17:10
Michael U Michael U is offline
Programmer
FRC #2980
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2012
Location: Oak Harbor WA.
Posts: 15
Michael U is an unknown quantity at this point
Serial Open Modifications for Nav6

Our team is using the nav6 and yesterday we tried to connect to and use the data from the nav6. Naturally, things did not go smoothly. In the end, we realized their was no option on the "Serial Open" vi that allowed connection via USB to serial adapter. We ended up changing "Serial Open" to allow the new serial port and wanted to share it with the rest of the first community. I have attached both a "drop in" replacement for USB serial capabilities, and a PDF chronicling what was changed.

nav6serial.pdf

WPI_SerialPortOpen.vi
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2015, 17:27
wt200999's Avatar
wt200999 wt200999 is offline
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Serial Open Modifications for Nav6

Any reason you did not want to use the RS-232 connector on the roboRIO?
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2015, 18:25
Michael U Michael U is offline
Programmer
FRC #2980
Team Role: Programmer
 
Join Date: May 2013
Rookie Year: 2012
Location: Oak Harbor WA.
Posts: 15
Michael U is an unknown quantity at this point
Re: Serial Open Modifications for Nav6

Yes, we used a USB to serial connector because:
  1. Kauaui Labs (maker of nav6) recommends it
  2. We would need to make a custom connector for the roboRIO (we have never had success with custom connectors)
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2015, 19:38
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Re: Serial Open Modifications for Nav6

Quote:
Originally Posted by Michael U View Post
Yes, we used a USB to serial connector because:
  1. Kauaui Labs (maker of nav6) recommends it
  2. We would need to make a custom connector for the roboRIO (we have never had success with custom connectors)

Our team uses the Nav6 (but with C++).

We do not use a USB adapter - less electronics and cables flopping around inside the robot. And less protocol overhead of dealing with USB vs usually a simple bit engine inside a processor for RS232 (amount of overhead for USB could be irrelevant - I did not do any involved analysis).

I didn't want a massive DB9 cable either, so we chopped a PWM cable down to 3 inches and soldered directly to the backside of the DB9 connector on the Nav6. (Note to reader - that would usually void a warranty). I considered removing the DB9 entirely, but figured it wasn't hurting anything or getting in the way, and could be useful later).

One of the students also designed and then 3D printed a RoboRio to Nav6 adapter plate. The Nav6 is now bolted in the middle of the RoboRio with just a tiny 3wire, 3 inch cable to the RS232 port.

It works and is very sleek. We can share details or files if anyone is interested.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:29.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi