Go to Post With three robots, I was expecting better scores but I guess more robots means more penalties, not more points. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 12-22-2016, 12:43 PM
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 230
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
navX Micro I2C voltage and Roborio

I been digging around the documentation. The navX is a 5v board and the RoboRIO Onboard I2C Interface is 3.3v http://pdocs.kauailabs.com/navx-micr...-installation/. The MXP-Expansion I2C ports seem to be 5vdc. Should I understand this to mean we should use the MXP-Expansion I2C interface?

reading on at the bottom of the page
Quote:
Electrical Notes

The I2C bus standard requires that the SDA and SCL pins be pulled up with a pull-up resistor on each line. The RoboRIO internally pulls these lines high – but if connecting to a host computer without pullups, the SDA and SCL lines will need 1.5KOhm pullups.

The navX-Micro I2C pins are 5V tolerant, so the host computer can use either 5V or 3.3V DC levels on these pins.
I read this as the SDA and SCL lines are 5v tolerant. Dose the 5v pin and the NavX Micro still NEED 5v?

Then even this page suggest using the USB preferably.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-22-2016, 02:51 PM
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 111
aeastet is an unknown quantity at this point
Re: navX Micro I2C voltage and Roborio

We at Kauai Labs are launching the USB support for all languages for the kickoff. It is a much fast interface and that would be the preferable method.

The maximum sample rate for the I2C is 50Hz for the micro through the I2C port. The maximum sample rate for the USB will be 200Hz for the USB. You will need the firmware for version 3 and the new libraries to accomplish this.

I hope this helps,

Tim
Reply With Quote
  #3   Spotlight this post!  
Unread 12-22-2016, 11:12 PM
aeastet aeastet is offline
Programming Mentor
AKA: Tim Easterling
FRC #6043 (Allegan Tigers Robotics)
Team Role: Coach
 
Join Date: Jan 2015
Rookie Year: 2011
Location: Holland, MI
Posts: 111
aeastet is an unknown quantity at this point
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by aeastet View Post
We at Kauai Labs are launching the USB support for all languages for the kickoff. It is a much fast interface and that would be the preferable method.

The maximum sample rate for the I2C is 50Hz for the micro through the I2C port. The maximum sample rate for the USB will be 200Hz for the USB. You will need the firmware for version 3 and the new libraries to accomplish this.

I hope this helps,

Tim
I talked with Scott earlier and he informed me that the TTL UART connection is the only connection with a 50Hz limitation. To be clear any connection for the navX-micro or navX-MXP should be capable of 200Hz sample rate with the version 3 firmware and the new libraries launching soon.

Sorry for any confusion.

Tim
Reply With Quote
  #4   Spotlight this post!  
Unread 12-29-2016, 12:47 AM
cpapplefamily cpapplefamily is offline
Registered User
FRC #3244 (Granite City Gearheads)
Team Role: Mentor
 
Join Date: May 2015
Rookie Year: 2015
Location: Minnesota
Posts: 230
cpapplefamily has a spectacular aura aboutcpapplefamily has a spectacular aura about
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by aeastet View Post
We at Kauai Labs are launching the USB support for all languages for the kickoff. It is a much fast interface and that would be the preferable method.

The maximum sample rate for the I2C is 50Hz for the micro through the I2C port. The maximum sample rate for the USB will be 200Hz for the USB. You will need the firmware for version 3 and the new libraries to accomplish this.

I hope this helps,

Tim
So USB is not supported yet using the 2016 libraries currently available?
Reply With Quote
  #5   Spotlight this post!  
Unread 12-29-2016, 09:55 AM
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 334
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by cpapplefamily View Post
So USB is not supported yet using the 2016 libraries currently available?
In 2016, USB was not supported by the FRC WPI Library (there was a bug in the underlying RoboRIO support). This particular bug has been resolved in the 2017 firmware which will be released on January 7.

I2C works very well, and works w/today's 2016 FRC libraries/RoboRIO firmware.

Summary:

- If using navX-Micro up with 2016 (old) FRC software/firware, use I2C at least until January 7
- If using the 2017 FRC beta software firmware, USB is available now

- scott
Reply With Quote
  #6   Spotlight this post!  
Unread 12-22-2016, 03:21 PM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,493
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: navX Micro I2C voltage and Roborio

The navX has both 5V and Vcc input voltage pins. The internal power for the navX is apparently 3.3V, based on the labeling of the power LED. While I cannot find this documented anywhere, it appears possible that the navX can be powered using 5V on the 5V pin, or using 3.3V on the Vcc pin. If I were planning to do this, I would join the navX forum and ask the engineers how and if you can power this $100 board using 3.3v.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #7   Spotlight this post!  
Unread 12-22-2016, 04:39 PM
rlance rlance is offline
Registered User
FRC #5550
 
Join Date: Dec 2015
Location: Bethany, OK
Posts: 19
rlance is an unknown quantity at this point
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by GeeTwo View Post
The navX has both 5V and Vcc input voltage pins. The internal power for the navX is apparently 3.3V, based on the labeling of the power LED. While I cannot find this documented anywhere, it appears possible that the navX can be powered using 5V on the 5V pin, or using 3.3V on the Vcc pin. If I were planning to do this, I would join the navX forum and ask the engineers how and if you can power this $100 board using 3.3v.
On the navX web-site it states that the USB connection to the Roborio will provide the power needed for the navX-micro.

http://pdocs.kauailabs.com/navx-micr...-installation/
Reply With Quote
  #8   Spotlight this post!  
Unread 12-22-2016, 07:02 PM
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 334
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by GeeTwo View Post
this $100 board
navX-Micro is $79 at the KauaiLabs store.
Reply With Quote
  #9   Spotlight this post!  
Unread 12-22-2016, 06:52 PM
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 334
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: navX Micro I2C voltage and Roborio

Quote:
Originally Posted by cpapplefamily View Post
Dose the 5v pin and the NavX Micro still NEED 5v?
The navX-Micro can be powered successfully even with 3.3V on the "5V" pin on the I2C connector, as long as it's really 3.3V.

The processor runs down to 1.7V, and the MPU-9250 runs down to 2.4V.

The navX-Micro has a voltage regulator with a max voltage drop of 725 mV.

So, when 3.3V is applied, the lowest output voltage will be 3.3 - .725 = 2.575.

The remaining headroom in the worst case is 2.575 - 2.4 = 175mV.

As long as you're OK w/that headroom, this configuration works.

NOTE: If you're getting power from the RoboRIO, be aware that if a stage 2 brownout occurs, the RoboRIO will remove power from the 3.3V "user" rail. For this reason, it's highly recommend to connect a USB cable to navX-Micro (if only as a backup power supply). navX-Micro - like navX-MXP - has a dual power supply input, and the RoboRIO USB ports provide 5VDC from a buck/boost regulator that continues generating current even during a stage 2 brownout. Please see the navX-Micro Best Practices for more details.
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 07:54 PM.

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