Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Turn a lever into a button


  • Please log in to reply
71 replies to this topic

#1

RSExpendable

Posted 19 December 2011 - 12:32 AM

What's a working design (for 1.0) which can turn the on/off action of a lever into button-like pulses?

Register or log in to remove.

#2

Benroads

Posted 19 December 2011 - 12:36 AM

Monostable circut

#3

VirusDoctor

Posted 19 December 2011 - 01:26 AM

T Flip Flop?
If I have helped you in ANY way please raise my contribution points :D

#4

jxu
    jxu

    Redstone Miner

  • Members
  • 619 posts
  • Minecraft: jxu

Posted 19 December 2011 - 01:28 AM

NOT THIS AGAIN...
ORE member | IC2, Gregtech and Buildcraft are amazing

#5

Draco18s
    Draco18s

    Glowstone Miner

  • Members
  • 3389 posts

Posted 19 December 2011 - 01:30 AM

View PostVirusDoctor, on 19 December 2011 - 01:26 AM, said:

T Flip Flop?


*Buzzer sounds*

Wrong!  That turns a BUTTON into a LEVER, not the other way around like the POST TITLE SAYS.
Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

#6

jxu
    jxu

    Redstone Miner

  • Members
  • 619 posts
  • Minecraft: jxu

Posted 19 December 2011 - 01:38 AM

View PostDraco18s, on 19 December 2011 - 01:30 AM, said:

*Buzzer sounds*

Wrong!  That turns a BUTTON into a LEVER, not the other way around like the POST TITLE SAYS.
Audience: Ooh!
Announcer: Better luck next time. Onto the other team...
ORE member | IC2, Gregtech and Buildcraft are amazing

#7

Magix
    Magix

    Ghast Hunter

  • Members
  • 2743 posts
  • Location: Estonia
  • Minecraft: Magixx

Posted 19 December 2011 - 01:40 AM

View PostBenroads, on 19 December 2011 - 12:36 AM, said:

Monostable circut

*Buzzer sounds*

Wrong! Monostable circuit only works when you're turning on the lever, but not when turning it off.
Posted Image

#8

Draco18s
    Draco18s

    Glowstone Miner

  • Members
  • 3389 posts

Posted 19 December 2011 - 01:51 AM

View PostMagix, on 19 December 2011 - 01:40 AM, said:

*Buzzer sounds*

Wrong! Monostable circuit only works when you're turning on the lever, but not when turning it off.

Use two.  Invert the input to one.  OR the outputs.

Voila.

(May not be the smallest way to do it, but it works!)
Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

#9

Magix
    Magix

    Ghast Hunter

  • Members
  • 2743 posts
  • Location: Estonia
  • Minecraft: Magixx

Posted 19 December 2011 - 02:31 AM

Yeah, that technically works, but you could just use a dual edge detector : D

Posted Image

Blue is your input, red is output

Only problem is that's a very short pulse, so depending on what you wanna do you might have to hook that up to an additional pulse sustainer..
Posted Image

#10

InfiniteD17
  • Minecraft: InfiniteCubed

Posted 19 December 2011 - 03:26 AM

Posted Image

This will make a pulse, the same as a button, every time you flip the lever on or off. The sandstone is the input, and the piston is the output.

#11

krestof
    krestof

    Carpenter

  • Members
  • 58 posts

Posted 19 December 2011 - 09:10 AM

What I did was look up an XOR gate (such as under the redstone circuits section in minecraft wiki) and made just that. Both inputs are connected to the lever and are not inverted. The only difference is one side has repeaters in front to delay the signal, and the other doesn't.

When you do this, there will be a delay. So momentarily, the contacts to the XOR gate will not match and will produce a positive signal. But as soon as the other half of the signal crosses the repeaters or dissipates from them, they will end up being the same and shut off the XOR gate.

#12

Sven_The_Slayer

Posted 19 December 2011 - 11:14 AM

Take you're pick

Posted Image

1 tall, 3widex2tall, 2widex2tall, 1 tall...

The last one is my favorite:

Posted Image
Posted Image

NOTE: (As shown in the picture) A 3 tick repeater will make the lever act as a t-flip flop, you need to set the repeaters to 4 in order to act as a button.  The pulse will be short though, if you need a longer pulse I recommend #4 or #2 (#2 can have 2 repeaters if you place dust on top of the blocks leading into the torch.)
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Playing Minecraft since [Friday, March 19, 2010, 9:20:21 PM] (First indev world save)

#13

Mathazad
    Mathazad

    Zombie Killer

  • Members
  • 161 posts

Posted 19 December 2011 - 11:51 AM

http://imageshack.us...1219224936.png/
the simplest

Posted Image


#14

Magix
    Magix

    Ghast Hunter

  • Members
  • 2743 posts
  • Location: Estonia
  • Minecraft: Magixx

Posted 19 December 2011 - 12:56 PM

View PostMathazad, on 19 December 2011 - 11:51 AM, said:


LOL simplest = most inefficient? : D

hey look i maed AND gaet

Posted Image
Posted Image

#15

wannywanson

Posted 19 December 2011 - 01:13 PM

View PostMagix, on 19 December 2011 - 12:56 PM, said:

LOL simplest = most inefficient? : D

hey look i maed AND gaet

Posted Image

Whaha good one :DDDD.

Posted Image


#16

Sven_The_Slayer

Posted 19 December 2011 - 04:41 PM

View PostMathazad, on 19 December 2011 - 11:51 AM, said:


Buttons pulse every time you press them, that only pulses when you flip the lever down, then you have to flip it up again, then down for another pulse... that's not turning a lever into a button.
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Playing Minecraft since [Friday, March 19, 2010, 9:20:21 PM] (First indev world save)

#17

Natecraft

Posted 19 December 2011 - 05:08 PM

View PostMagix, on 19 December 2011 - 12:56 PM, said:

LOL simplest = most inefficient? : D

hey look i maed AND gaet


Posted Image

Guess what this does...
Spoiler:

ragnarock200: awesome, are those things with the creeper faces pistons or furnaces
Snowey1994: There dispensers

#18

Sven_The_Slayer

Posted 20 December 2011 - 01:45 AM

View PostNatecraft, on 19 December 2011 - 05:08 PM, said:

Posted Image

Guess what this does...
Spoiler:

That's not even the largest most convoluted Xor I've seen people build.
Posted ImagePosted ImagePosted ImagePosted ImagePosted Image
Playing Minecraft since [Friday, March 19, 2010, 9:20:21 PM] (First indev world save)

#19

Manuelsi
    Manuelsi

    Redstone Miner

  • Members
  • 533 posts
  • Location: Between Sky Lands and the Nether
  • Minecraft: Manuelschi

Posted 20 December 2011 - 02:19 AM

why do you guys complicate it?just a sticky piston a lever and redstone and done!
Posted Image
Posted Image
Posted Image
Posted Image
it may look like it doesnt reach to send signal but it manages to send a 1 tick signal...way shorter than a button but its an unique pulse

#20

Ground Zero
  • Location: Great Britain
  • Minecraft: Rhonix

Posted 20 December 2011 - 02:38 AM

If you want a pulse to be sent when a level is pulled then try this.

Put a redstone torch under the block the piston moves.

Posted Image
Posted Image