Go to Post I don't know how you can blame a robot getting stuck in the goal on the GDC. The field drawings showed all of the dimensions of the goals. If a team doesn't want to risk getting stuck then they need to plan around it. - JamesBrown [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 19-02-2014, 21:48
MikeE's Avatar
MikeE MikeE is offline
Wrecking nice beaches since 1990
no team (Volunteer)
Team Role: Engineer
 
Join Date: Nov 2008
Rookie Year: 2008
Location: New England -> Alaska
Posts: 381
MikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond reputeMikeE has a reputation beyond repute
Re: Connecting a Arduino to a cRio to control LEDs

Quote:
Originally Posted by billbo911 View Post
We "communicate" with it by simply using the digital inputs on the Arduino connected to digital outputs on the DSC.
The Arduino code just looks at the state of the digital inputs and runs the code associated with their state(s).
The Digital Outputs from the cRio (DSC) are boolean outputs, either HIGH or LOW.
Last year we also used digital outputs from the DSC for state and PWM outputs from the DSC to transmit continuous values. The continuous values allowed us to display wheel speed as a moving bar graph on LED strips attached to the robot. It was also a handy visual to verify that the encoders were working.
The Arduino code is on our Google Code repository

Last edited by MikeE : 19-02-2014 at 21:53. Reason: grammah
 


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 02:35.

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