Go to Post No, I've never done 3D programming before, but I'm young and naive, so I still think I can do it. ;) - Ryan M. [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2010, 23:37
PortugazD.Ace's Avatar
PortugazD.Ace PortugazD.Ace is offline
Registered User
AKA: Timothy Gonzales
FRC #1165 (Team Paradise)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Arizona
Posts: 46
PortugazD.Ace is an unknown quantity at this point
Programming the PSoC

Does anyone have any idea how to program the PSoC from the kit of parts. Or how to use it? If anyone has any information on the matter, please post.
  #2   Spotlight this post!  
Unread 17-01-2010, 23:45
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Programming the PSoC

Quote:
Originally Posted by PortugazD.Ace View Post
Does anyone have any idea how to program the PSoC from the kit of parts. Or how to use it? If anyone has any information on the matter, please post.
You can use it in one of two ways (or both I guess if you buy another one)...

It can be used on the classmate Driver Station to provide access to custom I/O such as buttons, knobs, LEDs, etc on your driver console. You must use the official provided firmware if you wish to use it this way.

It can also be used on the robot in any custom way you choose (i.e. a sensor interface for any special sensors you decide to use). You must make your own design and firmware for it in this use case. The easiest way to interface it with the cRIO is probably with I2C, though there are many other ways that are possible.
  #3   Spotlight this post!  
Unread 17-01-2010, 23:47
PortugazD.Ace's Avatar
PortugazD.Ace PortugazD.Ace is offline
Registered User
AKA: Timothy Gonzales
FRC #1165 (Team Paradise)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Arizona
Posts: 46
PortugazD.Ace is an unknown quantity at this point
Re: Programming the PSoC

custom firmware???? Umm, can you put that in plain english?
  #4   Spotlight this post!  
Unread 18-01-2010, 00:03
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Programming the PSoC

The PSoC board has a processor and some reconfigurable mixed-signal logic fabric on board. Basically, you would need to write your own code to run on the board if you use it on the robot.

The expected use case for 99% of teams is that it will be used with the driver station to wire up buttons.
  #5   Spotlight this post!  
Unread 18-01-2010, 08:14
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: Programming the PSoC

Quote:
Originally Posted by jhersh View Post
The PSoC board has a processor and some reconfigurable mixed-signal logic fabric on board. Basically, you would need to write your own code to run on the board if you use it on the robot.

The expected use case for 99% of teams is that it will be used with the driver station to wire up buttons.
Are we allowed to write our own code for it? I was under the impression that we had firmware given to use by FIRST that we had to use. Didn't see anything in the rules about it.
  #6   Spotlight this post!  
Unread 18-01-2010, 10:01
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,548
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Programming the PSoC

Quote:
Originally Posted by Geek 2.0 View Post
Are we allowed to write our own code for it? I was under the impression that we had firmware given to use by FIRST that we had to use. Didn't see anything in the rules about it.
See <R60N>
  #7   Spotlight this post!  
Unread 18-01-2010, 12:32
Geek 2.0 Geek 2.0 is offline
Registered User
FRC #0107
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2008
Location: Holland, MI
Posts: 120
Geek 2.0 will become famous soon enough
Re: Programming the PSoC

Quote:
Originally Posted by Joe Ross View Post
See <R60N>
...How can the FirstTouch NOT be used as a part of the Operator Console?
  #8   Spotlight this post!  
Unread 18-01-2010, 12:39
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Programming the PSoC

Quote:
Originally Posted by Geek 2.0 View Post
...How can the FirstTouch NOT be used as a part of the Operator Console?
It can be used on the robot as a piece of custom electronics. In that case, you are allowed to reprogram it as you see fit.
  #9   Spotlight this post!  
Unread 18-01-2010, 16:26
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Programming the PSoC

Didn't I say all this yesterday? ...in the second post?
  #10   Spotlight this post!  
Unread 21-01-2010, 18:46
PortugazD.Ace's Avatar
PortugazD.Ace PortugazD.Ace is offline
Registered User
AKA: Timothy Gonzales
FRC #1165 (Team Paradise)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Arizona
Posts: 46
PortugazD.Ace is an unknown quantity at this point
Re: Programming the PSoC

BTW, how would I connect it via I2C?
  #11   Spotlight this post!  
Unread 21-01-2010, 23:59
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Programming the PSoC

Quote:
Originally Posted by PortugazD.Ace View Post
BTW, how would I connect it via I2C?
If using it on the robot, you just pick two of the pins, map them to an I2C peripheral in the PSoC and then wire it up to a digital sidecar.
  #12   Spotlight this post!  
Unread 23-01-2010, 10:30
PortugazD.Ace's Avatar
PortugazD.Ace PortugazD.Ace is offline
Registered User
AKA: Timothy Gonzales
FRC #1165 (Team Paradise)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Arizona
Posts: 46
PortugazD.Ace is an unknown quantity at this point
Re: Programming the PSoC

Wha????
  #13   Spotlight this post!  
Unread 23-01-2010, 20:33
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Programming the PSoC

If you didn't understand any of that, you probably shouldn't try anything so advanced just yet. You can work on programming the board in the off-season if you like.
  #14   Spotlight this post!  
Unread 30-01-2010, 20:39
PortugazD.Ace's Avatar
PortugazD.Ace PortugazD.Ace is offline
Registered User
AKA: Timothy Gonzales
FRC #1165 (Team Paradise)
Team Role: Student
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Arizona
Posts: 46
PortugazD.Ace is an unknown quantity at this point
Re: Programming the PSoC

Thanks for the encouragement. |(
  #15   Spotlight this post!  
Unread 30-01-2010, 22:24
Jason Law's Avatar
Jason Law Jason Law is offline
Team Captain
FRC #2834 (Bionic Barons)
Team Role: Mechanical
 
Join Date: Jan 2008
Rookie Year: 2008
Location: Michigan
Posts: 92
Jason Law is just really niceJason Law is just really niceJason Law is just really niceJason Law is just really niceJason Law is just really nice
Re: Programming the PSoC

Hi -

From the past few posts, I am under the impression that I do not need to connect or do anything with the PSoC board if we choose not to use it for any of the above things. Is that correct? In other words, I am asking if it is required to be used and connected to the Classmate PC. I read the control system documentation and did not see anywhere that it said that I needed it. Please tell me if my interpretation of these things are correct.

Thanks.
Closed Thread


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
Programming the IR Pi Boy Sensors 3 21-01-2008 15:47
Programming the vex microcontroller to respond to commands on the serial port crashoverride02 Programming 1 20-10-2006 14:17
Programming The CMUcam for the Vex controller 987HighRoller Programming 3 24-06-2006 15:27
Programming the IR James Hine Programming 1 10-03-2004 14:08


All times are GMT -5. The time now is 21:27.

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