PIC RS-232 to control Access database?


Closed Thread
Results 1 to 7 of 7
  1. #1

    Default PIC RS-232 to control Access database?

    Hi Guys,
    I have just completed a project which is an emergency alarm for old people. It sends a 5 digit link code via the Telco network to a control room using DTMF signalling. The receiving (base) station is controlled by a 16F876 and puts the link code onto a backlit LCD. A PC database (Access)brings up the subscriber info when it is manually entered after reading the LCD.

    What I want to do is to send the link code from PIC to PC using RS-232 and have the database automatically display the correct subscriber record. I know this can be done using VB and MSCOMM, but because my VB smarts are limited, can anyone point me in the right direction?

    Any help appreciated

    Angus Anderson

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Angus Anderson View Post
    Hi Guys,
    I have just completed a project which is an emergency alarm for old people. It sends a 5 digit link code via the Telco network to a control room using DTMF signalling. The receiving (base) station is controlled by a 16F876 and puts the link code onto a backlit LCD. A PC database (Access)brings up the subscriber info when it is manually entered after reading the LCD.

    What I want to do is to send the link code from PIC to PC using RS-232 and have the database automatically display the correct subscriber record. I know this can be done using VB and MSCOMM, but because my VB smarts are limited, can anyone point me in the right direction?

    Any help appreciated

    Angus Anderson

    How old are these people?


    -------------------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  4. #4
    Join Date
    Oct 2004
    Location
    Italy
    Posts
    695


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sayzer View Post
    How old are these people?
    Hi Sayzer,

    Are you concerned that they could die before the project is completed?

    * * *

    I believe they just have to press a button and the device sends a
    preprogrammed 5 digits DTMF code to the control room.

    Best regards,

    Luciano

  5. #5
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Sorry Luciano,

    I did not have any intention in asking that question, seriously.

    I was just wondering; no offense, please.

    -----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  6. #6


    Did you find this post helpful? Yes | No

    Default

    Hi Guys-

    Aimed mainly at people living alone in retirement complexes, and usually in their 70's or 80's. One of the biggest problems is that infirm old people often slip & fall or have an attack of some sort and have no way of calling for help. One button press on a remote around the neck contacts a control room and opens a hands free conversation

    Thanks for the replies, chaps. I will look at those refs.

    Angus

  7. #7
    T.Jackson's Avatar
    T.Jackson Guest


    Did you find this post helpful? Yes | No

    Default

    It's quite easy to do, I posted couple of snippets a while back (as mackrackit pointed out) but forget about mscomm, use the drop in class, much more flexible. Only because it's for Grandma (could be mine) - let me know if you need any help.

Similar Threads

  1. magnet control through PIC
    By SterlingY in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 24th March 2007, 14:38
  2. Motor Control PLC with a PIC
    By sougata in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 2nd November 2006, 07:59
  3. Pic Control With Software
    By Agent36 in forum General
    Replies: 5
    Last Post: - 18th October 2006, 18:18
  4. Need help on pic to pic flow control (simple problem I think)
    By khufumen in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 11th January 2006, 00:34
  5. Serial Pic to Pic using HSER
    By Chadhammer in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 11th March 2005, 23:14

Members who have read this thread : 1

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