Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 22
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Gavin (49)
Froskoy (33)
UnHappy1 (59)


Next birthdays
07/17 Eric (53)
07/17 HM_Murdock (53)
07/18 Billybobjoe (35)
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 :: General Science and Electronics
« Previous topic | Next topic »   

how to program a pic?

1 2 
Move Thread LAN_403
Maz
Sat May 06 2006, 09:10PM Print
Maz Registered Member #111 Joined: Fri Feb 10 2006, 01:04AM
Location: Menasha,Wisconsin
Posts: 65
there is a very easy way to program a pic. the problem comes in with cost. for me, the equipment to program them using software is rather expensive(from picallw.com) i have a more important project at the moment than programming a pic so i mustn't waste money.

is there a purely electrical way to program functions, or could i possibly build my own programmer?

i admit i know next to nothing about pic controllers, not asking for the ball park, just the directions.
Back to top
HV Enthusiast
Sat May 06 2006, 09:24PM
HV Enthusiast Registered Member #15 Joined: Thu Feb 02 2006, 01:11PM
Location:
Posts: 3068
yes, do a simple search on google for PIC programmers. usually a few dollars in parts and a serial cable are all you need to program a PIC (with conjuction of your computer of course)
Back to top
Maz
Sat May 06 2006, 09:33PM
Maz Registered Member #111 Joined: Fri Feb 10 2006, 01:04AM
Location: Menasha,Wisconsin
Posts: 65
any suggestions? problems others have faced?
Back to top
AndrewM
Sat May 06 2006, 09:36PM
AndrewM Registered Member #49 Joined: Thu Feb 09 2006, 04:05AM
Location: Bigass Pile of Penguins
Posts: 362
You very much need to GOOGLE for this. There are hundreds, if not thousands, of pages detailing low, or 'no' parts pic programmers, and accompanying free software.

Your tradition of poor threads appears to be continuing.
Back to top
Chris Russell
Sat May 06 2006, 10:32PM
Chris Russell ... not Russel!
Registered Member #1 Joined: Thu Jan 26 2006, 12:18AM
Location: Tempe, Arizona
Posts: 1052
You'll have to Google for the schematics, but there are plenty of designs out there that will let you use a serial port to program a PIC. The only suggestion I have is that you use an external, battery-operated +5V supply, as serial ports can vary from computer to computer, and yours may not be able to supply enough current to run the PIC. Also, if your serial port can't supply enough voltage for Vpp, you may need to build a supply for that as well.
Back to top
rupidust
Sat May 06 2006, 10:36PM
rupidust Banned
Registered Member #110 Joined: Fri Feb 10 2006, 12:23AM
Location: Banned City
Posts: 85
Maz:
Just like all things technology related, a PIC programmer can be simple and cheap, or big and expsensive. For your purposes where you must not waste money and you hava a pending project of greater importance then building a programmer, then I suggest you go ahead and buy that programmer from the site you listed picallw.com. That will be about $25 usa not including shipping. You can find a cheaper programmer, however this price is more than fair and is one of the lowest that includes a ZIF socket. That is a kit buy the way, so you will spend alot of time assembling and soldering.

Now if you want to build one using the ubiquitous few dollars and few parts, go with an AN589 programmer. The AN589 programmer first of all works, afterwhich it is compatible with most programmer softwares, is cheap, and uses a few parts. How wonderful it is for those who created the PIC to provide a simple and effective programmer for their own parts.

The Datasheet for AN589 programmer is here http://ww1.microchip.com/downloads/en/AppNotes/00589a.pdf
The location of a compatible Software I use regularly is here: http://www.ic-prog.com/
An image of a board I tossed together long ago and still pograms many a PIC and PIC types is here: Working programmer
My version of AN589 schematic which is provided in its Datasheet The schematic for above

Back to top
Bjørn
Sat May 06 2006, 10:52PM
Bjørn Registered Member #27 Joined: Fri Feb 03 2006, 02:20AM
Location: Hyperborea
Posts: 2058
Take a look a these, used by several people on the forum:
http://sciencezero.org/electronics/com84.htm
http://sciencezero.org/electronics/hvprog.htm
Back to top
Wolfram
Sun May 07 2006, 12:50AM
Wolfram Registered Member #33 Joined: Sat Feb 04 2006, 01:31PM
Location: Norway
Posts: 971
I would also like to put in a second word for WinPic800 (it is already mentioned on our site).

I have used both Ic-Prog and WinPic before, WinPic800 is by far the best one. Try it out!


Anders M.
Back to top
AndrewM
Sun May 07 2006, 01:06AM
AndrewM Registered Member #49 Joined: Thu Feb 09 2006, 04:05AM
Location: Bigass Pile of Penguins
Posts: 362
I started with the Com84, and it works great for the 16F84a, for example, but couldn't program my 16F628A's.

Olimex makes a $50 AVR, PIC, et al programmer that is compatible with MPLAB itself just like the $200 Picstart Plus
Back to top
Maz
Sun May 07 2006, 02:49AM
Maz Registered Member #111 Joined: Fri Feb 10 2006, 01:04AM
Location: Menasha,Wisconsin
Posts: 65
thanks you guys(especially rupidust) for not giving me too much flak. btw i did google it but gave up after a while because i didn't like sifting through tutorials that gave no example other than how to program it (on computer) and not build the 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.