Go to Post [when asked where to learn about robot parts] ...some forum called Chief Delphi. I hear the people there are pretty knowledgeable about this robotics thing. - EricH [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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-2013, 02:07 AM
Zaque Zaque is offline
FF: Bobo Brigade
AKA: Zachary H.
FRC #3352 (Flaming Monkeys)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2013
Location: Belvidere, Illinois
Posts: 91
Zaque has a spectacular aura aboutZaque has a spectacular aura aboutZaque has a spectacular aura about
Help getting started with Arduino

Hi,

One of our mentors has several Arduinos he has made available for us to use this year. So far, my ideas for use have been limited to controlling LEDs. Towards this goal, I was wondering what the best way is to get data, specifically the getAllianceColor data, to the Arduino. I have thought about using the serial port, but I am not sure how to implement this in the robot Java code. Any other methods, or any step by step tutorial would be greatly appreciated.

Thanks in advance,
Zach
__________________
Zaque (Zach) H.
President
Programming/Electrical Lead
Reply With Quote
  #2   Spotlight this post!  
Unread 12-22-2013, 10:04 AM
BigJ BigJ is offline
Registered User
AKA: Josh P.
FRC #1675 (Ultimate Protection Squad)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Milwaukee, WI
Posts: 943
BigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond reputeBigJ has a reputation beyond repute
Re: Help getting started with Arduino

When we did this last year, we wired one of the pins on the Arduino board to one of the DSC Digital I/O signal pins, then had the robot code use that DSC pin as a digital out, outputting the data we wanted to read (in your case, the alliance color).
Reply With Quote
  #3   Spotlight this post!  
Unread 01-13-2014, 08:45 AM
yelk11 yelk11 is offline
Registered User
FRC #3414
 
Join Date: Jan 2012
Location: farmington
Posts: 27
yelk11 is an unknown quantity at this point
Re: Help getting started with Arduino

You could have a simple switch, and before the match just switch it depending on your alliance colors.
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 09:02 AM.

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