Go to Post When mentors and students battle it's the team that loses. - Koko Ed [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
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-06-2014, 11:18
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: [FTC]: What is the reason teams are not allowed to connect Arduino directly to NX

[quote=Hot Wired;1388080]What is the reason teams are not allowed to connect Arduino directly to NXT?

This is my opinion, and is worth what you paid for it

The three most common reasons for requiring/not-allowing something in the general rules would have to be:

1) Safety
2) Level playing field
3) Smooth running of matches.

As far as adding something directly to the NXT's I2C, I would suspect that it could be a real problem for #3.

As someone who has spent A LOT of time debugging the I2C communications between the NXT and the DC Motor controllers (4 years), I would predict that any additional load on the NXT's I2C bus would have a very negative effect on the reliability of the motor/servo system currently in place. Plus, that additional traffic would increase driver latency, and would be totally unknown to the FTA and thus very hard to predict it's impact.

This would inevitably lead to failed autonomous runs, robot lags, NXT lockups and several other events that will be attempted to be blamed on the FCS.

Each season, subtle changes have been made to the internals of the I2C interface in an attempt to mitigate these problems, but it's clear to me that the NXT is barely keeping up with the processing requirements.

The good news is that the EV3 seems to be much more capable of having errorless I2C communications, so I eagerly await the day we can use it's more powerful processor.
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor
Reply With Quote
  #2   Spotlight this post!  
Unread 30-06-2014, 15:43
skatefriday skatefriday is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Los Angeles
Posts: 38
skatefriday is an unknown quantity at this point
Re: [FTC]: What is the reason teams are not allowed to connect Arduino directly to NX

Last year our team used an Atmel ATMega328 with the Arduino
boot loaded burned onto it and powered it from the Hitechnic
protoboard.

Note that there's nothing in the rules that states you can't
use an Arduino, you just need to make sure you don't draw
too much current from the protoboard and of course off the
shelf Arduinos draw way too much current. Using a barebones
ATMega328 and running at a slow clock speed, we were able
to get power draw down to 4mA, from 25mA+ in a full Arduino.

Google low-power arduino for more information.

On the subject of I2C interfaces the NXT communicates
with the protoboard over I2C, but the protoboard has no
native support for assuming the master role and hence
can't act as the master to an Arduino slave out of
the box.

Theoretically, you should be able to bitbang from the
protoboard to the Arduino and I have that on my list of
things to work on if I ever get any free time for that sort
of thing. But until then, you are limited as to the
amount of communication you can do.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-06-2014, 20:14
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 921
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
Re: [FTC]: What is the reason teams are not allowed to connect Arduino directly to NX

Quote:
Originally Posted by skatefriday View Post
Last year our team used an Atmel ATMega328 with the Arduino
boot loaded burned onto it and powered it from the Hitechnic
protoboard.
What did you use it for?
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 6323 The Pink TeamMentor
FTC 8996 Pink Fluffy BunniesMentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
Reply With Quote
  #4   Spotlight this post!  
Unread 01-07-2014, 18:55
skatefriday skatefriday is offline
Registered User
no team
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2011
Location: Los Angeles
Posts: 38
skatefriday is an unknown quantity at this point
Re: [FTC]: What is the reason teams are not allowed to connect Arduino directly to NX

Quote:
Originally Posted by Andrew Rudolph View Post
What did you use it for?
Functional lights. Lots of teams had decorative LED light strips
this year. Our light strips gave visual feedback to the drivers
to indicate various robot states, game status, etc... e.g. Not
just pretty lights.

We had about a dozen different patterns we could display.
One of the most useful was an internal timer kept by the
NXT that tracked when the end game started and when
there was 10 seconds left in the game. So the drivers could
focus on the field and not on the clock.
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 12:45.

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