Post by Robotman on Mar 26, 2007 11:54:45 GMT 10
What hardware and software is a good start for machine vision experiments?
First off, this eye ball is tethered to a PC. You can add wireless later once the concept has been proven. I think that the following would be needed:
1. A PC running Windows XP (too much hassle trying to use that "lost in space, old as the hills" Unix re-run known as Linux)
2. A video capture card with RCA inputs (even if via an adapter plug like mine has). Big Ben Computers sells the Leadtek TV2000XP for AU$65.00 - www.bigbencomputers.com.au
You could maybe buy a dedicated capture card such as the AverMedia PCI Video Capture card for AU$70.00 (also from Big Ben) because the included software might have a better API?
My [very] old WinFast TV tuner/capture card makes itself known to other video editing software under WinXP so it should be visible to Roborealm as well?
3. A video camera (cheap and cheerful) - either PAL or NTSC output. Seeing as we live in Australia then PAL ones abound. www.jaycar.com.au (CAT. NO. QC3491 [PAL] AU$49.95)
You will also need a 12V DC plug-pack too, standard center positive 2.1mm. www.jaycar.com.au (CAT. NO. MP3011 AU$17.95) The Jaycar website says it will work down to 6V but that's not true. My camera that I purchased required a minimum 8V but it sometimes resets itself. But with 9V or more, operation is perfect. Note that these cameras take about 1.5 seconds after powerup before they start outputting a signal.
4. Roborealm software - www.roborealm.com (free)
These four items will get you started. (If the Roborealm software could talk to a USB webcam then that would have been even better, but what can we do...?)
Optionally, to add some "life" to your eye ball you could get:
5. Parallax Servo Controller board (USB) - www.parallax.com/detail.asp?product_id=28823 (Stock#: 28823 US$39.95)
6. Two servo motors - one for panning and the other for tilting. Basic servos will do the job here, with a bit of [epoxy] gluing and maybe some [self-tapper] screwing to attach the camera to one servo and then that entire assemble to the other servo. Mount the entire job to some chipboard or whatever to stop it from falling over. www.jaycar.com.au (CAT. NO. YM2760 AU$24.95 times 2 = $49.90)
7. Power for the servos is 6V DC. You could use the Jaycar 1.25A REGULATED 3,4.5,6,7.5,9,12VDC SWITCHABLE SWITCHMODE POWER SUPPLY: CAT. NO. MP3031 at AU$45.00. (That's expensive - maybe you could find cheaper from a discarded toy or something.)
All these prices and sourcings are my own. I am not affiliated with any of these companies. I simply have used them in the past and find their prices and products reasonable. If you can find cheaper then please do so - I won't be offended!
So, that should be it, without any need to do any soldering at all - almost "plug and play" because you will still need to strip the wires on the 6V DC plug-pack to attach it to the servo controller board.
It almost sounds like something I could try right away. I have the PC, the servos, the camera (I have two actually), the video capture card, the software and the plug-packs, but not the servo controller board.
I will start some experiments when I have a moment of free time. Until then though, how about some of you other guys either trying this or letting me know what you think. Have I missed something?
Cheers
Botman
First off, this eye ball is tethered to a PC. You can add wireless later once the concept has been proven. I think that the following would be needed:
1. A PC running Windows XP (too much hassle trying to use that "lost in space, old as the hills" Unix re-run known as Linux)
2. A video capture card with RCA inputs (even if via an adapter plug like mine has). Big Ben Computers sells the Leadtek TV2000XP for AU$65.00 - www.bigbencomputers.com.au
You could maybe buy a dedicated capture card such as the AverMedia PCI Video Capture card for AU$70.00 (also from Big Ben) because the included software might have a better API?
My [very] old WinFast TV tuner/capture card makes itself known to other video editing software under WinXP so it should be visible to Roborealm as well?
3. A video camera (cheap and cheerful) - either PAL or NTSC output. Seeing as we live in Australia then PAL ones abound. www.jaycar.com.au (CAT. NO. QC3491 [PAL] AU$49.95)
You will also need a 12V DC plug-pack too, standard center positive 2.1mm. www.jaycar.com.au (CAT. NO. MP3011 AU$17.95) The Jaycar website says it will work down to 6V but that's not true. My camera that I purchased required a minimum 8V but it sometimes resets itself. But with 9V or more, operation is perfect. Note that these cameras take about 1.5 seconds after powerup before they start outputting a signal.
4. Roborealm software - www.roborealm.com (free)
These four items will get you started. (If the Roborealm software could talk to a USB webcam then that would have been even better, but what can we do...?)
Optionally, to add some "life" to your eye ball you could get:
5. Parallax Servo Controller board (USB) - www.parallax.com/detail.asp?product_id=28823 (Stock#: 28823 US$39.95)
6. Two servo motors - one for panning and the other for tilting. Basic servos will do the job here, with a bit of [epoxy] gluing and maybe some [self-tapper] screwing to attach the camera to one servo and then that entire assemble to the other servo. Mount the entire job to some chipboard or whatever to stop it from falling over. www.jaycar.com.au (CAT. NO. YM2760 AU$24.95 times 2 = $49.90)
7. Power for the servos is 6V DC. You could use the Jaycar 1.25A REGULATED 3,4.5,6,7.5,9,12VDC SWITCHABLE SWITCHMODE POWER SUPPLY: CAT. NO. MP3031 at AU$45.00. (That's expensive - maybe you could find cheaper from a discarded toy or something.)
All these prices and sourcings are my own. I am not affiliated with any of these companies. I simply have used them in the past and find their prices and products reasonable. If you can find cheaper then please do so - I won't be offended!
So, that should be it, without any need to do any soldering at all - almost "plug and play" because you will still need to strip the wires on the 6V DC plug-pack to attach it to the servo controller board.
It almost sounds like something I could try right away. I have the PC, the servos, the camera (I have two actually), the video capture card, the software and the plug-packs, but not the servo controller board.
I will start some experiments when I have a moment of free time. Until then though, how about some of you other guys either trying this or letting me know what you think. Have I missed something?
Cheers
Botman