[Need Help] Redpower circuit cleanup

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

SReject

New Member
Jul 29, 2019
433
0
0
Ok, so I have the following redstone/power circuitry:

needs cleanup.png


The circuits in the setup:
Green Jacketed Wire: Input - Can be of any length(button, lever, etc)
A: Pulse Former
B: And gate - setup with two inputs(bottom, and side) outputting towards top
C: RS Latch
D: Redpower Repeater set at forth 'tick' of delay(This being 4x right clicks on the repeater)
E: Redpower Repeater set at fifth 'tick' of delay
F: Redpower Repeater set at first 'tick' of delay


What it does:
It turns the input into a single-tick pulse, then toggles power between the red & yellow jacketed wires. From here it forms a single-tick pulse for the toggled-on wire. While this is happening it "splits" the input line(green & orange jacketed wires) to create 2 single-tick pulses for orange going to the output line. It then bundles the outputs into a single bundled cable

The Result:
It emits a 1-tick pulse on the orange cable, then 3(4?) ticks later, it emits a pulse on the toggled-on wire(red or yellow), and a tick later, emits another pulse on the orange cable
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
Circuit.png


For the orange wire I removed the pulse former after the repeaters. The input is already a pulse due to the pulse former at the beginning.

I replaced the AND gate/RS latch setup with a toggle latch and put the 4 tick repeater before the latch so I wouldn't have 2 of them.
I might be able to make it smaller, but it would use more gates.

Note: the cover strip is not necessary, I forgot to take it out.
 

SReject

New Member
Jul 29, 2019
433
0
0
For the orange wire I removed the pulse former after the repeaters.
This is only true for the 1-tick repeater, for the other, atleast on DW20, the repeater set to 5ticks is delayed 5-ticks before outputting 5ticks of power
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
Ah, I didn't know that.
You've inspired me.

2013_01_30_20_10_21.png
2013_01_30_20_10_59.png


2013_01_30_20_10_30.png


3 pics of the same setup.
The cobble coated thing is a jacketed cable. The second pic is with that removed so you can see all the gates.
The pulse comes in on green. It goes into the right repeater and delays 1 tick. Then that goes though the blue wire to the pulse former, which emits the pulse to orange.
Meanwhile the middle bottom repeater is ticking out its 5, then the pulse from that does 2 things.
First it goes into the top middle repeater, which delays it in addition to the 5 it has already been delayed. Then that emits on blue, which goes back over to the right side and triggers the orange pulse again.
Second, at the same time it toggles the toggle latch, which emits a pulse on the respective wire.

Note1: Redpower repeaters have lengths of 1,2,3,4,8,16,32,64 pulses. So the way you have it, it would emit orange after 1 tick, then red/yellow at 8 ticks, then orange at 16. it starts on 1, so 4 right clicks would put it on the 5th, and 5 on the 6th.
Note2: Lemme know if you want better pics.
Note3: If you don't want to take up the extra vertical block you can move the initial pulse former back one, then run the bundled cable along the right side.
 

SReject

New Member
Jul 29, 2019
433
0
0
Very nice! but an inline pulse former on the orange out works :p

With that said, what I *really* need is a 1 wide x (length doesn't matter) x 5 tall setup where red output is a level 0, orange at level 2, red at level 5 ( GET INSPIRED AGAIN! :p )
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
I don't understand what you mean by the inline pulse former on orange?

With one wide, can I place things on the wall? If I can't that makes it much more tricky.
 

SReject

New Member
Jul 29, 2019
433
0
0
here's what it's going in to:

project.png


What it does:

When the button is pressed, it pulls the blue wool block back(in line with the red), pushes both wool blocks down, then pushes the red one out(to where the blue is in the screen shot). When the button is pressed again, the red wool is pulled back, both pushed up, blue wool pushed out... rinse & repeat as needed
 

SReject

New Member
Jul 29, 2019
433
0
0
With one wide, can I place things on the wall? If I can't that makes it much more tricky.
Sadly, no. This is going into a wall of 5 of these babies. right now, I've just extended backwards behind the pistons to get stuff in place. But how awesome would it be if they stacked neatly beside each other? :p
 

Watchful11

Forum Addict
Team Member
Third Party Pack Admin
Nov 6, 2012
3,031
1,351
188
Circuit2.png

I think this works.

One problem, the RS latch emits to the side, so you would have to stagger them.

Again, lemme know if you need better pics.[DOUBLEPOST=1359607684][/DOUBLEPOST]Wait, no it doesn't, the latch backfires again. I'm off to bed, I'll try again in the morning.
 

Zjarek_S

New Member
Jul 29, 2019
802
0
0
This should work in parallel setup:
vcrxAWL.png

You can't place gates on sides, but you can put wires, covers let them "stack". This can surely be made smaller, for example I completely ignored vertical gates and jacketed wires. Download: https://dl.dropbox.com/u/7766559/RS.zip (newest recommended Mindcrack)