converting programs~


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    This assumes that the patient is going to put on shoes or slippers before they sleep-walk. They don't... they go wandering in bare feet...

    The best method is for the patient to wear a wrist ID (of the kind they already fit in hospitals) with a proximity alarm tag (similar to the sort they have in stores to prevent you from stealing merchandise). The alarm is sounded as soon as they go through the main door out of their room or hospital ward. This also allows for the patient to get up normally and go to the bathroom without sounding an alarm (nobody sleepwalking as yet has flushed themselves down a toilet!).

  2. #2
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Red face

    yes ill reply to that previous thread.
    And true, of course i'm very fine with learning it all over, converting myself~
    but the thing is if i were to convert myself, i at least will need to know what the program is about. You see, we are given this program coded in PIC 16 and all i need to do is to copy paste into the MPLAB, load into the ICD and thn get it running. But since we need to convert the codes due to the availability of PIC 18, i'll need at least someone to help me get started.
    I'm not writing a program myself in this case, i'm given a program written by someone else and i really just need someone to tell me what the various codes mean and then try to make appropriate amendments.
    not really looking for people to spoon feed me~

  3. #3
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    not really looking for people to spoon feed me~
    Quite frankly, that's exactly what it looks like...
    What were you planning on doing this in? assembly? PBP? C?

  4. #4
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    ah well...my bad..=X
    It's done in MPLAB IDE

  5. #5
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    ah well...my bad..=X
    It's done in MPLAB IDE
    There ya go...all converted for an 18F4520 and everything...
    Attached Files Attached Files

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    There ya go...all converted for an 18F4520 and everything...
    Really?

    So on a 18F4520, PORTA is at address 0x05 ?

    .
    DT

  7. #7
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    the program don't look any difference to me other then the changing the PIC16F877A to PIC 18F4520.

    T.T

  8. #8
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    Really?
    So on a 18F4520, PORTA is at address 0x05 ?
    .
    I know that...but the O/P doesn't want to be spoon fed, so I figured he/she might be able to find that tidbit in the datasheets.

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


    Did you find this post helpful? Yes | No

    Post

    Quote Originally Posted by Melanie View Post
    This assumes that the patient is going to put on shoes or slippers before they sleep-walk. They don't... they go wandering in bare feet...

    The best method is for the patient to wear a wrist ID (of the kind they already fit in hospitals) with a proximity alarm tag (similar to the sort they have in stores to prevent you from stealing merchandise). The alarm is sounded as soon as they go through the main door out of their room or hospital ward. This also allows for the patient to get up normally and go to the bathroom without sounding an alarm (nobody sleepwalking as yet has flushed themselves down a toilet!).
    Too true. An RFID wrist tag is common place in many nursing homes and hospitals to aid with wandering residents, sadly some with Alzheimer's. In my last job I was employed as a field / bench technician to install and service a wireless nurse call system operating on 27 and 304MHz. Top system. I worked with RFID-based wrist tags, door alarms, pressure sensors, displays, repeaters, dialers. Depressing job.

  10. #10
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    I know that...but the O/P doesn't want to be spoon fed, so I figured he/she might be able to find that tidbit in the datasheets.
    yea...i DUN want to be spoon fed but that much of information i manage to think of myself. By the way, I'm learning to use a pic16F877 now since my lecturer got me one. Learning the MPLAB IDE ver 7.50.
    AND SKIMASK.. im a 18 yr girl who is an extreme noob in programming.
    I'm only taught for 1-3 month for my MCT module?
    I dun think i can be as pro as you are...if not i would'nt have asked for help here! if that is spoon feeding to you then be it. I'm very fine with it.

  11. #11
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    yea...i DUN want to be spoon fed but that much of information i manage to think of myself. By the way, I'm learning to use a pic16F877 now since my lecturer got me one.
    Which is a fair distance from a PIC18F442/452...

    Learning the MPLAB IDE ver 7.50.
    Also outdated, latest version is 7.61 (maybe 7.62 by now)

    im a 18 yr girl
    Don't matter...

    who is an extreme noob in programming.
    Then pick up an 'extreme noob' type project and work your way up.

    I dun think i can be as pro as you are...
    Time will tell now won't it...

    if not i would'nt have asked for help here! if that is spoon feeding to you then be it. I'm very fine with it.
    Good, because I haven't seen anything that you have written yet...just copies of stuff you want converted.
    Show us something that YOU have written, and when it doesn't work, ask the question Why...
    Last edited by skimask; - 12th July 2007 at 15:47.

  12. #12
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    oh..i would not have choose such a difficult proj (but i noob) if i have a choice..
    I was GIVEN it.
    and ya...i'll try to learn and if there is still qn I'll ask WHY.
    n for ur information, i tell u im a girl so u dun have to say he/she.
    geezz..

  13. #13
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    oh..i would not have choose such a difficult proj (but i noob) if i have a choice..
    I was GIVEN it.
    and ya...i'll try to learn and if there is still qn I'll ask WHY.
    n for ur information, i tell u im a girl so u dun have to say he/she.
    geezz..
    You were GIVEN this? As a first project or what?
    Elaborate a bit on what the code is supposed to accomplish...I know you said it's for sleeping walking/pressure sensor/whatever...
    What does the circuit this is connected to look like?

  14. #14
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    YES!!
    oh my..do u thing I'm so crazy as to start of learning mct by trying to convert other people program? That will be like learning to run before i know how to walk.
    this is my first project in mct..it's also my final year project!
    u want the proj brief? hah..i'll tell u.

    some patients do slp walk
    so this particular hospital wants us to make the sole of the shoe with sensors.
    Once the pressure increases by the walking patient, the buzzer will sound.
    This is what the program does, it processes the reading then decide if it wants to raise an alarm..

    I don't have any "look like" picture for you

Similar Threads

  1. Help converting DS1993 to DS2433+
    By isaac in forum General
    Replies: 0
    Last Post: - 29th August 2008, 14:34
  2. Replies: 5
    Last Post: - 26th March 2006, 19:26
  3. Converting Stamp code
    By paul.mcallister in forum General
    Replies: 1
    Last Post: - 8th February 2005, 11:48
  4. converting long integer
    By jra in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 27th September 2004, 17:02
  5. Need help converting to PB Pro from Mbasic Pro
    By tcbcats in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 11th February 2004, 07:43

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