Welcome
Username or Email:

Password:


Missing Code




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


Next birthdays
05/21 Dalus (34)
05/21 Kizmo (37)
05/22 Skynet (32)
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 :: Computer Science
« Previous topic | Next topic »   

pic or avr programmer?

1 2 
Move Thread LAN_403
Solidacid
Thu May 22 2008, 09:05AM Print
Solidacid 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?
Back to top
Bjørn
Thu May 22 2008, 09:59AM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Use Picaxe: Link2
It can't get any simpler or cheaper.
Back to top
reign
Thu May 22 2008, 11:18PM
reign Registered Member #260 Joined: Sun Feb 26 2006, 09:51PM
Location:
Posts: 17
You may also want to give Arduino a shot. It's based off of an Atmel AVR.
Back to top
Avi
Fri May 23 2008, 01:16AM
Avi Registered Member #580 Joined: Mon Mar 12 2007, 03:17PM
Location: Melbourne, Australia
Posts: 410
link seems to be down
Back to top
Solidacid
Fri May 23 2008, 07:05AM
Solidacid Registered Member #1430 Joined: Sun Apr 06 2008, 11:12AM
Location: Ã…rhus, Denmark
Posts: 102
Bjørn Bæverfjord wrote ...

Use Picaxe: Link2
It can't get any simpler or cheaper.
it says on the site that you need 95, 98, ME, NT, 2000 or XP, i have vista :P
and i don't have a seriel or parralel plug on my computer, only usb
Back to top
Bjørn
Fri May 23 2008, 10:42AM
Bjørn 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 Link2)"

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.
Back to top
Capper
Fri May 23 2008, 12:37PM
Capper 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.

Have fun.

Scott
Back to top
Steve Ward
Tue May 27 2008, 06:04AM
Steve Ward 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.
Back to top
GeordieBoy
Tue May 27 2008, 09:39AM
GeordieBoy 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.
Back to top
Dr Who
Fri Jun 13 2008, 09:34PM
Dr Who 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 suprised

I think I was using the STk500 when playing with the AVR's? Programmer's Notepad and this website will get you rolling real fast:
http://www.nongnu.org/avr-libc/user-manual/index.html

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...
Back to top
1 2 

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.