• Hi Guest. Welcome to the new forums. All of your posts and personal messages have been migrated. Attachments (i.e. images) and The (Old) Classifieds have been wiped.

    The old forums will be available for a couple of weeks should you wish to grab old images or classifieds listings content. Go Here

    If you have any issues please post about them in the Forum Feedback thread: Go Here

DIY

Finished the code on my Arduino

*small sample*

#include <Bounce.h>
#define BTN_PIN 12
#define LED 13

Bounce btn_bounce = Bounce(BTN_PIN, 5);
boolean sequence_activated = false;
int time_before = 0;
byte Flag=0;

void setup() {
pinMode(BTN_PIN, INPUT);
pinMode(LED, OUTPUT);

//Serial.begin(9600);
}

void loop() {
// Update the debouncer
btn_bounce.update();

// If the button is not pressed zero millis with time_before:
if(btn_bounce.read() == LOW) {
time_before = millis();
}
// if the sequence has not happened before
if(Flag==0) {
// Current time - time before button press is equal or greater than 2 sec:
if(millis() - time_before >= 2000) {


This is by no means complete ... and is missing the end part (don't want to give all my surprises away)

 
I'm too lazy to read back through the previous pages... What is this for exactly?

 
i haven't said what its for yet lol :lol: :lol: :lol: :lol: :lol: :lol: B) :ph34r:

sorry SD ... its not for that :P

 
GOT IT

A BFG FOR EXTREMELY DEAF PLAYERS .....

WHAT ???

I SAID:

BFG FOR EXTREMELY DEAF PLAYERS
Lmao ... but no

tomorrow i start work on the electronics and see if it will fit in the box B)

 
Bomb objective? Had something like that for our local site, made a great gameday

 
Arduino controlled bomb objective.... I'm in the middle of doing my own as we speak but having no coding experience, I'm slightly tempted to blow the little bastard up for real.
If you have any specific question I might be able to help you. I did some arduino coding.

 
If you have any specific question I might be able to help you. I did some arduino coding.

i have a code that someone has provided for me but every time i run it through it comes up with errors... not sure if im supposed to have it all wired up for first or what as everyone else that has used the code it seems to work for but for me... nadda

 
So the ACM PK-A red dot sight i ordered a while ago has been sat around getting acquainted with sweet Fanny Adams. The reasons were twofold - even with the locking mechanism completely removed it was too tight to fit onto a AK style dovetail side mount and even had that not been the case, the little turret where the wiring went from the switch into the tube stuck out too far so it could not clear an AK top cover, or indeed that of the PP-19 Bizon 2 for which i ordered it.

So I dremmeled the side mount fittings:

IMG_0043_1.jpg


Tried to unscrew the turret:

IMG_0042_1.jpg


...but it just spun round and round without coming undone.​
So I just cut through 2/3rds of it and snapped it off:

IMG_0044_1.jpg


...then neatened it up with the Dremmel.​
Unfortunately I had cut through the black wire, however there was enough left to solder to the piece outside the turret - woohoo/phew!​
I then coated the wires in hot melt glue to make it BB-proof:

IMG_0045_1.jpg


And now it fits on the Bizon just fine:

IMG_0046_1.jpg


...I can't remember what I named her, or even if I did, but she deffo needs a name now!​
 
It's a male name though, sorta like "Little Sasha".

 
Back
Top