converting programs~


Closed Thread
Results 1 to 28 of 28

Hybrid View

  1. #1
    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

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    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
    MCT = ???

    ..it's also my final year project!
    I hope you didn't pay good money for that course... How many years do you have to go thru to get to a 'final year' anyways?

    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..
    You mean just like you wrote in post #1?
    So far, all you've done is describe what you want the end result will be.
    What kind of sensors do you plan on using? How do you plan on reading those sensors?
    Ok, you'll use a PIC16F877A... Are you planning on using straight assembly in MPLAB IDE to program this?
    What do you know about programming in general? Assembly? PICs? Electronics?

  3. #3
    Join Date
    Jul 2007
    Posts
    15


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by skimask View Post
    MCT = ???
    microcontroller technology

    I hope you didn't pay good money for that course... How many years do you have to go thru to get to a 'final year' anyways?
    lots of money...have you heard of POLYTECHNICS IN SINGAPORE?
    yea..im in one of them. 3 yrs course, but they teach u different modules regarding ur course. graduation ends with exam n a final year project.

    You mean just like you wrote in post #1?
    So far, all you've done is describe what you want the end result will be.
    What kind of sensors do you plan on using? How do you plan on reading those sensors?
    Ok, you'll use a PIC16F877A... Are you planning on using straight assembly in MPLAB IDE to program this?
    What do you know about programming in general? Assembly? PICs? Electronics?
    yes...i meant that. The sensor part will be briefed by the lecturer in the later part. We have to get the program working first! yea..i thought of using MPLAB because im ONLY taught that and moreover the syllabus only requires us to learn PIC18F452 and basic programming like displaying msg on LCD screen. they DON"Y teach us anything else..other PICs or what..nothing

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by sanguine View Post
    lots of money...have you heard of POLYTECHNICS IN SINGAPORE?
    Should I have?

    Sounds to me like you should first learn how to make the standard 'blinky LED' type project and work your way up to your 'final project'.

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    What Skimask mean between the line (or colon), is that YES we can help you, but you'll need to tell us a little bit more about what you already find/tested. Sensor, , additional hardware, links, datasheet, method etc etc.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    What Skimask mean between the line (or colon), is that YES we can help you, but you'll need to tell us a little bit more about what you already find/tested. Sensor, , additional hardware, links, datasheet, method etc etc.
    Yep...what him said...
    (colon.........Oh you're a riot nowadays!!! )

  7. #7
    Join Date
    Sep 2004
    Location
    Mentor, Ohio
    Posts
    352


    Did you find this post helpful? Yes | No

    Smile

    Hi sanquine,

    I replied earlier this morning about the same thing that Melanie did but for some reason it didn't get posted.

    Stop for a minute and re-read what you have posted here. You want to know when a sleep walker gets up and starts walking around. You are wanting to put sensors on the patients shoes or slippers. Like Melanie stated, most sleep walkers just get up and start walking. I think you are over complicating things here.

    I think all you need are a couple of pressure mats placed on each side of the bed connected to a simple sounder circuit or even something like a 555 timer. You could even put an opening sensor on the door into the patient's room with a pressure pad inside the door and using a 555 timer, when the patient steps on the mat it enables the 555 timer to operate as soon as the door is opened. This configuration would not sound if the door is opened first such as when the nurse comes in to check on the patient. If you are hell bent on using a PIC then something like the 12F chips could be used instead of the 555 timer. Yea I remember from one of your posts that you need to use a 18F452 but they gave you an 16F877A. Well you can use that in place of the 555 or 12F PIC. Fancy up the project once you have the basics working by adding flashing lights outside the patient' s room or have a LCD display with alerting beeper at the nurse's station display something like "Mr Smith is sleep walking again!"

    What you are asking for or being asked to do isn't difficult to do, but to put sensors on a patient's shoes is a big waste of time.

    I have in the past two years provided numerous solutions for my biggest security client. The last project was for unassisted apartment dwellers on this retirement campus that are in the beginning stages of dementia but not quite ready for the full assistance package. The apartments already have alarm dialers for the emergency cords and smoke detectors. We put together a PIC controlled clock that enables a wireless door transmitter between 10pm and 7am. If the person leaves during these hours, then security personnel go and check on them. While one person is responding, another person is monitoring the 4 main exits on the video system to see if they leave the building before help arrives. The PIC controlled clock is not affected by the spring and fall time change and needs a new backup battery every 5 years. Works great and all we need the patient to do is walk out the door. No shoes? No problem.

    Take your project in small steps then build it up to the grand finale!

    Sure hope this helps you in some way.

    By the way, I noticed that you wanted to do your project in assembly. This forum is for people using PICBasic and PICBasic Pro. You might want to look over the software most of us use here and switch to this because your developement time will be alot shorter.

    Good luck!

    BobK

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