Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 37
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
One birthday today, congrats!
Terrorhertz (15)


Next birthdays
09/30 Terrorhertz (15)
10/01 Avalanche (41)
10/02 Carl A. Willis (44)
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 »   

microcontroller for a coilgun

Move Thread LAN_403
Killa-X
Fri May 15 2009, 12:57AM
Killa-X Registered Member #1643 Joined: Mon Aug 18 2008, 06:10PM
Location:
Posts: 1039
Bjørn wrote ...

A PIC is a dedicated simple microcontroller and it is pretty good at it. The main advantage is that it is simple and you can spend most of your time figuring out how to use it well.

Hey now! Lets not forget AVR (at least the rectangle shaped ones) are easy to do also! Once you connect your 5 programming pins to it, and if you use the correct software, you just scroll through a list of Atmel chips, select the exact model, and program :)

I find it extremely easy, yet i'll admit i never had a PIC, I always started with AVR ATTINY2313 for SpokePOV (Adafruits 30+ led board that creates light-blur POV pictures and text on your bike wheels at night. Fun.
Back to top
Terrorhertz
Tue May 26 2009, 03:11PM
Terrorhertz Registered Member #1965 Joined: Sun Feb 08 2009, 02:14PM
Location: Herefordshire UK
Posts: 3
If youre new to microcontrollers and just want to get something working fase, Id go for the Arduino or variant. They are very east to program and dont take long to get started.
Back to top
LithiumLord
Tue May 26 2009, 03:50PM
LithiumLord Registered Member #1739 Joined: Fri Oct 03 2008, 10:05AM
Location: Moscow, Russia
Posts: 261
Well, an Arduino board would be an overkill here. I'd go with a single AVR alone if it comes down to AVR usage - probably on a header board in order to conserve time as those have everything you really need (eg ICSP and JTAG pins, both XTALs and some bypass caps) - and nothing you do not ;).
Back to top
guitardude012
Wed Jul 08 2009, 09:23PM
guitardude012 Registered Member #968 Joined: Fri Aug 24 2007, 04:54PM
Location: Norman, Oklahoma
Posts: 104
I vote for the atmega8/168. Although I'm normally a proponent for the arduino family, they aren't really the right tool for the job here.
Back to top
Killa-X
Thu Jul 09 2009, 12:37AM
Killa-X Registered Member #1643 Joined: Mon Aug 18 2008, 06:10PM
Location:
Posts: 1039
guitardude012 wrote ...

I vote for the atmega8/168. Although I'm normally a proponent for the arduino family, they aren't really the right tool for the job here.

I guess whatever is cheapest. I'm a fan of ATMEGA644 because its 64kb of space, its fast, and can be programed with Adafruits USBtiny, and AVR studio 4. Arduino has its own VERY easy programming language which might help, but I find AVR good. If your code is under 2KB, I'd use Bascom with an AVR, because bascom language is just as easy as arduino, the demo just limits you to 2kb.
Back to top
hak8or
Thu Jul 30 2009, 12:28PM
hak8or Registered Member #2025 Joined: Fri Mar 13 2009, 05:39PM
Location:
Posts: 16
I say for pic.

You can get free samples from microchip, and make the programmer yourself but if its to complicated you can get the pickit 2 which has some nifty additional features such as the logic tool.

If ASM is not your forte then you can get the picbasic pro compiler/assembler from mikro electronica.

It's free if you don't need more then 2k words and you can see how it looks in assembly within the program, so you can also learn assembly in the process!
Link2

Not much to say on arduino as I have not worked with them that much, but basic stamp is VERY expensive for what you get. It is good for absolute beginners but not so well for more advanced applications.
Back to top
Jordan aka Axiom
Thu Aug 27 2009, 03:56AM
Jordan aka Axiom Registered Member #2317 Joined: Thu Aug 27 2009, 01:45AM
Location:
Posts: 27
I'm also interested in applying a microcontroller to my project, which is a railgun. I'm evaluating the different methods of switching power, which is a bank of at least 10 capacitors.

One option is to create a conductive piston that contacts a conductive block, being powered by high-pressure compressed air or explosives. The capacitors would be connected together, in parallel, or in some form of a Pulse Forming Network, thusly allowing me to switch all of them from one switching mechanism with one signal.

Another option is to parallel up as many SCRs as necessary with the capacitors connected the same as above. Again, allowing me to switch all of the capacitors with one signal.

The last option, which involves the microcontroller, would have an SCR on each capacitor with each SCR being controlled by the microcontroller. This would allow me to create practically any pulse that I want. I would need the microprocessor to be able to send out at least 10 signals within a period ranging from 10 to 500 microseconds. I'm not sure if any of these aforementioned microcontrollers could fulfill these requirements.
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.