Using a PIC to send email


Closed Thread
Results 1 to 13 of 13
  1. #1
    Join Date
    Nov 2006
    Location
    Brooklyn,NY
    Posts
    32

    Default Using a PIC to send email

    Could a PIC be configured to send an email? What I want to do is close a set of contacts and then send a predetermined message to a remote location. Both locations have internet service. I know the PIC can be used to generate dial tones but after that "Handshakes" are exchanged with the internet provider etc.

    Does anyone have any ideas how this may be accomplished?
    R.W.S.

  2. #2
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by schlaray View Post
    Does anyone have any ideas how this may be accomplished?
    R.W.S.
    Check out the PINK module:http://www.parallax.com/StoreSearchR...0/Default.aspx

    I've used it with a 16F876 and it works well. However, my firmware needs to be upgraded to send E-mails so I haven't done that yet. I know that people have successfully sent E-mails so it shouldn't be a problem. The software is such that it's easy to use and I would consider my ability just above a beginner so if I can do it, just about anybody can.

  3. #3
    Join Date
    Nov 2006
    Location
    Brooklyn,NY
    Posts
    32


    Did you find this post helpful? Yes | No

    Default Using a PIC to send email

    Thank you for the information. It looks like the Pink Module will do the job.

    What I have in mind is to build an alarm system that will notify me of any abnormal condition when I am away from home. Idealy, it would identify say 8 zones. I could then call a neighbor to check it out.

    There is a commercially available device called a "Freeze Alarm" that will dial numbers and leave a voice message on your answering machine. I think I could build a system for less money and have it do what I want.

    Thanks again for the direction.
    R.W.S.

  4. #4
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    Haven't tried but the Intel Atom processor Mini ITX Motherboard/CPU Combo
    with a Delphi or VB windows application to receive RS232 and email program would almost be cheaper.

    Norm

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Don't waste your money on the Parallax module. Look at ConnectOne's Nano LANReach which does email and many, many more things out of the box and costs 1/3 as much.

  6. #6
    Join Date
    Nov 2006
    Location
    Brooklyn,NY
    Posts
    32


    Did you find this post helpful? Yes | No

    Default Using a PIC to send email

    It has been a very educational day Normnet. I didn't know Intel made such a board.

    This will give me plenty to investigate. Thanks for the information.

    Schlaray.

  7. #7
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    This could be the future for PC's at least as a 2nd non intensive application PC.
    (Not games, photo or movie editing).

    Add a solid state HD or a compact disk for speed and compactness.


    Norm

  8. #8
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Normnet View Post
    Add a solid state HD or a compact disk for speed and compactness.
    By the time you add storage and memory (not included) and some type of interface to the eight alarm zones it starts getting a bit less attractive.

    $38 for the Nano LANReach plus a PIC seems a better fit for the application.

  9. #9
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    I don't see any reference to email capability at the Nano LANReach site.

    Norm

  10. #10
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default

    I see the email in the Programmer’s Manual now.
    Not bad.

    How is the web security?
    Would this have the level of security one could add to a company Lan?

    Norm

  11. #11
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Nano LANReach Internet Protocols:
    • ARP, ICMP, IP, UDP, TCP, DHCP, DNS, NTP, SMTP, POP3, MIME, HTTP, FTP and TELNET
    • Security protocols: SSL3/TLS1, HTTPS, FTPS, RSA, AES-128/256, 3DES, RC-4, SHA-1, MD-5
    • Protocols accelerated in hardware: AES, 3DES and SHA

    I'm not a security expert but those specs look good.

    It has a web server (current versions are 64KB, later versions will be bigger).

    It can be configured to check a Network Time Sever at power-up and every four hours thereafter.

    It's easy to program, using a variant on AT commands.

    All in all it exceeds my fondest hopes for an embedded ethernet interface. The low price may due to the current high value of the dollar. It's available from Mouser and others.

  12. #12
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by dhouston View Post
    It can be configured to check a Network Time Sever at power-up and every four hours thereafter.
    There was no Edit button so...

    That should read Network Time SERVER. It maintains an internal RTC between network syncs.

    YMMV but I got excellent responses from the tech who answered my emails. I have a home automation device that was designed to use the Tibbo EM202 which was discontinued without notice about 9 months ago. I'm waiting for some adapter boards I designed to handle the 5V to 3.3V conversions. Once I have those and can test it I'll be able to say more as well as salvage my inventory of partially assembled devices..

  13. #13
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    I should also mention another ethernet module that does email (SMTP) and is very reasonably priced for a wireless module.It's so new that the documentation is not fully released so I'm not sure how easilly (or not) it can be programmed. I have one but will not have time to test it for a couple of months.

Similar Threads

  1. Active low input?
    By CosMecc in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 8th August 2010, 20:31
  2. Send data PIC to PC
    By konter in forum Off Topic
    Replies: 6
    Last Post: - 25th December 2009, 22:04
  3. Replies: 0
    Last Post: - 1st September 2008, 07:03
  4. Replies: 5
    Last Post: - 20th March 2006, 01:34
  5. how to send data from VB to PIC 16f84
    By win_832001 in forum Serial
    Replies: 0
    Last Post: - 25th February 2006, 16:15

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts