1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

ZILOG ESCALATOR programming

Discussion in 'Microcontrollers' started by jrfro, Jan 5, 2009.

  1. jrfro

    jrfro New Member

    Joined:
    Jul 29, 2008
    Messages:
    8
    Likes:
    0
    Location:
    PhilippineS
    hi guys wutsup! am working on a new project that requires zilog programming, the prototype is all set to go but i'm having difficulty with the program itself, heres the concept:

    The prototype works on the idea of an escalator, but with a minor change; it has two infrared sensors (one on the bottom platform, the other in the middle of the escalator)

    The sensor in the platform is activated when it detects an object runing a motor for a certain period of time (assuming an upward movement of direction) controlled by the motor driver and a zilog microcontroller.

    The escalator will automatically stop after the specified period of time only when the object doesnt pass the second sensor.

    When the object passes and is detected by the second sensor, it is activated to run the for an additional period of time (shorter than the first programmed timer) and eventually cause the motor to stop running at the execution of the second timer.

    Well, all thats lacking is the program to load to run it, using Zilog. i've set a couple of programs but all failed.

    i'd appreciate help from anyone out there

    maraming salamat <thanx alot>
     
  2. DirtyLude

    DirtyLude Well-Known Member

    Joined:
    Aug 5, 2003
    Messages:
    1,904
    Likes:
    56
    Location:
    Toronto, Canada
    You gave a lot of information, unfortunately very little is useful to answering the question.

    So the problem is that you cannot load your firmware on the chip or that the program you are running isn't working as expected?

    Which specific microcontroller are you using?
    What is the schematic for your setup of the microcontroller?
    Which programmer are you trying to use?
    What is the error you are receiving?
     
  3. blueroomelectronics

    blueroomelectronics Well-Known Member

    Joined:
    Jan 21, 2007
    Messages:
    12,536
    Likes:
    170
    Location:
    Toronto, Canada
    It's what you get when you copy and paste your school assignment.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. AtomSoft

    AtomSoft Well-Known Member

    Joined:
    Feb 7, 2008
    Messages:
    5,670
    Likes:
    41
    Location:
    Brooklyn, NY US

    The idea of timing the the ride on the escalator with a sensor is kinda unrealistic. What if the motor is NEW then timing is ok Then when motor wheres or is off by a second and there is someone on it it will fail to notice them in time.

    your best bet would be to have a few sensors. Like 1 on bottom and 1 on top or at least 1 foot above. The first one on the bottom and be used as a counter to determine current location on the lift and the other can be used to see if a rider has reached a certain spot.

    Just like a scroll wheel on a mouse you can count the spins it make(like in bills Mongoose ) I think its called or he calls it a:
    optical rotation sensors

    Thats the first one to determine the current location then the other can be the same as you said to see if a person has reached a certain area. If not then stop. It will work way better than timing it. Since it can give you exact position and 100% same result all the time.

    EDIT
    Extra thought i will add is if you use the "optical rotation sensors" you can monitor the motor speed and determine if it is getting old and in need of a replacement.
     
    Last edited: Jan 6, 2009
  6. jrfro

    jrfro New Member

    Joined:
    Jul 29, 2008
    Messages:
    8
    Likes:
    0
    Location:
    PhilippineS
    the latter

    i'll get back at u with the stats & shcematics, i'm using zilog, i'm quite new at it though am used to pic's
    tnx
     
  7. jrfro

    jrfro New Member

    Joined:
    Jul 29, 2008
    Messages:
    8
    Likes:
    0
    Location:
    PhilippineS
    i appreciate that but i doubt that we'll keep it running for a long time :eek: till april i suppose

    good thought, its what i had in mind at first but its already been done. & its quite difficult finding the right parts in this area of the country.
    besides that evrything is all set, am still doin a lil research on zilog coz am used to programming pic's (its what we did last year), zilog is something they want us to understand for ourselves <but am not complaining>

    i'll post the program later by the end of this week
     

Share This Page