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 #1430
Joined: Sun Apr 06 2008, 11:12AM
Location: Ã…rhus, Denmark
Posts: 102
hey all. i recently got interested in microcontrollers and now im wondering if i should buy a pic or an avr programmer or even better, build one myself. if i want to program simple things like electronic dice and led flashers and such, what chips should i use?
Registered Member #27
Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
According to this it should work fine:
"All the software described above is for Windows operating systems (95, 98, ME, NT, 2000, XP, Vista) "
"USB Download Cable (part AXE027) (Vista / XP users - ensure you are using the correct XP specific driver (also valid for Vista), available from the software page at )"
Remember that XP and vista shares the same driver model so almost all XP drivers will work on Vista as long as they are correctly written. Just bypass those horrific install programs and find the XP .inf file and the driver files and install from there. Then devices like 10 year old 3Com network cards and Canon LiDE scanners will work without any problem.
In addiftion there are probably USB <--> RS-232 converters that will work fine.
Registered Member #914
Joined: Fri Jul 20 2007, 06:22PM
Location: South Bend, IN
Posts: 85
what chips should i use?
Once you start playing with micros, you'll find that both Microchip and Atmel have good products. I've used both, and it's nice to have the choice when you need it - so you may want to invest in both programmers.
The AVRISP MKII USB programmer for Atmel parts works the best for me ($36 at Digikey part number ATAVRISP2). I have a Dragon, and a STK500, but only used each once, and only purchased them because Atmel had a special 2-for-1 sale.
I use the MPLab ICD2 for Microchip parts. The cost was about $100 with a Circuit Cellar contest coupon.
There are a lot of available demo boards out there to play with for either manufacturer, and everyone is getting into the design contest game - so check their forums and web sites for deals on programmers, demo boards and such. Some give out free ones if you enter their contests. Renesas is running one right now.
I will say that the AVRFreaks forums are more helpful than the Microchip forums, but there are some embedded system forums that will help you with either chip set.
The programming software for Atmel is all free (AVR Studio, WINAVR), the free C compiler from Microchip is only a "student" version with some limitations. Stay away from Keil uVision if possible - I've had the most problems with their software, and the full versions are very expensive.
For the hobby group, parts in DIP packages are nice, and Atmel has more selection for 40-pin parts with lots of I/O pins. Microchip has some 28-pin parts that are faster with configurable I/O pins, and they will send out samples without a vendor calling on you.
So.....
Check the forums for contests with free demo boards and coupons for discounts on programmers, then just pick one and start programming. There really isn't too much trouble switching back and forth, and most of your code that's not hardware specific will work with both compilers.
Registered Member #146
Joined: Sun Feb 12 2006, 04:21AM
Location: Austin Tx
Posts: 1055
I started out with Atmel AVRs and found it very easy (and relatively cheap) to get going. After over a year of using AVRs, i used a dsPIC for a project, i found the documentation for the PIC stuff to be awful compared to the AVR. The PIC had some performance features the AVR didnt, though it did cost more (nothing special there). In general i look for an AVR that will work first, if it doesnt exist i look elsewhere.
Registered Member #1232
Joined: Wed Jan 16 2008, 10:53PM
Location: Doon tha Toon!
Posts: 881
The dsPIC is quite a leap from the normal 8-bit PICs though Steve. It helps if you are already familiar with DSPs if that is the route you want to take for your application. I have used dsPICs for commercial, research and hobby projects and have also found the documentation quite heavy going.
Registered Member #1540
Joined: Fri Jun 13 2008, 08:49PM
Location: Chicago
Posts: 3
Well I started off with a Sharc DSP and would absolutely not recommend that to anyone starting out for the first time. I then got involved with the AVR's and they seemed like a piece of cake. I got a little involved with Steve's dsPic and I gotta say that documentation is confusing as all get out. In fact, the Sharc was actually easier
Btw, I wouldn't recommend building your own programmer at first. There are always going to be quirks with the micro you choose and it's already hard enough to get things working with hardware that you know should work outta the box. Besides, it's not like you're going to gain any convenience by making your own...especially when you don't know what features you might want in your programmer...
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.