Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 04:58:30 16:58


Login with username, password and session length


Pages: [1]
Print
Author Topic: REQ: CMOS or CCD image sensor?, XY- position of objects  (Read 3394 times)
0 Members and 1 Guest are viewing this topic.
koseyel
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 500
-Receive: 224


« on: July 07, 2014, 05:19:09 05:19 »

Hello,

I'd like to use a CMOS or a CCD image sensor to scan an image or a patterned surface and then save the data on FLASH memory.
I'd then like to be able to retrieve the XY-positions of objects or pattern on the image and process them using a dsPIC , PIC32 or PIC24.
Something similar to a pick-and-place device but without using a PC. Just standalone device.

Do you think it is possible? If so, could you please give me some tips or links. I have searched the internet, but I found only stuff related to CNC or pick-and-place projects controlled by a PC programm.

Best regards



Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #1 on: July 07, 2014, 09:12:35 09:12 »

How about a 16M pixel USB camera and take it from there as far as what USB host you use?
Logged
koseyel
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 500
-Receive: 224


« Reply #2 on: July 07, 2014, 07:49:45 19:49 »

For me it'd be ok if that USB camera could be connected to a host MCU (mentionned above).
Could you please give me more info on that camera?
Bear with me please. I have no experience with that.
Logged
hate
Hero Member
*****
 Warned
Offline Offline

Posts: 555

Thank You
-Given: 156
-Receive: 355


« Reply #3 on: July 07, 2014, 10:10:56 22:10 »

I would prefer an AV output device here if the resolution suited my needs. There are single chip solutions to catch the frame sync signal and then it should be quite easy to sample the frame itself. After you have a digital frame you can then process it as you like. Again, the resolution won't play nice with AV. And for the image processing part, if you don't have any experience with it, it would be wise to go with a suitable library like OpenCV which has ports for ARM.
Logged

Regards...
CocaCola
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #4 on: July 07, 2014, 10:34:37 22:34 »

What is the end goal?  If you are lazy you can do all the above with a low cost (generation or two back) smart phone, just write an app and spit the coordinates out using Bluetooth, wi-fi or USB to whatever needs them...

That or you can do the USB camera thing suggested, some of the ARM developer boards like the Raspberry Pi can handle USB cameras for basic task like this and there is plenty of public source code already out there to build upon...
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #5 on: July 08, 2014, 09:29:18 21:29 »

See CMUcam, their CMUcam5 looks amazing and affordable - plan to buy it soon. It was on Kickstarter.

Other way is using OpenCV on android / linux board, many samples on the web.

-ichan
Logged

There is Gray, not only Black or White.
CocaCola
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #6 on: July 09, 2014, 12:19:28 00:19 »

See CMUcam, their CMUcam5 looks amazing and affordable - plan to buy it soon. It was on Kickstarter.

That CMUcam5 looks amazing for the price...  For a few years now I have been tossing up ideas on how to make a robot dog that would follow me around though a crowd without any clearly obvious sensors to detect me vs others...  Looks like the software they have does a phenomenal job of tracking, probably be as simple as wearing a shirt or pants with a unique pattern to accomplish my task...  Although in reality I'll probably never get around to building it Wink
Logged
koseyel
Junior Member
**
Offline Offline

Posts: 60

Thank You
-Given: 500
-Receive: 224


« Reply #7 on: July 09, 2014, 05:41:49 05:41 »

What is the end goal?  If you are lazy...

Thanks for your time.
I'm not lazy. My goal is learning. Learning to use camera, learning to scan a pattern (let say like a QR code) and then reproduce it on a paper using a robot arm(ended with a pen) or a pen fixed on a XYZ table (I like ore that option). I have seen something like that on internet but they are using a PC to control the robot arm.
What I want is to only use a microcontroller for controlling the pattern scanning , saving it on FLASH memory and then reproducing it by controlling the XYZ-table or robot arm.
So, my problem is, how do you give the coordinate information to the XYZ-table so that the scanned pattern is reproduced exactly.
Very important: I don't want to use any PC, just a PIC24, PIC32 or a dsPIC, as I said above. I'm also open using some Cortex-M3, M4 from ST or TI.
I'd be greatful for any info in that direction.
Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #8 on: July 09, 2014, 12:58:41 12:58 »

"lazy" = "efficient"
Logged
CocaCola
Senior Member
****
Offline Offline

Posts: 482

Thank You
-Given: 169
-Receive: 232



« Reply #9 on: July 09, 2014, 01:52:13 13:52 »

"lazy" = "efficient"

Pretty much, a project like this is mostly software/firmware and until that is mastered the hardware used is pretty much insignificant as long as the 'prototype' hardware is similar to the end design...  A smart phone provides all the hardware you need in a low cost, already debugged, fully contained well documented hardware and OS package...  It allows for you to jump right into software development on a proven and stable hardware design, thus you can get a working prototype pretty fast...  Once you have the core software routines written it can be ported to hardware of your own design if necessary...  It's the same reason most developers use existing general purpose development boards to write the main software before they design the hardware...
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC