loading
Based on the Halo 3 Battle and Assault weapons, outline 1:1 scaled to what Halopedia determine as the correct dimensions.

Car locking solenoids for sound/vibration, white and yellow phased LEDs for muzzle flash, 36 and 32 rounds ammo counter and realistic rounds per minute.

Further pictures and CCS C source at my web site www.iecd.co.uk/toys
<p>Sorry this is an old project, I had a look through my old stuff and I think this should be a working example.</p><p>#include&lt;16f883.h&gt;<br>#use delay (clock=4000000,RESTART_WDT)<br>#byte PORTC=7<br>#fuses NOWDT,INTRC_IO, MCLR <br><br>long k = 0;<br><br>void SSeg(int Count);<br><br>#define MUZ1 PIN_A5<br>#define MUZ2 PIN_A4<br>#define TORCH PIN_A3<br>#define LED1 PIN_A2<br>#define LED2 PIN_A1<br>#define SOLENOID PIN_B0<br><br>#define SSEG1_K PIN_A7<br>#define SSEG2_K PIN_A6<br><br>#define TRIG PIN_B5<br>#define MAG_IN PIN_B4<br>#define BOLT_BACK PIN_B3<br>#define SAFE_ON PIN_B2<br>#define TORCH_ON PIN_B1<br><br><br>void main(void)<br><br> {<br><br> int Rounds_Rem = 0, TRIG_LATCH = 0;<br> long X = 0;<br> short TRIG_FLAG = 0;<br><br> //printf(&quot;Halo Assault Rifle V1.1 J.Austin 2008\n\r\n\r\n\r&quot;);<br><br> //setup_adc(ADC_CLOCK_INTERNAL);<br> //setup_adc_ports(sAN0|VSS_VREF);<br><br> output_low(TORCH);<br> output_low(MUZ1); <br> output_low(MUZ2);<br> output_low(SOLENOID);<br> output_low(LED1);<br> portc = 0;<br> <br><br> <br> output_low(BOLT_BACK);<br> output_low(MAG_IN);<br> output_low(TORCH_ON);<br> output_low(SAFE_ON);<br> output_low(TORCH);<br> output_low(LED1);<br> output_low(LED2);<br> <br> Rounds_Rem = 36;<br> do<br> {<br><br> if(Rounds_Rem == 0 )<br> {<br> if(X &lt; 300)<br> {<br> SSeg(Rounds_Rem);<br> delay_ms(50);<br> X++;<br> }<br> else<br> {<br> <br> Rounds_Rem = 36;<br> X = 0;<br> }<br> }<br> <br><br> if(input(TRIG) &amp;&amp; TRIG_FLAG == 0 )<br> {<br> TRIG_LATCH = 3;<br> TRIG_FLAG = 1;<br> }<br> <br> if(!input(TRIG) )<br> {<br> TRIG_LATCH = 0;<br> TRIG_FLAG = 0;<br> }<br><br><br> if( Rounds_Rem &gt; 0 &amp;&amp; TRIG_LATCH &gt; 0)<br> {<br> Rounds_Rem--;<br> TRIG_LATCH--;<br><br> output_high(MUZ1); <br> delay_ms(20);<br> output_high(MUZ2);<br> delay_ms(20);<br> output_low(MUZ1);<br> delay_ms(10);<br> output_low(MUZ2);<br> <br> output_high(SOLENOID);<br> delay_ms(30);<br> output_low(SOLENOID);<br> <br> }<br> <br> <br> if( input(TRIG) ) k = 0; //Batt go into &quot;low usage mode&quot;.<br> <br> k++; //5ms+ prog time for SSeg to return 12000=1min<br> if( (k &gt; 12000) ) <br> {<br> delay_ms(500); <br> portc = 0;<br> }<br> else<br> {<br><br> delay_ms(1); //delay plus execution time, of 7 seg off duration<br> SSeg(Rounds_Rem); //call 7 seg display<br> output_high(LED2); //turn led off<br> }<br><br><br><br> }<br> while(true);<br><br> }<br><br><br><br> void SSeg(int Count)<br> {<br><br> Int Tens, Units, NumToConv, x=0;<br> Short F=1;<br><br><br> Tens=Count/10; //Divide count by 10 to get Tens<br> Units=Count%10; //And find the remainder for the Units<br><br><br><br> set_tris_c(0);<br><br><br><br> do <br> {<br><br> ++x;<br> if(F) //F is just a scratch flag here<br> {<br><br> NumToConv = Tens;<br> Output_low(SSEG1_K); //Turn off &quot;10s&quot; &amp; on &quot;1s&quot;<br> Output_high(SSEG2_K);<br> F=0;<br><br> }<br> else<br> {<br><br> NumToConv = Units; //Turn off &quot;1s&quot; &amp; on &quot;10s&quot;<br> Output_low(SSEG2_K);<br> Output_high(SSEG1_K);<br> F=1;<br><br> }<br><br> switch (NumToConv)<br> {<br> case 0:<br> PORTC=63; //Decimal 63 produces 0 on the 7 seg display<br> break;<br><br> case 1:<br> PORTC=6;<br> break;<br><br> case 2:<br> PORTC=91;<br> break;<br><br> case 3:<br> PORTC=79;<br> break;<br><br> case 4:<br> PORTC=102;<br> break;<br><br> case 5:<br> PORTC=109;<br> break;<br><br> case 6:<br> PORTC=125;<br> break;<br><br> case 7:<br> PORTC=39;<br> break;<br><br> case 8:<br> PORTC=127;<br> break;<br><br> case 9:<br> PORTC=111;<br> break;<br><br> default:<br> PORTC=128; //Turn &quot;nav&quot; led on<br> restart_wdt();<br> }<br><br><br> delay_us(2500); //This delay sets the On time for each Display<br> portc = 0;<br> }<br> while(x&lt;2);<br> <br> portc = 0;<br> output_low(SSEG1_K); //Turn off both &quot;10s&quot; &amp; &quot;1s&quot;<br> output_low(SSEG2_K);<br><br><br> }</p>
<p>I could not access your website. Is there any other website that I can go to for the CCS C source code?</p>
<p>I'm looking to purchase a lazertag system to start a lazertag business, <br>would you be able to produce or lead me to the guns and equipment I need <br> that would be safe and certifiable, that would be a cheaper option than <br> the $600/gun price range that I've seen advertised by the lazertag <br>manufacturers? email if so at ulrichinvesting@gmail.com</p>
wow please send me the scemitac for this
dude you are so lucky you know how to make all that electric crap<br /> <br /> i really want an Electric Energy Sword so bad but im not smart enough XD<br /> <br /> and :( :(<br />
hey listen make a engry sword out of clear plastic tubes then just wire up batterys to leds or el wire and thats all
While this is very nice, im a newbie to some of the stuff on the new site, can you edit the text on the page and give a small step by step on what we should be reading and looking at? i cant find material lists or anything
i hve the same scope<br /> <br />
It would've been better if you rounded the top of the assault rifle, but none the less, it's still awesome!<br />
CAN&nbsp;&nbsp;HAS&nbsp;HAO&nbsp;TO?!?!!?!?!?!<br />
a step by step would be apriciated ... i bet you could rig it to work w the covenant lazer tag weapons
I will try and put something together. I am not familiar with the exact equipment of the covenant laser tag, but these systems are generally very simple. You would need to examine the serial data transmitted via the laser. Some time ago I built an experimental "sniper rifle" with scope. It fired an encoded laser at a "target" consisting of rotating photo diodes. The software tried to account for theoretical wind and gravity, of course these did not effect the laser, but we tried to simulate what would be happening to a projectile. I had it working over distances of half a mile. The project returned data over a radiolink.
Frakkin sweet.
What kind of Photo-Diodes dis you use? Do you have schematics? What kind of laser with what kind of power source? Was the "Working distance" the laser, or projectile? Did it actually shoot the diodes? How? -RoAr
I am sorry that was a commercial project, and I can not expand on it here.
The covenent tag system is easy, i modded a few nerf guns to work with them, i just took a few broken parts and some spare IR leds and soldered them to a momentry switch on the trigger =D<br/>
covenant as in the aliens from halo
Instructable, please.
wow thats realy cool :P
You should definitely make a how-to.
He should make a how to. It would be so cool. If it was a how-to it would be around 5 STARS!!!!
the BR reminds me of the FAMAS
I'm sure you get alot of this but. please make an instructable over this .please.please.
that is friggen awsome. you could see i am a big HALO fan by my pic ;->
Cool. Does the flaslight on the Assult Rifle work?
Yes, the green push button turns it on and off, also it powers down after 30 seconds if the gun is not fired in that time.
Looks like a cool project, but you didn't actually "instruct" us on anything. Instructables should be step by step projects.
Thank you, but just to point out this was a Slideshow format submission, by site definition: "Slide shows are for showing off photos of what you made or did, but don't have full instructions to create an Instructable with". If I had the time I would have provided a full Instructable, but I had/have several tight work related projects to get through. The url provides schematics, source code and a description of the circuit if this helps.
sick!! 5* what did you use for that plastic plate on the sides? plexy glass?
The side panels are made from "hardboard" (could be UK terminology??). The edges and grip "moldings" etc are formed with files and treated with super glue (cyanoacrylate) and activator to make them very hard. The triangular "heat Shields" and raised outlines are again hardboard cut outs bonded on to the base hardboard. Once sanded down, the panels are primed with several coats of celleouse primer and rubbed down to be very smooth.

About This Instructable

7,757views

52favorites

License:

More by xjr:Halo Diorama Halo Battle and Assault Style Toys with realistic firing. 
Add instructable to: