If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
Max this is what I need
Phase 1: 1: pulling the trigger activates a 1shot trigger output with an adjustable pulse length. 2:when a switch is flipped, pulling and holding the trigger no longer oneshots but puts it into astable output with adjustable on/off times. 3:(x5) sensor setups that will be connected to the output of my optical gates (IR diode + opamp) which when a slug blocks the beam the arduino will send a signal to my igbt gate drivers.
the above is the minimum things I need right now to fire the x3cc.
Phase 2: After that I will be working on the drum magazine which will hold 30+ slugs. I plan on connecting it to a continuous rotation servo or a dc/gear reducer motor, or maby a stepper, haven't decided yet. these will be controlled by the arduino which will read a signal from a hall effect sensor that will detect the presence of a slug. The arduino will rotate the motors as soon as it doesn't detect anything, until it does. the sensitivity will need to be adjustable as well to dial the feeding system in.
phase 3: The frame will be the final step after it is firing/feeding acceptable and i get my cnc router fully operational.
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
update:
phase 1: #3 Done
got the firing code for one of my optical sensors working, along with an auto calibration of the sensor upon program start up to set expected max min values, along with a manual sensitivity adjustment 0-255. still have to add the rest of the stages. The sensor is super sensitive. cant wait to see If it makes it shoot any faster. (Would the arduino digital output be that much quicker than a 555?)
next up is the triggering code. I messed around with modifying a De-bouncing trigger code for a bit today. trying to act as a adjustable pulse "one shot", with out much luck. Haven't given much thought to the select fire yet either.(max where you at bro??)
Registered Member #8497
Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi ben5017,
Been quite busy with other things at the moment - apologies on the delayed code.
The arduino can output hellafast for what it is - roughly 1059times/millisecond without overhead.
You can use the delaymicroseconds command to turn on/off very quickly: " digitalWrite(outPin, HIGH); // sets the pin on delayMicroseconds(50); // pauses for 50 microseconds digitalWrite(outPin, LOW); // sets the pin off "
How about some noise-supression to prevent possible false-triggering? ALL inputs must become insensitive to ANY signals for a dozen microseconds every time after ANY of the coils got energized or switched off, as this process emits high level EMI.
Registered Member #3315
Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
yan:
1 step ahead of you. Have a few picked out. I dunno how to size them though. Take a look if you get a chance http
Max: gonna mess around with the injector driver code tonight. Ill keep you posted. Thanks for the tips. Any more commands you think might be usefull? links to a good refrence?
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.