Announcement

Collapse
No announcement yet.

PIC programming how to

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 [email protected]/Abit BE6 II, Alpine M-BUS Car2PC.
    Y2K Accord Dell GX150
    RoadRunner is the best FE PERIOD
    EmoRebellion is a SCAMMER

  • #2
    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

    Comment


    • #3
      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

      Comment


      • #4
        you gotta learn some assembly, registers etc
        JAL is simple and free as a higher language

        Comment


        • #5
          Dave,

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

          Comment


          • #6
            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 [email protected]/Abit BE6 II, Alpine M-BUS Car2PC.
            Y2K Accord Dell GX150
            RoadRunner is the best FE PERIOD
            EmoRebellion is a SCAMMER

            Comment


            • #7
              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).

              Comment

              Working...
              X