Go to Post Thank you to all of the mentors, You ARE changing the future. - chellyzee93 [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-02-2006, 11:20
Tazlikesrobots's Avatar
Tazlikesrobots Tazlikesrobots is offline
Jack of all trades...Master of none
AKA: Robert
FRC #1745 (P-51 Mustangs)
Team Role: Coach
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Rowlett, Texas
Posts: 205
Tazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud of
Send a message via Yahoo to Tazlikesrobots
Question Using Easy C to program the camera.


Our team's knowledge of C is very limited, so we are using Easy C to get our code running. We got the camera wired to the RC and added the camera values to the code, but we are not sure how to get the camera to track. So far this is what we have done.

1. Attached the camera power to an unused PWM
2. Charged and connected the backup battery to the RC
3. Connected the TTL-232 chip to the RC and connected the cable to the camera
4. Imported the configuration code from lab view into Easy C as instructed by this document (http://www2.usfirst.org/2006comp/oth...with_easyC.pdf)

Also we are not sure about the pan and tilt servos. Currently they are connected to the camera module, but some posts suggest that the servos are connected to PWM outputs on the RC.

Has anyone been able to get the camera running using Easy C? If so, could you lend some assistance?

Thanks!
__________________
It is all mind over matter....If you don't mind, it does not matter.
_________________
2006 Woodie Flowers Award Recipient - Lone Star Regional
2006 Rookie All-Star - Lone Star Regional
2007 Lone Star Regional Champions
2008 Quarter-finalist - Lone Star Regional
2009 Chairman's Award & Website Award - Dallas Regional
2009 Quarter-finalist - Dallas Regional
2010 - Xerox Creativity Award & Semi-finalist - Dallas Regional
  #2   Spotlight this post!  
Unread 17-02-2006, 15:54
Tazlikesrobots's Avatar
Tazlikesrobots Tazlikesrobots is offline
Jack of all trades...Master of none
AKA: Robert
FRC #1745 (P-51 Mustangs)
Team Role: Coach
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Rowlett, Texas
Posts: 205
Tazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud of
Send a message via Yahoo to Tazlikesrobots
Re: Using Easy C to program the camera.

Quote:
Originally Posted by Tazlikesrobots

Our team's knowledge of C is very limited, so we are using Easy C to get our code running. We got the camera wired to the RC and added the camera values to the code, but we are not sure how to get the camera to track. So far this is what we have done.

1. Attached the camera power to an unused PWM
2. Charged and connected the backup battery to the RC
3. Connected the TTL-232 chip to the RC and connected the cable to the camera
4. Imported the configuration code from lab view into Easy C as instructed by this document (http://www2.usfirst.org/2006comp/oth...with_easyC.pdf)

Also we are not sure about the pan and tilt servos. Currently they are connected to the camera module, but some posts suggest that the servos are connected to PWM outputs on the RC.

Has anyone been able to get the camera running using Easy C? If so, could you lend some assistance?

Thanks!
When all else fails! Press F1 and you'll have an answer.....
__________________
It is all mind over matter....If you don't mind, it does not matter.
_________________
2006 Woodie Flowers Award Recipient - Lone Star Regional
2006 Rookie All-Star - Lone Star Regional
2007 Lone Star Regional Champions
2008 Quarter-finalist - Lone Star Regional
2009 Chairman's Award & Website Award - Dallas Regional
2009 Quarter-finalist - Dallas Regional
2010 - Xerox Creativity Award & Semi-finalist - Dallas Regional
  #3   Spotlight this post!  
Unread 17-02-2006, 16:39
pi_guy578 pi_guy578 is offline
Programmer/Electrician
AKA: Jake
FRC #0578 (Blue Lightning)
Team Role: Programmer
 
Join Date: Jan 2004
Rookie Year: 2004
Location: Fairport
Posts: 48
pi_guy578 has a spectacular aura aboutpi_guy578 has a spectacular aura about
Send a message via AIM to pi_guy578
Re: Using Easy C to program the camera.

I tried EasyC with the camera, and I failed miserably. I found a bug in EasyC, and I could never get the camera to start tracking. "Hard" C was easier to use with the camera, especially with Kevin's code. EasyC is good for the general purpose stuff, but when you get into the more advanced stuff it just doesn't cut it.

--Jake
  #4   Spotlight this post!  
Unread 18-02-2006, 00:54
Stuart's Avatar
Stuart Stuart is offline
#include coffee.h
FRC #1745 (P51- Mustangs)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Dallas, TX
Posts: 414
Stuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond reputeStuart has a reputation beyond repute
Send a message via AIM to Stuart
Re: Using Easy C to program the camera.

btw you can get it working with Easy C . . you just have to start from something that works and build from that
__________________
Proud mentor of Team #1745 the P-51 Mustangs

If at first it doesn't work, use a hammer.
If that doesn't work, use a bigger hammer.
  #5   Spotlight this post!  
Unread 19-02-2006, 12:09
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,277
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Using Easy C to program the camera.

Get in contact with team 40 (pm one of their members on here) THey are supported by intelletek and one of their programming mentors was involved in developing easy c for FRC purposes and for camera use more specifically.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #6   Spotlight this post!  
Unread 19-02-2006, 21:33
Tazlikesrobots's Avatar
Tazlikesrobots Tazlikesrobots is offline
Jack of all trades...Master of none
AKA: Robert
FRC #1745 (P-51 Mustangs)
Team Role: Coach
 
Join Date: Feb 2003
Rookie Year: 2000
Location: Rowlett, Texas
Posts: 205
Tazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud ofTazlikesrobots has much to be proud of
Send a message via Yahoo to Tazlikesrobots
Re: Using Easy C to program the camera.

Thanks! We actually found a little gem hidden in the tutorials for Easy C. Tutorial #7 walks you through setting up the camera to follow the light. With a little creativety we've managed to get our camera online....
__________________
It is all mind over matter....If you don't mind, it does not matter.
_________________
2006 Woodie Flowers Award Recipient - Lone Star Regional
2006 Rookie All-Star - Lone Star Regional
2007 Lone Star Regional Champions
2008 Quarter-finalist - Lone Star Regional
2009 Chairman's Award & Website Award - Dallas Regional
2009 Quarter-finalist - Dallas Regional
2010 - Xerox Creativity Award & Semi-finalist - Dallas Regional
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
2-week FIRST summer program @ WPI ColleenShaver General Forum 20 31-05-2009 03:02
CMUCam, Easy C, and Labview JJMax7 Programming 28 07-02-2007 22:20
Camera shows no love to drive motors anifinder Programming 4 13-02-2006 10:31
Servos controlling camera and purple screen ryan_f Programming 6 17-01-2006 23:21
Camera Help (New to Camera Programming) Idaman323 Programming 6 14-01-2006 03:56


All times are GMT -5. The time now is 01:33.

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