I am trying to understand how to set up blade detect for a removable clip blaster build. I understand the coding and where I need my wires etc, my confusion lies at how to trigger this WITHOUT a blade PCB with the dedicated BD pad. Essentially with this setup, there are pogo pins in the ‘chassis’ clip side. This clip is removable. The female side of the pogo pins reside in the blaster itself. If I wire say, my blade detect wire on the board chassis side to D3, then up to the male pogo pin, what do I wire up on the female side. Essentially this is a small 2020 strip build. Hopefully I am not over complicating my description.
Blade detect is simple. It’s just like using a button.
For a button to be pressed, you bridge the button pad to ground.
So whatever the external component is just has GND and the data/button pin bridged.
Of course this means you need to send ground out to this external thing, but it sounds like you’re already doing that.
This is a perfect explanation thanks Ry. I dont know why it made me have an aneurysm trying to figure it out. So basically from Data3 on the board, to pogo pin on one side, then on the other side pogo pin to the switch ground?
I think you’re right, but I want to make sure I follow…
Are you describing two pogo pins on the same connector/side? (And two pads on the other?)
You said the pogo pins are the magazine side, is the board in there too (in the magazine)? (fwiw it’s usually more correct that the male side of something is shrouded to prevent accidental contact or damage)
“Switch ground” should just be normal gnd/battery -.
That’s probably pedantic and you know what I mean, but I just want to clarify.
If that’s the case, then there are receiving pads inside the blaster? In which case the pad which receives the data3 pogo pin should be bridged/jumped to the pad which receives the ground pin.
Yup you are right. The spring side of the pins will be recessed. There are receiving pins inside of the blaster that will go out to switches and the 2020 strip. So I’m planning on having a dedicated pin for the blade detect, that I will, I assume, bridge or jump to the GND on the blaster body side.
Sounds right then
Appreciate you as always man
. Will report back when complete!
Will look forward to it.
So have wired everything up, and clip in / clip out is working. When I insert the removable mag and it makes contact with the internal pins, I get my sounds. And vice versa when I remove. This does, however, make all of the other buttons not work. So trigger and mode select do not work. As a test, I removed the wire going to my ClipButton (in this case, aux2Pin). Upon doing this, the buttons function normally, but I loose the clip in/ clip out sound. I’m using the stock blaster.h prop file. Any ideas?
That doesn’t make sense.
How many buttons do you have?
What pads are they wired to?
What does your config file look like? (especially the button section)
Three button setup: Button FireButton(BUTTON_FIRE, auxPin, “fire”);
Button ModeButton(BUTTON_MODE_SELECT, powerButtonPin, “modeselect”);
Button ClipButton(BUTTON_CLIP_DETECT, aux2Pin, “clip”);
Aux2 is wired to the pogo pin that makes a connection to the blaster side pogo pin, which is subsequently wired with the GND wire.
I think the clip detect button is supposed to use LatchingButton…
That doesn’t explain why it makes the other two buttons not work though.
This was it @profezzorn Thanks again Fred!! Clip in/out working, all switches working nominally. Will post a video here when I have one!
Very cool. Can’t wait for your “to the customer” video.
The events would have an extra button bit set, so they wouldn’t register, right?
Right, the button would be “held” and the other buttons would register as a combination…