Go to Post Corndog is the new water game. - Basel A [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 08-11-2007, 12:45
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Unhappy cmucam1

hi everyone,
sorry if ask for the old question....
i'm newbies in cmu cam field....
actually, i haven't enough budget to develop my final project....
at least this cam can be able me to play with the vision camera.....
how to use gui software for this kind of camera?
anyone can help me....
  #2   Spotlight this post!  
Unread 10-11-2007, 06:59
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

anyone wouldn't help???
give me some guide please....
  #3   Spotlight this post!  
Unread 10-11-2007, 16:43
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: cmucam1

What are you trying to do with the cmucam?

Are you trying to get it to track a light?
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #4   Spotlight this post!  
Unread 11-11-2007, 09:02
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

i want to track the ping pong ball.....so i want it know that a ping pong ball....the ball yellow coloured...
  #5   Spotlight this post!  
Unread 11-11-2007, 13:57
steve d steve d is offline
Registered User
FRC #1277
 
Join Date: Jan 2007
Location: Groton, ma
Posts: 38
steve d is an unknown quantity at this point
Re: cmucam1

You can use the CMUcam in just about any project.
1) The big 9 pin D shaped connector can hook up to the serial port of a PC and you can send and recieve command and data using Hyperterminal, (in Windows-Programs- Accesories-Communications) or another terminal program,like TerraTerm.
2) You hook up like in 1), but use a GUI, try the IFIRobotics page for the camera. Go here and download "CAM2 Getting Starting". Everything you need is there including the manual.
3 Use the TTL port connector, black 4 female pins next to 9 pin D connector.
Use this port to talk to it with another uController. I use a BasicStamp to cause it to track a blue light. This port talks serial at a baud rate set by jumpers on the CMUcam (top row of male pins, look in manual for setting).

Basicly, once the camera is initalized, giv it a "TC" command with teh RrdBluGreen values to track, and it will send back a packet, telling you where the target is located, x & y, in it's field of view. You can use those values to move the robots drive motors untill the target is centered.
  #6   Spotlight this post!  
Unread 11-11-2007, 15:00
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

emmm... i will try out your step....
but i wonder, could be cmucam2 gui is appropriate with my cmucam version 1...
if could, what type of suitable packet to use?
  #7   Spotlight this post!  
Unread 12-11-2007, 00:57
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: cmucam1

Im confused. Are you using the CMU cam for your robot, or for a side project?
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #8   Spotlight this post!  
Unread 12-11-2007, 17:38
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: cmucam1

I don't think he's on a robotics team, so technically it's not a side project

neroc: Search the forums, read the manuals. If you can't get it working, post very specific questions which we can answer.

One question from me to you, are you using a programming environment such as EasyC or MPLAB?

Need.. More.. Info...

-Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #9   Spotlight this post!  
Unread 12-11-2007, 18:24
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

i'm using MPLAB IDE....
ok i will find out my specific problem....
but i'm still blur whether all technique in cmu version 2 could be implement to cmu version 1?
  #10   Spotlight this post!  
Unread 12-11-2007, 21:47
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: cmucam1

ok.. cmucam1... are u talking about the older version ... newer version....is this even from ifi robotics KOP?? or did u just buy it off ebay?
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #11   Spotlight this post!  
Unread 12-11-2007, 22:08
steve d steve d is offline
Registered User
FRC #1277
 
Join Date: Jan 2007
Location: Groton, ma
Posts: 38
steve d is an unknown quantity at this point
Re: cmucam1

Actually, I think software-wise version1 and version are the same. The new, version 2 that came with last years kit, doesn't have all the connectors installed, but does have RS232 & TTL serial connectors.
  #12   Spotlight this post!  
Unread 16-11-2007, 11:22
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

yes the older version...that was make me dumb....
  #13   Spotlight this post!  
Unread 16-11-2007, 11:26
teh_pwnerer795 teh_pwnerer795 is offline
Registered User
AKA: !!Mitch!!
FRC #1392
Team Role: Programmer
 
Join Date: Nov 2006
Rookie Year: 2006
Location: Ajax, Canada
Posts: 142
teh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really niceteh_pwnerer795 is just really nice
Send a message via MSN to teh_pwnerer795 Send a message via Yahoo to teh_pwnerer795
Re: cmucam1

K just wondering..

the older version of the cmu cam isnt much different from the 2nd version. The only big difference is the pwm outputs. Someteams hooked these into their victor motors, and the robot went nuts and could not be turned off.

As with programming. There is no difference between the two. Both are programmable using the same language in MPLab.

What code are you using?
__________________
Great Art is Created; Master Pieces are Stolen

[n00b]Teh_Foxdonut teh_pwnerer795 - CounterStrike:Source
  #14   Spotlight this post!  
Unread 18-11-2007, 21:48
Nathan's Avatar
Nathan Nathan is offline
Registered User
FRC #1501 (Team T.H.R.U.S.T.)
Team Role: Alumni
 
Join Date: Sep 2006
Rookie Year: 2007
Location: United States
Posts: 149
Nathan has a spectacular aura aboutNathan has a spectacular aura aboutNathan has a spectacular aura about
Re: cmucam1

If you want to, you can get Kevin Watson's code for the CMU cam here: http://www.kevin.org/frc/

There's also tons of documentation on his site.

-Nathan
__________________
Save money with PriceWombat, a shopping comparison and price tracking tool (that I made!).

Check out my hobby electronics business!

My former robotics team: Huntington County 4-H Robotics
  #15   Spotlight this post!  
Unread 08-12-2007, 14:55
neroc neroc is offline
Registered User
no team
 
Join Date: Nov 2007
Location: MALAYSIA
Posts: 7
neroc is an unknown quantity at this point
Re: cmucam1

hallo everyone....
i'm back.....
i have the question about the command...
1. when send TW and then TC command it send back the M data packet, it's that ok using only one type data packet?
2. Where we can get the TC parameter which is the max/min value of red, blue,
green.
3.in my understanding the initial target of object only when the TW command is send, and it will only refer to the output of TW command as a reference to track the target. Am i correct?
4. Could someone tell me the alghoritm how the cmu operate when interface with PIC?

Last edited by neroc : 08-12-2007 at 15:00.
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


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

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