One-button scan to email using Raspberry Pi


We’ve come across extremely expensive photocopiers that also fax, scan to email, and generally have too many features to list. [Eduardo Luis] figured out how to implement some of this type office magic using very inexpensive components. Specifically, he can press one button to scan a document and send it to an email address.

The user controls patch into the RPi GPIO header. There’s the button we already mentioned, a red LED for “System Busy”, and a green one for “System Status”. A set of scripts montor the button and drive the LEDs. When it’s time to scan, the RPi uses the scanimage package to capture a .PNM file, then converts it to .JPG before sending it via email using the mutt package.

We’d love to see a character LCD and a few more buttons added to the setup. This way you could select between different recipients (or even send via fax). And there’s always the possibility of connecting a printer to the other USB port on the RPi to make it work as a photocopier too.

You can catch a demo video after the jump.


  1. Bojan says:

    Patent trolls want $1,000 per employee for using scanners:

  2. Leif says:

    GPIOs make Raspi great but why bother putting the button on the Raspi when you have buttons on your scanner?

  3. M says:

    Awesome. Thank you very very very much for doing one of my “when I have time” projects so I can just piggyback on your hard work (when I have time). There’s been little point to scanners that can’t do email directly for most people in the last three or four years.

  4. deadlydad says:

    This is just begging for a case made from a Staples’ ‘that was easy’ button. :grin:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 97,902 other followers