Go to Post Like a typical sport or game played, students and other teams should want to beat the team on the field and not anywhere else - rcmolloy [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 03-02-2010, 14:36
Gamer930's Avatar
Gamer930 Gamer930 is offline
Team 930 and 171 Alumni
AKA: Justin
no team
Team Role: Alumni
 
Join Date: Mar 2002
Rookie Year: 2002
Location: New Berlin, WI
Posts: 388
Gamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to beholdGamer930 is a splendid one to behold
PSOC Understanding

We are just trying to figure out the pinout to our code and exactly how that works with the PSOC Board. . . After looking at all of my known resources I could not find any examples.

We are looking at hooking up a Potentometer, couple 2 position switches, and couple LEDs.

We hooked up the PSOC board to the classmate and downloaded the FRC_v2.hex file using the PSOC programmer and it shows the green light on the Dashboard of driver mode.

Looking at the pinout of the Cypress PSOC board on http://www.usfirst.org/roboticsprogr....aspx?id=10934 I miss where you set if its a digital output or digital input?? Is this set in Windriver? (we are using C++). (I also see the documentation at http://www.cypress.com/?rID=38235)

Can someone post an example on how to hookup and program an analog, digital output, digital input to PSOC Board.

I THINK. . .
Analog 1 is P0_0 and value can be retrieved from driverstation->GetAnalogIn(1)
Digital Input 1 is P4_4 and value can be retrieved from driverstation->GetDigitalIn(1)
Digital Out = ?!?!?! do you have to designate that digital channel 2 (P4_5) is out somewhere??

I just don't want to start hooking switches, LEDs, and pots up without knowing the hardware ahead of time :-)
__________________
2010 to Present, Scorekeeper/Field Power Volunteer for FRC/FTC/FLL
2005 - 2010, Team 171 College Mentor
2002 - 2005, Team 930 Student
Reply With Quote
  #2   Spotlight this post!  
Unread 03-02-2010, 15:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,846
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: PSOC Understanding

You can change the pin setting from the Driver Station IO tab.
On the tab click the "Configure..." button (bottom left).
The matching pin identifiers are there, too.

On the popup select Enhanced, choose your pin settings and OK.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
PSOC Interface Card Lafleur Technical Discussion 4 09-02-2010 13:26
PSoC black magic nathanww FRC Control System 2 23-01-2010 21:41
Understanding blob size Bomberofdoom Programming 5 03-02-2007 18:37
Memorandum of Understanding (MOU) KathieK Team Organization 0 03-01-2007 12:43
Understanding engineers Katie Reynolds Chit-Chat 0 27-02-2004 18:04


All times are GMT -5. The time now is 16:57.

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