Pages: [1]   Go Down
Author Topic: Connect scanner to Arduino  (Read 2813 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Tesla Member
***
Karma: 203
Posts: 8722
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

thanks for reply! I think use USB analyzers like this http://www.usblyzer.com/ or http://www.totalphase.com/products/
« Last Edit: March 20, 2012, 08:55:28 am by Seatle » Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 212
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

0
Offline Offline
Sr. Member
****
Karma: 7
Posts: 476
what?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 Offline
Sr. Member
****
Karma: 11
Posts: 327
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You could use spi external ram to overcome that limit have a look at this:
http://www.microchip.com/ParamChartSearch/chart.aspx?branchID=27012&mid=&lang=en
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


0
Offline Offline
Sr. Member
****
Karma: 7
Posts: 476
what?
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: