Any PIC Programmers out there

Discussion in 'The Sump' started by lIghty, 21 Apr 2009.

  1. lIghty

    lIghty

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Hi

    Are there any PIC programmers out there that could program a pic for me, I need some help:(

    Thanks
     
  2. AdS Guest




    to hide all adverts.
  3. Shaun

    Shaun Retired Moderator

    Joined:
    29 Aug 2007
    Posts:
    5,274
    Likes Received:
    15
    Location:
    KZN
  4. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Well I don't have a PIC programmer, so..... and as for the language, I understand it a bit but not enough to do it all, so would need someone to go over it.....:whistling:

    do you do it Shaun? PS our stuff has arrived, just need to go pick it up.
     
  5. Shaun

    Shaun Retired Moderator

    Joined:
    29 Aug 2007
    Posts:
    5,274
    Likes Received:
    15
    Location:
    KZN
    Go fetch it now.:whistling:

    No I don't but know somebody that does. Always wanted to learn, just no time.
     
  6. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Stuck in the office, you not going down that side (Gale St)?

    Tell him to give us a 101 crash coarse?;)
     
  7. Shaun

    Shaun Retired Moderator

    Joined:
    29 Aug 2007
    Posts:
    5,274
    Likes Received:
    15
    Location:
    KZN
    Was down in durbs this morning, now I must got fix a flat tire.

    A crash coarse would be for you to do it and see if if crashes or not.;)
     
  8. viper357

    viper357 Admin MASA Contributor

    Joined:
    4 May 2007
    Posts:
    27,984
    Likes Received:
    779
    What are you two up to?
     
  9. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Can't say, its a matter of National Security;) If tell you, you know what happens then.....
     
  10. viper357

    viper357 Admin MASA Contributor

    Joined:
    4 May 2007
    Posts:
    27,984
    Likes Received:
    779
    :lol: You two buggers are scheming something.

    lIghty, I have 2 small pic programmers, one runs off ms-dos and the other off win98 (might work in XP) I think they both run off parallel ports, 1 might be serial but I can't remember. If you're desperate then I can get the wife to hunt around for them and post them off to you.
     
  11. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Thanks Dean but don't stress, I could always build or purchase the programmer locally, they not badly price, postage from the UK would probably cost more.

    What lanuage did you use?
     
  12. viper357

    viper357 Admin MASA Contributor

    Joined:
    4 May 2007
    Posts:
    27,984
    Likes Received:
    779
    They both came with programming software and I just used hex files which I got off the net.
     
  13. Shaun

    Shaun Retired Moderator

    Joined:
    29 Aug 2007
    Posts:
    5,274
    Likes Received:
    15
    Location:
    KZN
    The only problem is if you get the real cheap programmers they are limited to the PIC's you can use.
     
  14. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    thats ok, learning just to program one is enough! going to use something along the line of 16F628
     
  15. Shaun

    Shaun Retired Moderator

    Joined:
    29 Aug 2007
    Posts:
    5,274
    Likes Received:
    15
    Location:
    KZN
  16. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    well, I'll move my system over to the new GSM commander when I move, so don't think I'll need the use of it? perhaps put on my moms tank to help her....

    I'm wanting to actually build some light sequencer (Sp?) with the PIC, could do it without using the PIC, but always wanted to learn how to program on PICs, but it doesn't seem that easy..:(

    Anyone have exprience with PIC Assembly code? please, I need a BASIC run down:)
     
  17. Rory

    Rory Admin MASA Contributor

    Joined:
    5 May 2007
    Posts:
    4,850
    Likes Received:
    34
    Location:
    JHB
    10 switch_on_light
    20 wait 43200
    30 switch_off_light
    40 wait 43200
    50 goto 10
     
  18. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Hi Rory, Thank, Can remember that from the QBasic days, when I said "basic" I actually meant basic - for the dump;) like me, but actually in Assembly code....

    Looks something along the line of the following.... make any sence to you?

    ; Simple Progrm Example
    Processor 16F873
    _config 0x3ff6
    INCLUDE <P16F737.INC>

    #define LED PORTB,0

    cblock 0x20
    i ; byte veriable
    endc


    org 0x0
    goto main

    org 0x4
    main:
    bsf STATUS,RP0
    bcf LED,RP0
    bcf STATUS,RP0
    Loop:
    bcf LED
    call dly
    bsf LED
    call dly
    goto loop

    dly: clrf i
    dly1: decf i,F
    btfss STATUS,Z
    goto dly1
    return

    END
     
  19. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    seems like i've found another lanuage I can use, much easier than Assembly code:slayer:
     
  20. jacquesb

    jacquesb Retired Moderator

    Joined:
    29 May 2007
    Posts:
    17,868
    Likes Received:
    69
    Location:
    Cape Town
    Cool lIghty - please share?
     
  21. lIghty

    lIghty Thread Starter

    Joined:
    3 Nov 2007
    Posts:
    5,053
    Likes Received:
    52
    Location:
    Westville, Durban
    Called "C", C is used on PIC programming and C++ for PC, from what I can understand:whistling:
     
Recent Posts