×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Start stop using one push button

Start stop using one push button

Start stop using one push button

(OP)
Hi,
I am trying to use the one push button to start and stop. I am using difu for the rising edge and a standard latch but my trouble is how to get it stop the second time the button is pressed. Has anyone any experience in this?

Thanks

RE: Start stop using one push button

(OP)
This is just for exercise purposes. I am having trouble writing the logic to get it to stop.

Thanks

RE: Start stop using one push button

AND the state of the latch with your rising edge to determine wich direction to take the latch. SETLATCH=NOT LATCH AND REDGE. RESETLATCH=LATCH AND REDGE. Don't know what a difu is, but it sounds bad.

RE: Start stop using one push button

"Don't know what a difu is, but it sounds bad."
I believe this is the instructors term for "plagiarism". :)

RE: Start stop using one push button

Forget what IRstuff says about bad practice, its actually quite common practice and nothing wrong with it, it has its uses.

The easiest 2 line code is as follows.

Pushbutton Trigger
---[P]-----------( )---

Trigger coil coil
--] [---]/[--+---( )---

Trigger coil |
--]/[---] [--+

The rising edge of the pushbutton turns on Trigger, then Trigger will make the circuit on branch one if coil is off, or break the circuit on branch 2 if coil is on, as its a one shot, the next scan coil will remain at the changed state.

Then coil can be used to energise a lamp or other indication so you know the status.

RE: Start stop using one push button

Hey guys,
I prefer to use a counter, but to each his own.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources