Offline
Newbie
Karma: 0
Posts: 2
|
 |
« on: March 20, 2012, 03:20:19 am » |
Hello Everyone,
I want to connect scanner for exampe Epson Perfection V33 to arduino throught USB, I understand that need to use USB host shield, but not understand how to send commands to the scanner. My goal is scanner have to scan paper and save image to SD card, so question - how can arduino do it?
|
|
|
|
« Last Edit: March 20, 2012, 08:25:12 am by Seatle »
|
Logged
|
|
|
|
|
Massachusetts, USA
Offline
Tesla Member
Karma: 96
Posts: 6364
|
 |
« Reply #1 on: March 20, 2012, 08:17:07 am » |
The first step would be to figure out the protocol used by the scanner you have. Most are not published because the scanner usually only talks to the driver provided by the scanner vendor.
Good luck.
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Newbie
Karma: 0
Posts: 2
|
 |
« Reply #2 on: March 20, 2012, 08:50:57 am » |
|
|
|
|
« Last Edit: March 20, 2012, 08:55:28 am by Seatle »
|
Logged
|
|
|
|
|
Netherlands
Offline
Tesla Member
Karma: 88
Posts: 9392
In theory there is no difference between theory and practice, however in practice there are many...
|
 |
« Reply #3 on: March 20, 2012, 04:45:59 pm » |
Assuming it would succeed then a normal scanner would have scanlines of ~8inch x 600 dpi x 3 colors = 7200 bytes per scanline. That is almost 4 times the total RAM of an UNO. So even at BW at 200 dpi you would have a RAM overflow in no time.
Unless your goal is different.... ????
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Sr. Member
Karma: 5
Posts: 468
what?
|
 |
« Reply #4 on: April 01, 2012, 08:05:49 am » |
You would have more chance of hacking into the linear CCD imager data lines and using arduino to control the stepper to move the image sensor
|
|
|
|
|
Logged
|
|
|
|
|
Offline
Jr. Member
Karma: 1
Posts: 77
|
 |
« Reply #5 on: April 07, 2012, 10:16:39 pm » |
|
|
|
|
|
Logged
|
|
|
|
|
SE USA
Offline
Faraday Member
Karma: 33
Posts: 3619
@ssh0le
|
 |
« Reply #6 on: April 10, 2012, 11:25:58 pm » |
ok yes spi ram exist's but are you going to have enough speed to deal with a camera in its real time while also streaming that data to an external source without running out of memory on the MCU?
SPI ram is not ram that you plug in and it add's onto the arduino's internal memory, its more or less a tiny SD card
|
|
|
|
|
Logged
|
http://arduino.cc/forum/index.php?action=unread;boards=2,3,4,5,67,6,7,8,9,10,11,66,12,13,15,14,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,86,87,89,1;ALL
|
|
|
|
0
Offline
Sr. Member
Karma: 5
Posts: 468
what?
|
 |
« Reply #7 on: April 25, 2012, 06:19:42 pm » |
At risk of repeating myself you could try hacking straight into the linear CCD bus, ones i have used output serial data and are clocked by the host mcu so you control the speed of scan but others are different and it would be easy to drive the stepper, have a look here, this isn't my site but just one i found https://github.com/chiva/Arduino-CCD-TSL214
|
|
|
|
|
Logged
|
|
|
|
|
|