Author Topic: a hexapod that sees  (Read 5618 times)

0 Members and 1 Guest are viewing this topic.

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
a hexapod that sees
« on: October 05, 2007, 01:25:04 PM »
HEllo folks , im new here,, lookslike its a nice place to talk robots,,, right
i want to make a hexapod that has object recognition.
so i want to implement a camera ,,i want to know what kind of camera is good for such a project
im new to robot vision so i need some help with this
i want to build this using the micro 8051 as long as i know to program it with assembly language.
i would appreciate any idea
thanks
good ol' BeNNy

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
    • Roebotz
Re: a hexapod that sees
« Reply #1 on: October 05, 2007, 03:25:29 PM »
Two suggestions:

1.  Check out the tutorial on Robotic vision at Society of Robots (http://www.societyofrobots.com/programming_computer_vision_tutorial.shtml)
2.  Check out RoboRealm (http://www.roborealm.com)

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: a hexapod that sees
« Reply #2 on: October 05, 2007, 04:07:23 PM »
well thanks for providing these links i actually did read em
but they dont actually explain much about interfacing the camera with the microcontroller
know any website does it?
or maybe can i use a webcam instead of a digital cam?
good ol' BeNNy

Offline Steve Joblin

  • Supreme Robot
  • *****
  • Posts: 405
  • Helpful? 2
    • Roebotz
Re: a hexapod that sees
« Reply #3 on: October 05, 2007, 04:41:17 PM »
You don't attach a camera (or webcam) directly to a Microcontroller.  RoboRealm does the image processing on a PC.  Have you looked at the CMUcam?  The CMUcam has it's own processors that connect to a microcontroller.

Offline h3ro

  • Full Member
  • ***
  • Posts: 110
  • Helpful? 0
Re: a hexapod that sees
« Reply #4 on: October 05, 2007, 04:53:36 PM »
Have you looked at the CMUcam?  The CMUcam has it's own processors that connect to a microcontroller.

Sorry to pop in a noob question, but here it goes:
What kind of processing does the CMU camera do? Is all the image tracking/manipulation done for you (is it possible to modify/ change it?). What does the CMU output?

Edit:
Is it much harder to use a webcam over say CMU? I did a quick google, but could not find any specific info on how to use a webcam in a robot project (without using a pc)
« Last Edit: October 05, 2007, 05:01:53 PM by h3ro »

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: a hexapod that sees
« Reply #5 on: October 06, 2007, 04:55:31 AM »
yea thats what im talking about, i want to make my imaghe processing program inside the micro controller
say like shape recognition, i dont want to use a pc
somthing like interfacing a cmos camera into a microcontroller without a pc.
the camera just outputs information and i process it by the 8051 microcontroller and give commands to the servos to drive the robot. thats what im talking about
if anyone has info please help .....
good ol' BeNNy

paulstreats

  • Guest
Re: a hexapod that sees
« Reply #6 on: October 06, 2007, 10:02:12 AM »
its really just a case of finding out how the camera outputs its data, and then interpreting it on the mcu.
The real problem is memory requirements. A 256*256 pixel image with just 256 colours will take 512kb or 65,536*8bits.
most cameras have their own processor on board which exports either YUV24 or RGB24 data, you should look at how to convert this stream data into virtual image data

paulstreats

  • Guest
Re: a hexapod that sees
« Reply #7 on: October 06, 2007, 10:22:56 AM »
after thinking a bit more, i know the 8051 range are expandable externally, you would probably be better with a high end atmel mcu such as this
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4114
http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4175

these are evaluation boards with high end processors.

here is a link to a pdf which shows how to interface a cmucam1 to a pic16f877
http://www.mil.ufl.edu/imdl/papers/IMDL_Report_Fall_02/nagy_jeno/sensors.pdf
« Last Edit: October 06, 2007, 10:36:20 AM by paulstreats »

Offline dunk

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 1,086
  • Helpful? 21
    • dunk's robot
Re: a hexapod that sees
« Reply #8 on: October 06, 2007, 01:05:26 PM »
hi Benji,
have a look at the AVRcam to see how to go about interfacing a camera. it will give you some idea how much work is involved.
it's similar in concept to the CMUcam.
http://www.jrobot.net/Projects/AVRcam.html

dunk.

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: a hexapod that sees
« Reply #9 on: October 06, 2007, 01:55:31 PM »
well thank u people for the info but lookslike i want to build the CMUcam too, thats what i actually want
to interface the vision sensor to a ucontroler and in the same micro ill do some processing,
about the memory size im ok with a black and white camera with a small number of pixels cuz i dont want to complicate the program much cuz i program in assembly language.
is it that the OV6620 sensor is the most common?
ive heard also about the gameboy camera ,, anybody have comments about it? information about its output data and interfacing?

thnkyall
good ol' BeNNy

Offline airman00

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 3,650
  • Helpful? 21
  • narobo.com
    • Narobo.com - Mechatronics and related
Re: a hexapod that sees
« Reply #10 on: October 07, 2007, 06:17:14 AM »
hacking gameboy camera - http://www.geocities.com/SiliconValley/Park/1302/gbcam.html

heres a robot that uses the whole darn gameboy!



search around on google and you'll find more info
http://www.streettech.com/modules.php?op=modload&name=News&file=article&sid=489&mode=thread&order=0&thold=0
Check out the Roboduino, Arduino-compatible board!


Link: http://curiousinventor.com/kits/roboduino

www.Narobo.com

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: a hexapod that sees
« Reply #11 on: October 07, 2007, 01:12:08 PM »
For those you have never made a robot before, I just want to stress to back away from the cool stuff, and just work on the basics.

Save your computer vision for your next project, and first figure out how to interface a photoresistor (serious, even this requires quite a lot of learning).

As for the CMUcam questions, read the datasheet! :P

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: a hexapod that sees
« Reply #12 on: October 08, 2007, 03:50:35 AM »
here is a link that describes a little about how to interface photoresistors :

http://www.seattlerobotics.org/encoder/jun99/dusan.html

BUT,, i need vision (like object recognition). not light detection
anyways, what sensors are used for human following robots?
good ol' BeNNy

Offline Ro-Bot-X

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,431
  • Helpful? 25
  • Store: RoBotXDesigns.ca
    • Ro-Bot-X Designs
Re: a hexapod that sees
« Reply #13 on: October 08, 2007, 09:02:13 AM »
For following humans ar animals, you need a Passive Infra-Red (PIR) sensors. Acroname has it. Make sure to get a fresnel lens with it to increase range.

I am working on a robot that will use AVRcam to find objects based on the color of the object. I don't know that much programming to do object recognition. I will have a tutorial on this in February.
« Last Edit: October 08, 2007, 09:05:02 AM by Ro-Bot-X »
Check out the uBotino robot controller!

Offline benjiTopic starter

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: a hexapod that sees
« Reply #14 on: October 08, 2007, 03:54:51 PM »
well i would appreciate it if you can share this tutorial ,,i would be more than glad

actually i do program the 8051 family with assembly language
i have a little information of how to do blop detection

and thank you for the PIR hint
good ol' BeNNy

Offline h3ro

  • Full Member
  • ***
  • Posts: 110
  • Helpful? 0
Re: a hexapod that sees
« Reply #15 on: October 08, 2007, 07:09:50 PM »
Quote
here is a link that describes a little about how to interface photoresistors :

http://www.seattlerobotics.org/encoder/jun99/dusan.html

BUT,, i need vision (like object recognition). not light detection
anyways, what sensors are used for human following robots?

Looks interesting. Anyone here tried doing something like that?

How would it be to use a mobile phone camera like the ones you can buy at sparkfun?
« Last Edit: October 08, 2007, 07:10:53 PM by h3ro »