Results 1 to 7 of 7

Thread: PIC programming how to

  1. #1
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053

    PIC programming how to

    Can any one give me some advice on how to start PIC programming?
    - I need to build a PIC programmer first. Where to get the info to build one cheap, easy to build and should work (of course)?
    - What kind of software that need to burn the program into the chip?
    - What development environment should I use? What are the languages use to write the program? Assembly (man I hate that)? The end result is either a hex or bin file right?
    I notice that Ricky has some experience in this area. Can you sight some light for this newbie?
    Not that I want to program a PIC for a shutdown controller, but I also want to control some other thing in the car as well (controller to interfere with cellphone/pager/car alarm to shutdown the car if it ever get stollen).
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  2. #2
    It ain't easy being a green moderator meddler's Avatar
    Join Date
    Aug 2002
    Location
    Steps out the front of Henson's workshop or Sydney
    Posts
    2,783
    you could look at picaxe. link It is real easy to use and very flexible
    Never let the truth get in the way of a good story

  3. #3
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    Heres the link for cheap programmers :

    http://www.people.man.ac.uk/~mbhstdj/piclinks.html
    http://www.bobblick.com/techref/proj...g/picprog.html
    http://www.myke.com/elcheapo.htm

    Theres lots of them around...some of the easy to build are serial based programmers, used for satellite hacking.

    But if you do want to develop your own stuff best to buy PICKIT 1 FLASH STARTER KIT from microchip or something that support in circuit programming atleast. You dont want to keep taking the chip out, reprogram it then refit it for every bit you change in your program...develop it with a reflashable PIC then modify it for an OTP when you think you are 100% sure its all correct.

    Assembly language is PIC programm is normally less than 1KB long so its easy to do everything in pure machine code. You can program in high level language C or BASIC but you dont have full control in what you wanna do.

    http://www.parallax.com

    They sell some BASIC STAMP based on PIC microcontroller, they cost more though.

    Buy or make a good programmer...and make sure it can program your target chips. Im a newbie in PIC programming too but I do have good knowledge in the good old Z80 so I guess I pick up quite well.

    If you come across a "MAGIC PACKET" emulator for PIC let me know. My plan is to make a wake-on-lan / lan-shutdown using a PIC.

    Its amazing what you can do with those little chips

  4. #4
    Constant Bitrate
    Join Date
    Oct 2002
    Posts
    176
    you gotta learn some assembly, registers etc
    JAL is simple and free as a higher language

  5. #5
    Raw Wave
    Join Date
    Jun 2003
    Posts
    1,823
    Dave,

    Have you used JAL? what is it like with PIC?

  6. #6
    MySQL Error MatrixPC's Avatar
    Join Date
    Sep 2003
    Location
    Beach City, Socal
    Posts
    4,053
    Cool, Thanks guys. Time to digging up those assembly books
    2004 Matrix XR A7N8X-VM/400 AMD XP-M 2500+, DS-ATX
    89 Supra Turbo P3 600E@750/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  7. #7
    Constant Bitrate
    Join Date
    Oct 2002
    Posts
    176
    Quote Originally Posted by Ricky327
    Dave,
    Have you used JAL? what is it like with PIC?
    its the first thing I tried and I've stayed with it, perfect for a qb45 dinosaur
    (me). weak on docs,strong user group (yahoo) includes industrial users, development is better now that its open source, libraries for hd44780, comm dsxxx temp devices etc. u can call assy as needed , doesn't isolate u from the device like a more sophisticated language (good imho).

Similar Threads

  1. Using a PIC with Zehnder's LCDplugin - First Time Programing.
    By Machs_FueL in forum Software & Software Development
    Replies: 1
    Last Post: 06-16-2002, 04:12 AM
  2. batch file programming LCD's
    By mosh in forum LCD/Display
    Replies: 6
    Last Post: 05-19-2002, 01:55 AM
  3. Need to start somewhere with Hardware programming
    By 168db in forum Software & Software Development
    Replies: 7
    Last Post: 01-11-2002, 09:35 AM
  4. Can someone write me a PIC program 4 a awesome s/down controller please?
    By gizmos in forum General Hardware Discussion
    Replies: 3
    Last Post: 07-17-2000, 01:43 PM
  5. LCD and pic programs
    By cyber_mage in forum Software & Software Development
    Replies: 1
    Last Post: 03-15-2000, 09:32 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •