Go to Post Picking up tetra's is going to be as easy as picking up a person of the opposite sex. While a select few will master it; others will be bumbling maroons.. - Elgin Clock [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
  #6   Spotlight this post!  
Unread 23-02-2010, 14:05
heydowns's Avatar
heydowns heydowns is offline
Registered User
AKA: Jeff Downs
FRC #1511 (Rolling Thunder)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Ra-Cha-Cha
Posts: 142
heydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond reputeheydowns has a reputation beyond repute
Re: Analog Out on the Cypress PSoC (enhanced modeO

Quote:
Originally Posted by EricVanWyk View Post
Ooh Ooh! What are you planning on doing with them?

If you find something cool I'll win a bet, so please do tell!
We used an analog output to drive an LED-based "bargraph". The higher the analog output, the higher the bars climb.
We use it to give our driver feedback of the current "kick strength" of our kicking mechanism.
The display is kind of small, but it is fun to watch it go depleted when fired, then climb back up to the driver's chosen power level/strength.

For the OP - we use C++ Enhanced IO class to drive this. It works great.

Here's a picture of the nearly-finished board (unpowered, sadly) - the strength meter is the rectangular white-ish object in the top middle, underneath the left-edge of the large white oval-shaped device (that's a cap-touch based slider used by the driver to set the kick strength).

http://rollingthunder.smugmug.com/20...65_HzTsD-M.jpg

Hope you can win your bet one way or another
 


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
LEDs on the Cypress PSoC mcbean Programming 4 21-02-2010 15:55
Programming the Psoc railerobotics Technical Discussion 5 18-02-2010 10:10
Analog Input tied to Accelerometer on Cypress offramp13 FRC Control System 2 05-02-2010 02:40
Programming the PSoC PortugazD.Ace Programming 19 31-01-2010 13:14
Cypress PSoc Programmer Port Selection problem Steven_585 FRC Control System 2 23-01-2010 23:06


All times are GMT -5. The time now is 23:06.

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