The discussion of the Alien series of films and the props used in them is the aim, but if it's got Big Bugs and Big Guns, then they are welcome too!





Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Building and Coding a working Pulse Rifle ammo counter
PostPosted: Wed Feb 07, 2018 9:55 am 
User avatar

Location: Norfolk, UK
Service Number: A02/TQ0.0.82162G1
Country: United Kingdom
I need help building an ammo counter for my pulse rifle, I need help with:
A) parts list of what I'll need,
B) designing working code,
it will need to meet the following criteria:
1) when the trigger is pulled counter decreases by four
2) after a switch is activated, when the trigger is held it decreases at a speed of 900/min until:
a) the trigger is released,
b) the counter is empty
3) the trigger does nothing when the counter is 00
4) when the ammo clip is removed the counter turns off
5) when the clip is put back in the counter starts at 99 then drops to 95

I really appreciate any help you can give me as I've never worked with electronics before :delta:

_________________
"the only thing more dangerous than Xenos... are the marines that hunt them"


Top
 Profile  
Reply with quote  
 Post subject: Re: Building and Coding a working Pulse Rifle ammo counter
PostPosted: Wed Feb 07, 2018 11:24 am 

Country: United States
You can modify Sean Maio's code to do what you want.

A simple physical contact switch with the clip as the connector completing the circuit should do the on/off functions you are looking for.

Unfortunately for the compact factor needed in a functional pulse rifle, the Evike unit is your best bet at the moment. It is completely done and functional.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 07, 2018 1:18 pm 
User avatar

Location: Norfolk, UK
Service Number: A02/TQ0.0.82162G1
Country: United Kingdom
I don't need it to fire, I just need the counter to work

_________________
"the only thing more dangerous than Xenos... are the marines that hunt them"


Top
 Profile  
Reply with quote  
 Post subject: Re: Building and Coding a working Pulse Rifle ammo counter
PostPosted: Wed Feb 07, 2018 1:38 pm 
User avatar

Location: Norfolk, UK
Service Number: A02/TQ0.0.82162G1
Country: United Kingdom
knoxvilles_joker wrote:
You can modify Sean Maio's code to do what you want.

A simple physical contact switch with the clip as the connector completing the circuit should do the on/off functions you are looking for.

Unfortunately for the compact factor needed in a functional pulse rifle, the Evike unit is your best bet at the moment. It is completely done and functional.


can you send me a link to the code please?

_________________
"the only thing more dangerous than Xenos... are the marines that hunt them"


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Feb 07, 2018 2:43 pm 
Mobile Mayhem
User avatar

Location: Rapid View, Saskatchewan
Service Number: A10/TQ1.0.32157E1
Country: Canada
Sean Maio is "Outcry27" here on the forum, you can probably private message him directly :)

memberlist.php?mode=viewprofile&u=42

_________________
Cpl. Melissa L. Klassen, ALG :delta:
U.A.C.M. Executive Officer

Ask about your Armour stencils/Nostromo stencils - Worldwide shipping! Send me a Private Message


Top
 Profile  
Reply with quote  
 Post subject: Re: Building and Coding a working Pulse Rifle ammo counter
PostPosted: Mon Feb 19, 2018 12:00 pm 

Country: United States
Sorry I have been busy with other things.

https://github.com/outcry27/crybabyFX

I have a post on forums on my build using his code.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
 Post subject: Re: Building and Coding a working Pulse Rifle ammo counter
PostPosted: Mon Feb 19, 2018 12:05 pm 

Country: United States
viewtopic.php?f=3&t=16931

Once I get my smart gun fully built I will request my builds on that and the smart gun to be archived.

_________________
The impossible takes a while longer and goes over budget too...


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: