12f675_fuse_about_to_blow!


Closed Thread
Results 1 to 40 of 929

Hybrid View

  1. #1
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi Henrik,

    Now, since you have the LCD, why not make the messages appear on it instead of the PC-screen? You can still receive the "commands" thru the PC, to begin with.


    That would be brilliant, I'm ready when you are!

    I've uploaded the PDF for the LCD.

    Quick point, on my PICkit1, I'm using two 22k resistors on the DB9 data cable (pin2&3) do I still use these for the LCD?

    Dave
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Hey Dave,
    I will but back in....

    Check out the LCD section of the manual and compare to the LCD data sheet for the pin outs. Make needed adjustments and....
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Make needed adjustments and....
    I'm not sure how much of the display I need to connect up?

    How does this look / sound:

    PIN1 - VSS - GND
    PIN2 - VDD - +5V
    PIN3 - V0 - 20k pot (contrast)
    PIN4 - RegSel - PORTA.4? with 10k pull res.
    PIN5 - ReadWrite - GND
    PIN6 - PORTB.3?

    PIN11 - D4 - I/O - Data LSB - PORTA.0?
    PIN12 - D5 - I/O - Data - PORTA.1?
    PIN13 - D6 - I/O - Data - PORTA.2?
    PIN14 - D7 - I/O - Data MSB - PORTA.3?

    The manual qoutes for a PIC16F84 I'm using a 16F684, don't forget, hence the question marks.
    I'm thinking it still applies the same though.

    Dave
    Last edited by LEDave; - 18th April 2010 at 23:32.

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,627


    Did you find this post helpful? Yes | No

    Default

    Hi Dave,
    That looks OK to me. Don't forget that if your pin assignment differs from the "standard" shown in the manual (I haven't checked but I think yours is different) you need to DEFINE that as shown in the manual. Simply copy the complete DEFINE-block to your code and change it to match your setup.

    /Henrik.

  5. #5
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Hi Henrik

    I've bought a breadboard today and have decided to make the project on it.
    So starting from scratch really.

    Yes the code does need adjusting to match the manual (probably the best way around at this stage) so lots to do and think about.

    If this LCD ever fires up and works it'll be a minor, no major miracle!

    Dave

  6. #6
    Join Date
    Feb 2010
    Location
    I live in the UK
    Posts
    562


    Did you find this post helpful? Yes | No

    Default

    Not having a very good night here. I've been working realy hard with zero results so far.

    I've attached wires 1-6 on to the LCD - power supply - and PIC (the PIC hasn't been DEFINED yet) but the LCD display hasn't shown any sign of life at all (I was just hoping the display would at least light up).

    My only hope is that the PIC has to have the right DEFINE's in place even to light up, fingers x'd that's the case, or NASA I've got a problem

    Dave

  7. #7
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I would not expect much till it is all connected and coded.
    Do you have a POT on he contrast pin?

    Still having trouble after all is connected post the connections, code, and trouble having.
    Do not forget to turn off the ADC...
    Dave
    Always wear safety glasses while programming.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

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