Yeah, lots of choices. I’ll try to put up a NAND circuit later today.
…this should work:
[EDIT: Removed bad circuit…]
Yeah, lots of choices. I’ll try to put up a NAND circuit later today.
…this should work:
[EDIT: Removed bad circuit…]
The ‘ZX’ groups toward the left are D Flip Flops, and the diamond-shaped groups on the right are XOR gates, and the group on the bottom is a NOR gate.
Whenever a line goes low (the button is pushed) the flip-flop on the other line is frozen. If both lines are low (i.e. both buttons are pushed), then the NOR goes high, and it flips the input…
With this circuit hitting both buttons at the same time could still result in an SOCD, but the timing is going to be on the order of nanoseconds.
Holy Dick Rufus, nice job.
Pretty sure you don’t need that many parts…though getting below 17 might be tricky…
Isn’t there a way to add code to do this to an MC Cthulhu?
You going to license it from Toodles?
I tried your NAND circuit, I found that it only worked up until a point (unless I put it together wrong). Namely; the second input would take priority over the second, but once I released the first it would neutral out (on hitbox ssf4ae 2012).
I also found that Nerrage’s arduino code (non-c style one) didn’t work on the nano that I bought. I slagged through it though and figured out how to make it work with interupts. Here is the snip:
int left_input = 2;
int right_input = 3;
int right_output = 12;
int left_output = 11;
volatile boolean b = false;
void setup()
{
pinMode(left_input, INPUT);
pinMode(right_input, INPUT);
pinMode(left_output, OUTPUT);
pinMode(right_output, OUTPUT);
attachInterrupt(0, left, CHANGE);
attachInterrupt(1, right, CHANGE);
}
void left(){
b = true;
}
void right(){
b= true;
}
void loop()
{
digitalWrite(left_input, HIGH);
digitalWrite(right_input, HIGH);
digitalWrite(left_output, HIGH);
digitalWrite(right_output, HIGH);
b=false;
detachInterrupt(0);
while(digitalRead(left_input)==LOW && b==false)
{
digitalWrite(left_output, LOW);
}
attachInterrupt(0, left, CHANGE);
digitalWrite(left_input, HIGH);
digitalWrite(right_input, HIGH);
digitalWrite(left_output, HIGH);
digitalWrite(right_output, HIGH);
b=false;
detachInterrupt(1);
while(digitalRead(right_input)==LOW && b==false)
{
digitalWrite(right_output, LOW);
}
attachInterrupt(1, right, CHANGE);
}
Hope this helps other people out, if you have any questions don’t hesitate to ask
Hmm… so if the top line in is low, and the bottom line in is low
Hmm, it’s been a couple of months, and I know I had to revise it, but what I’ve got up looks like it should work to me. Can you take a pic of the circuit that you built?
P.S. The ‘code’ tag gives fixed width so you can indent.
I double-checked the NAND circuit, and it should work.
I have questions for the both of you.
1]Which device do you put each of these in, and how?
2]Does this give you Asynchronous last command entry for up and down?
-example: Holding U, tap and release D once gives you u, then down, then u
3]Does it also give you Left + Right = Neutral in all situations?
I could probably make a custom firmware for the cerberus that handles the specific SOCD requested. I think there is even enough spare pins to be able to do the cleaning on the 360 side as well in a dual mod.
Is there a way to get L+R=N, D+U=U, and asynchronous D+U=Last command entered into a Toodles Cthulhu, or an Akishop PS360+? I’m planning to purchase a hitbox at some point, and I want to have someone put this software [or hardware] hack into it. I’m also planning at some point to have inserts shoved into the buttons to deaden the sound of the buttons.
hmm so if im building a custom hitbox and interested in getting something like this worked into my box.
so currently im only sure i will need the pcb as a standard, whats this arduino thing? and do i need a socd cleaner ontop of that?
SOCD yes. Adruino? No. Unless your going to put a kanooter valve.
i googled what a kanooter valve is and couldnt find out…erm what on earth is that and what does it do?
im guessing since i dont know i wont need it?
Just messen with u. It’s like changing ur blinker fluid in ur car. Seriously a basic hitbox just needs the controler PCB and SOCD cleaner.
loool you got me, soo im about to bust 600+ on a hitbox what would a souped up “advanced” hitbox have inside
Depends on what bell and whistles your looking for. I’ve built two for under $200. IMO All out I would spend the majority on a nice enclosure like a Foehammer. Then PCB, SOCD cleaner, LEDs, LED controller PCB, buttons you like the best, artwork, and finally a top panel. So start to plan your project then get your materials and have fun.
yeah im going to get the case done by B15 so it should look godlike, i want to change how the socd cleaning worked so ive been googling left right on how to do it,
with regards to the components would the controller pcb,socd pcb, led pcb and controller mean id have 5 different
of these in my hitbox? with regards to getting all the bells and whistles since im feeling to burn $$ what else can i get? my knowledge on this is weak, id hate to build it then want to rebuild it to put more stuff in at a later date.
3 PCBs more like. Which contoller pcb is that. It looks nice. Hmmm you want to spend more money well then I suggest you build this first one to spur your imagination to add things you find awsome. I have ideas for my future projects but they are top secret. With a good imagination the sky is the limit. I’ve been tempted to make my own enclosure out of fiberglass and then do an awsome paint job with pearl in the clear coat. I have 3 other projects pending before I get started on that though. Happy creating…