+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 19

Thread: My LCD is working.

  1. #1
    aljamri Okay
    Join Date
    Jun 2006
    Posts
    278

    Default My LCD is working.

    For some of you this may be not big deal, but for me it is like that, and for all who helped me to reach this (early) stage in this forum, I would like to say thanks. Special thanks to Nigel Goodwin for his tutorial soft and hard wares.

    After lost of one LCD module last month. I ordered a new three units, received them and spent one week of attempts to get it work and failed to do so. Today I've good news, my LCD is working.

    The reason is me and my Programmer, I'm using DIY K128 PICmicro Programmer, v141204, it sets the Oscillator to IRCIO, so when I press program button, Error massage appears says: " Fuse error 0x2007, Good 0x3D18, Bad )xF18). I used to change the Oscillator into IRCCLK and does not receive any message.

    This seem the problem with LCD tutorial, when I left it as it is IRCIO, received the error message but got the LCD working fine.

    Attached are some photos of the occasion.

    Thanks.
    Attached Images
    Its what your friend in Your mind, what you in your friends mind


  2. #2
    aljamri Okay
    Join Date
    Jun 2006
    Posts
    278

    Default

    I've posted some related reply somewhere else,

    LCD and 16f877a interface Help ?


    Later, decided not to take somebody's else space then opened this separate page.
    Its what your friend in Your mind, what you in your friends mind

  3. #3
    ahydra Newbie
    Join Date
    Dec 2008
    Location
    Seaford, UK
    Posts
    60

    Default

    I have just got a PIC programmer (the 3128 from Quasar Electronics) and am getting the same problem trying to program my 16F628. However the only difference between 0x3D18 and 0x3F18 is the state of bit 9, and on reading the datasheet this bit doesn't actually do anything. This is probably why your circuit still works [I'm hoping that mine will too, but currently don't have a supply with suitable voltage ]

    ahydra

  4. #4
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    That is a lot of money for a programmer with no debug ability. If possible I would send it back and get a unit with debugging. A good choice would be the PICkit2. They were on sale in the UK through EPE recently. I am not sure if that offer is still good.

    While I fully understand "buyer be ware" I have little good to say about a company that is selling obsolete equipment and calling it professional. They should at least offer the good stuff too but then the junk would not sell.

    Sorry for the rain.
    Welcome to the forum


    Quote Originally Posted by ahydra View Post
    I have just got a PIC programmer (the 3128 from Quasar Electronics) and am getting the same problem trying to program my 16F628. However the only difference between 0x3D18 and 0x3F18 is the state of bit 9, and on reading the datasheet this bit doesn't actually do anything. This is probably why your circuit still works [I'm hoping that mine will too, but currently don't have a supply with suitable voltage ]

    ahydra
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  5. #5
    ahydra Newbie
    Join Date
    Dec 2008
    Location
    Seaford, UK
    Posts
    60

    Default

    Thanks 3v0. I did actually check out the Pickit 2 originally, but couldn't find it sold with (what I could 100% verify was) the ability to program your own chips (only ones presoldered into boards etc). Hence I got this 3128 which seems to work. It does have a ICSP connector so I might be able to get a Pickit 2 later and use its debugging feature.

    ahydra

  6. #6
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    If you stick any PIC into a solderless breadboard and run a few wires to a pin header you can program it. I made a PCB with an ICSP header and several differnt sized sockets to save time. But 99% of programing is done in circut these days. It saves wear and tear on the chip's pins (if it has any).

    It is nice to have another PIC person here. What language(s) do you program in?

    3v0


    Quote Originally Posted by ahydra View Post
    Thanks 3v0. I did actually check out the Pickit 2 originally, but couldn't find it sold with (what I could 100% verify was) the ability to program your own chips (only ones presoldered into boards etc). Hence I got this 3128 which seems to work. It does have a ICSP connector so I might be able to get a Pickit 2 later and use its debugging feature.

    ahydra
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  7. #7
    ahydra Newbie
    Join Date
    Dec 2008
    Location
    Seaford, UK
    Posts
    60

    Default

    Quote Originally Posted by 3v0 View Post
    If you stick any PIC into a solderless breadboard and run a few wires to a pin header you can program it. I made a PCB with an ICSP header and several differnt sized sockets to save time. But 99% of programing is done in circut these days. It saves wear and tear on the chip's pins (if it has any).

    It is nice to have another PIC person here. What language(s) do you program in?

    3v0
    Well being completely new to PICs in general, I was most put off by the fact that Pickit 2 only appears to have a female connector for ICSP so I have no simple way of wiring that to my breadboard (that and the fact that it appeared to come with presoldered modules as I mentioned before). I'm sure I could figure out how to do ICSP but I'm very scared of damaging the chips

    Anyway, I'm writing programs for my PIC16F628 in that chip's assembly language. I do however also know Basic, C and Delphi.

    ahydra

  8. #8
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    Microchip has a very good free student version C compiler. It is about the same as their commerical version execpt some optimization stops working after 90 days. BoostC is another good C compiler and reasonably priced.

    The 18F's are a bit easier to work with and tend to have more memory. Price is about the same.

    In time the fear will pass. You can distroy them but they are fairly tough.

    Check to be sure you disabled the WDT on your code (other thread)

    3v0
    Last edited by 3v0; 25th December 2008 at 12:47 AM.
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  9. #9
    futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent futz Excellent
    Join Date
    Sep 2007
    Location
    Vancouver, B.C.
    Posts
    1,980

    Default

    Quote Originally Posted by ahydra View Post
    Well being completely new to PICs in general, I was most put off by the fact that Pickit 2 only appears to have a female connector for ICSP so I have no simple way of wiring that to my breadboard...
    Connect ICSP like this:


    The PICkit 2 end is built like this.

    The breadboard end is built from some 2-row pin connector and a shrouded 2x5 male IDC connector:


    I'm sure I could figure out how to do ICSP but I'm very scared of damaging the chips
    Don't be scared. PICs are pretty tough. You really have to do something quite wild to damage them.
    =========================
    Futz's Microcontrollers & Robotics
    =========================

  10. #10
    ahydra Newbie
    Join Date
    Dec 2008
    Location
    Seaford, UK
    Posts
    60

    Default

    OK I'm officially a noob then. I spent £60 on a debug-less programmer when I could have paid £30 for the pickit 2 and one of those cable things

    I just tried doing ICSP on a breadboard and it worked, so I'm a little less afraid now Thanks for the help all. I think I'll just stick with my overpriced programmer now I've got it - as I often write buggy code, my debugging skills are very finely tuned (I have a simulator program to test code with).

    ahydra

  11. #11
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    If you do opt to move up wait for the PICkit3 to come out in January. It will be the latest greatest....
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

  12. #12
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    2,000

    Default

    You can get pickkit2 For $10.00 if you use EPE you get a number that you use to order it from microchip.com it in jan epe just got done reading it.
    Last edited by be80be; 25th December 2008 at 03:14 AM.

  13. #13
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    2,000

    Default

    I don't think you can hurt a pic with a pickit2 if you hook it up wrong it will not power up the chip or program it and it dose a lot of cool things. uart tools logic tools you can make
    a board to plug in to it with a 5 pin header male type and a socket on a piece of bread broad for about $3.00

  14. #14
    mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent mvs sarma Excellent
    Join Date
    Oct 2006
    Location
    Hyderabad, India.
    Posts
    2,475
    Blog Entries
    1

    Default

    Quote Originally Posted by be80be View Post
    You can get pickkit2 For $10.00 if you use EPE you get a number that you use to order it from microchip.com it in jan epe just got done reading it.
    I fear It is !) Briitish Pounds and Not $.

    All the best and !MERRY CHRISTMAS!
    Regards,
    Sarma.

  15. #15
    3v0
    3v0 is offline
    3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent 3v0 Excellent
    Join Date
    Jul 2006
    Location
    USA
    Posts
    6,464
    Blog Entries
    11

    Default

    Quote Originally Posted by mvs sarma View Post
    I fear It is !) Briitish Pounds and Not $.

    All the best and !MERRY CHRISTMAS!
    Still a good buy. At that price you I would buy one just to have it around to use the Logic Analyzer Tool and UART Tool functions.

    3v0
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's Tutorials
    Junebug USB PIC programmer kit., USB Bit Whacker,
    The 15 Minute Printed Circuit Board! (+drill time)

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. Avr Not working!!
    By kemo0o in forum AVR
    Replies: 11
    Latest: 6th April 2008, 11:01 PM
  2. RA4 not working???
    By Alverick in forum Micro Controllers
    Replies: 7
    Latest: 3rd September 2007, 11:19 AM
  3. WHY....why is not working???
    By striker2509 in forum Micro Controllers
    Replies: 2
    Latest: 10th June 2005, 11:40 PM
  4. Ra4 not working
    By i2c2k in forum Micro Controllers
    Replies: 2
    Latest: 7th June 2004, 03:01 AM
  5. working
    By pooja1110 in forum General Electronics Chat
    Replies: 4
    Latest: 29th February 2004, 11:07 PM

Tags for this Thread