element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Open Source Hardware
  • Technologies
  • More
Open Source Hardware
Forum Beginner Advice (which board to trigger light on email)
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Open Source Hardware to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 13 replies
  • Answers 1 answer
  • Subscribers 316 subscribers
  • Views 1779 views
  • Users 0 members are here
  • raspberry_pi
  • arduino
Related

Beginner Advice (which board to trigger light on email)

Former Member
Former Member over 12 years ago

I am planning on building a device that will trigger a Red Siren light when there are emails in a particular inbox.

I'd like to have the device check this email account via IMAP once every minute, and if there are emails in the inbox the light will be triggered.

 

I have done some initial googling and the closest project I could find is this one: http://www.instructables.com/id/Internet-Controlled-Desk-Lamp/?ALLSTEPS

This lamp is triggered via an Arduino when someone clicks a ON/OFF link on a web page.  At this point I am thinking it wouldn't be too much trouble to use this existing code and create a separate script that will check the email account and trigger a GET request to the ON link until the inbox is cleared and on a subseqent check of the email account will trigger the OFF link.

 

Unless there are any other suggestions on a better board (if not the Arduino) or method of implementing this?

Thanks in advance for any/all suggestions,

-BassKozz

  • Sign in to reply
  • Cancel

Top Replies

  • bprewit
    bprewit over 12 years ago +1 verified
    Well, regardless of the what's and why's .. this: http://learn.adafruit.com/raspberry-pi-e-mail-notifier-using-leds might be a starting point. You'll have to figure out on your own how to tell if there…
Parents
  • Workshopshed
    0 Workshopshed over 12 years ago

    Bass, if you want to go down the Arduino route then you'll need a Ethernet or Wifi Shield. You might want to look at something like http://shrimping.it/blog/ if it's to be a permanant solution.

     

    If you want to go Wifi then you might find that the Wifi shields are rather expensive but you could look at using something like a cheap wifi router in client mode, the TP-Link ones are small and relatively cheap. There's some examples here that might help http://londuino.com/london-arduino-event-4/

     

    You should be able build a stand-alone email notifier with the Arduino but you'd need to code something to work with the protocols of your mail server, it's really just sending it strings and parsing the results. Other boards might make this easier by already having libraries for parsing.

     

    A basic outline of what you'd need is:

     

    Connect

    Login

    Select the inbox

    Store the results of server response

    Quit

    Parse the response

     

    The reason for parsing after quitting is to minimise the connection time.

     

    There's a few people who've done this already, some with assistance of a PC sending data to the Arduino as you suggested but the first example just uses an Arduino.

     

    http://forum.arduino.cc/index.php/topic,7931.0.html

     

    http://mohacks.com/simple-arduino-gmail-notifier-project/

    http://www.youtube.com/watch?v=VcyQYUfwpqU

     

    Have fun with your project, look forward to seeing the results.

     

    Cheers,

     

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Workshopshed
    0 Workshopshed over 12 years ago

    Bass, if you want to go down the Arduino route then you'll need a Ethernet or Wifi Shield. You might want to look at something like http://shrimping.it/blog/ if it's to be a permanant solution.

     

    If you want to go Wifi then you might find that the Wifi shields are rather expensive but you could look at using something like a cheap wifi router in client mode, the TP-Link ones are small and relatively cheap. There's some examples here that might help http://londuino.com/london-arduino-event-4/

     

    You should be able build a stand-alone email notifier with the Arduino but you'd need to code something to work with the protocols of your mail server, it's really just sending it strings and parsing the results. Other boards might make this easier by already having libraries for parsing.

     

    A basic outline of what you'd need is:

     

    Connect

    Login

    Select the inbox

    Store the results of server response

    Quit

    Parse the response

     

    The reason for parsing after quitting is to minimise the connection time.

     

    There's a few people who've done this already, some with assistance of a PC sending data to the Arduino as you suggested but the first example just uses an Arduino.

     

    http://forum.arduino.cc/index.php/topic,7931.0.html

     

    http://mohacks.com/simple-arduino-gmail-notifier-project/

    http://www.youtube.com/watch?v=VcyQYUfwpqU

     

    Have fun with your project, look forward to seeing the results.

     

    Cheers,

     

    Andy

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube