Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 31
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
No birthdays today

Next birthdays
05/07 a.gutzeit (63)
05/08 wpk5008 (34)
05/09 Alfons (36)
Contact
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.
Forums
4hv.org :: Forums :: Electromagnetic Projectile Accelerators
« Previous topic | Next topic »   

V3 Coil Carbine

Move Thread LAN_403
ben5017
Thu Apr 25 2013, 12:11AM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
Max:

no worries.
here are some pictures to keep your interest and motivation in my project. The frame will be cut out on my router I just got operational. I will draw it up on the computer once I know the dimensions of the sub systems and parts. Just waiting on a few more things.

As for my code. I need.

4 stage firing code
- Sensor calibration for each stage (done but needs integrating)
- Limits on max igbt on time for each stage,
- Consecutive coil firing safety
- Debounce each stage

Injector Firing code
- One-shot trigger circuit
- Switch selectable monostable or astable mode
- Debounce
- Adjustable pulse length

Drum Mag
- Fatuba servo code
- Integrate IR reflective sensor servo / encoder haven't decided yet (suggestions?)
- Adjustable sensor sensitivity
- Manual "jog" of a specific degree rotation when button pressed

I hope I didn't just scare you off. I just want to get the main firing code working and add the bells and whistles after
13 102

08 666

40 998

32 568

11 531
Back to top
Maxwell
Thu Apr 25 2013, 01:46AM
Maxwell Registered Member #8497 Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Alright.

Can you provide a datasheet or link to the optical sensors you're using? I'm assuming if you're requesting a calibration that you have analog sensors. Are you hard-set on these? I am using two of these:
Link2
for benchtop chronograph timing and they work flawlessly...The arduino is simply looking for a 1 or 0 from the sensor (high/low)...I don't have any calibrations. Either the beam is broken or it is not. Granted, you need something a little narrower for fitting over the barrel.

Limits on max igbt on time for each stage
---> I've never had success with an IGBT and the arduino - from my understanding they're somewhat latching. If you know the controls behind triggering an IGBT on/off I can write a brief timer to control it.

Consecutive coil firing safety
---> This can be done by through circuitry - always grounded except when given signal.

Debounce each stage
---> Probably won't be necessary as everything is going to be digital.


One-shot trigger circuit
--->This is where we would use the digital de-bounce and code staging to record code status.


Switch selectable monostable or astable mode
--->I don't understand

Adjustable pulse length
--->Simple.

Drum Mag
I've never done servos. There are tons of Arduino libraries for servos...I've used stepper motors before which are easy. Are you looking for feedback to determine if a chamber is loaded or not with the IR reflection? Manual Jog shouldn't be an issue.

I don't see any problems with these requests.

Back to top
ben5017
Thu Apr 25 2013, 02:07AM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
max:

I made the sensors out of a IR emitting diode and a IR phototransistor I got of mouser. I will supply the data sheet. They were working great when firing off of my old 2 stage 555 circuit. I am not set on anything but I think mine will do the job. (you have any experience using photodiodes? read they were much quicker)

---> I've never had success with an IGBT and the arduino - from my understanding they're somewhat latching. If you know the controls behind triggering an IGBT on/off I can write a brief timer to control it.

I am having the arduino controlling a igbt driver, not directly to the gate of the igbt. I will send you a link the that data sheet as well


Switch selectable monostable or astable mode
--->I don't understand


Semi auto or full auto


Are you looking for feedback to determine if a chamber is loaded or not with the IR reflection?

that was the plan. open to Ideas. maybe the encoder is the way to go
Back to top
Maxwell
Wed May 01 2013, 05:57PM
Maxwell Registered Member #8497 Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi Ben5017,
While I'm working on this,
If you want to familiarize yourself with basic C++ code, the arduino notebook published at:
Link2

provides a lot of good background!
Back to top
ben5017
Wed May 01 2013, 07:09PM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
I will most defiantly check that out. BTW if you ever need any parts made, I would be more than happy too cut them out for you on my router, as a show of appreciation.. Just PM me.
Back to top
Maxwell
Thu May 09 2013, 12:44PM
Maxwell Registered Member #8497 Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Hi Ben,

I would anticipate having a functional code tomorrow afternoon.

For clarification again, which model arduino will you be working with?
Back to top
ben5017
Thu May 09 2013, 04:34PM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
good stuff max, i plan on cutting the frame out this weekend too.

Im using a arduino mega 2560 for now. will probly switch it up to a smaller model as space is in short supply.
Back to top
Maxwell
Wed May 15 2013, 02:28PM
Maxwell Registered Member #8497 Joined: Tue Dec 04 2012, 06:24PM
Location:
Posts: 74
Update: code does not function on my mega. (it does on my newer leonardo). But @Ben, no I haven't forgotten about you. Just de-bugging. I have a feeling that the interrupts I'm trying to call are not translating as I expected between boards.

The mega has more interrupt channels than does the other models.

However,
the code for the trigger, armature detection, firing works fine.
Back to top
ben5017
Wed May 15 2013, 09:39PM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
MAX: Sounds good. Here is a little more motivation. still got away to go .....

construction will be 5mm abs.

What is the most compact arduino you think I could get away with? I want to leave a little room for possible upgrades in the future.
1368653960 3315 FT147269 Iso
Back to top
ben5017
Wed May 15 2013, 11:50PM
ben5017 Registered Member #3315 Joined: Thu Oct 14 2010, 04:23PM
Location:
Posts: 156
update
1368661825 3315 FT147269 Iso2
Back to top

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
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.