Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet 2    [LBP2] Help!
#1

Timer Workaround?

Archive: 9 posts


Hello LBPC, I noticed something that happens with my timers I have set to "Speed Scale" When full and emptying they keep their on signal rather than reverting to Off, is there a workaround for this?2011-06-11 21:18:00

Author:
Brian_Istenes
Posts: 151


Does linking the timer to a AND gates first slot and then the output from whatever triggers the timer to the 2nd AND slot and then using the AND gates output fix the problem?2011-06-12 00:37:00

Author:
Unknown User


Nope, it has a drain and recharge, so it slowly goes both ways, and with the AND it still subtracts but doesn't give a second signal.2011-06-12 01:27:00

Author:
Brian_Istenes
Posts: 151


as long as you dont need an ana log signal from the timer, you can wire the timer to a NOT gate, then wire the NOT gate to a positional sequencer (with loop turned off), place a battery on the sequencer that fills the entire sequencer, then wire that battery to another NOT gate. the output of the second not gate will only send an active signal when the timer is completely full, as soon as the timer drops down even a little bit it will make the output inactive.2011-06-12 08:24:00

Author:
evret
Posts: 612


It needs to work when even just a little full but not work when empty.2011-06-12 19:41:00

Author:
Brian_Istenes
Posts: 151


It needs to work when even just a little full but not work when empty.

EDIT: I think this might be the same approach as Evret suggested, but the following will work:

I normally use a Sequencer for this. Set it to Positional, and place a Battery spanning the entire length of the Sequencer (no overhang in either end though).
The battery will now turn on and soon as the Sequencer is just the tiniest bit of active, which indicates the timer is no longer Zero.

You can do something similar when you want to detect if the timer is full. Just have the signal from your Timer go through a NOT gate. Plug this into a fresh Positional Sequencer also with a Battery spanning the entire length. Now plug this Battery into another NOT gate, and you will get a signal only when the Timer is 100%, and not when going down after being maxed.
2011-06-13 06:54:00

Author:
Slaeden-Bob
Posts: 605


EDIT: I think this might be the same approach as Evret suggested, but the following will work:

I normally use a Sequencer for this. Set it to Positional, and place a Battery spanning the entire length of the Sequencer (no overhang in either end though).
The battery will now turn on and soon as the Sequencer is just the tiniest bit of active, which indicates the timer is no longer Zero.

You can do something similar when you want to detect if the timer is full. Just have the signal from your Timer go through a NOT gate. Plug this into a fresh Positional Sequencer also with a Battery spanning the entire length. Now plug this Battery into another NOT gate, and you will get a signal only when the Timer is 100%, and not when going down after being maxed.

yeah he's not being very clear on what he wants.......
going by his first post he may just want to link his input to a NOT gate as well then wire the NOT gate to the timers reset input, which would make the timers output become inactive as soon as the timer's input becomes inactive
2011-06-13 08:30:00

Author:
evret
Posts: 612


Sorry then, here's my whole set-up:

L1+Some NOT gates->Timer1->Direction Combiner+
Timer2->Direction Combiner- (When one is active the other is not)
Direction combiner-> Timer on speed scale
TimerSS->Timer on Start count down (For delay on starting recharge)

My goal is to have the timer on speed scale, when full, activate the SCD timer every time, while this only happens the first time it becomes full due to the problem of the timer giving a full positive signal until fully empty again.

Hope that clears stuff up.
2011-06-13 14:57:00

Author:
Brian_Istenes
Posts: 151


If you don't need the analog signal just use 1 count counters and reset each one when you need to in the logic sequence and drop the timers entirely. You can create delays using self cycling selectors (30 ports = 1 second) if the timers prove troublesome.

If the timers are necessary as part of a GUI or whatever then treat them as secondary or peripheral components to the logic itself.
2011-06-13 15:05:00

Author:
Ayneh
Posts: 2454


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.