+ Post New Thread
Results 1 to 8 of 8
  1. #1
    Member level 1
    Points: 351, Level: 4

    Join Date
    Aug 2016
    Location
    Lisbon
    Posts
    36
    Helped
    1 / 1
    Points
    351
    Level
    4

    [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    HI guys, in the description of the device:
    ftp://imall.iteadstudio.com/IM120417...2LCDShield.pdf

    Just seems confusing the way they describe it and the A0 to A5, apparently A1 to A5 should be D7 to D4 on my schematic right?
    What about the other inputs, can I acess them? By the way I intend to use this with PIC16F887 probably to make a simple display of time and date with auxiliar RTC(ds1307). Thanks in advance.



    Click image for larger version. 

Name:	example.PNG 
Views:	4 
Size:	7.6 KB 
ID:	131517


    Click image for larger version. 

Name:	example2.PNG 
Views:	9 
Size:	51.7 KB 
ID:	131518
    - EE student at IST-UL

    •   AltAdvertisment

        
       

  2. #2
    Advanced Member level 1
    Points: 3,498, Level: 13

    Join Date
    May 2012
    Posts
    481
    Helped
    112 / 112
    Points
    3,498
    Level
    13

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    There is no need to connect d0-d3 to ground, in fact it is better not to as the LCD has pull ups to VDD. You will need a potentiometer of 5k-10kconnected to the VEE line as otherwise you may only see black blocks.
    The schematic seems correct as regards the LCD connection, although I would prefer to connect the RD0 to D4, RD1 to D5, RD2 to D6, RD3 to D7 and RD4 to D8. It does not matter but may make understanding the code a bit easier.

    I didn't understand what your confusion was, D4 to D7 on your LCD board are your data lines which are the same as D4 TO D7 on your schematic.
    Last edited by pjmelect; 12th August 2016 at 12:44. Reason: aditional info



  3. #3
    Member level 1
    Points: 351, Level: 4

    Join Date
    Aug 2016
    Location
    Lisbon
    Posts
    36
    Helped
    1 / 1
    Points
    351
    Level
    4

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    Hi, thanks for the reply but my question is about the hardware connection with the shield itself because of the interface they created...
    - EE student at IST-UL



    •   AltAdvertisment

        
       

  4. #4
    Advanced Member level 5
    Points: 8,876, Level: 22
    Achievements:
    7 years registered
    Easyrider83's Avatar
    Join Date
    Oct 2011
    Location
    Tallinn, Estonia
    Posts
    1,568
    Helped
    359 / 359
    Points
    8,876
    Level
    22

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    Where pull-up resistors for I2c bus?
    Love me or hate me. All infractions will be ignored.


    1 members found this post helpful.

  5. #5
    Member level 1
    Points: 351, Level: 4

    Join Date
    Aug 2016
    Location
    Lisbon
    Posts
    36
    Helped
    1 / 1
    Points
    351
    Level
    4

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    Quote Originally Posted by Easyrider83 View Post
    Where pull-up resistors for I2c bus?
    yep totally right, I forgot. 10 k?
    - EE student at IST-UL



  6. #6
    Advanced Member level 1
    Points: 3,498, Level: 13

    Join Date
    May 2012
    Posts
    481
    Helped
    112 / 112
    Points
    3,498
    Level
    13

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    Looking at the PDF for the shield, it has the contrast control on it so you don't need to provide one, pin A0 is an analogue voltage output, the value of the voltage depending on what button pressed. D4-D7 is the data lines to the LCD wich are the same D4-D7 on the schematic. D8 which is the RS line which is the same as on the schematic. D9 is the E line which is the same as on the schematic. D10 is the back light control which should be connected to the 5v line, it maybe necessary to connect a series resistor here, check data sheet.



  7. #7
    Advanced Member level 5
    Points: 8,876, Level: 22
    Achievements:
    7 years registered
    Easyrider83's Avatar
    Join Date
    Oct 2011
    Location
    Tallinn, Estonia
    Posts
    1,568
    Helped
    359 / 359
    Points
    8,876
    Level
    22

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    1 ~ 10k
    And proteus doesn't simulate cristals.
    Love me or hate me. All infractions will be ignored.



    •   AltAdvertisment

        
       

  8. #8
    Member level 1
    Points: 351, Level: 4

    Join Date
    Aug 2016
    Location
    Lisbon
    Posts
    36
    Helped
    1 / 1
    Points
    351
    Level
    4

    Re: [PIC] Just bought an Arduino 1602 LCD Shield, help with correspondence to Proteus

    I think I am going to just break the connections of the lcd display to the shield.

    and use like this example:
    http://www.instructables.com/id/How-...D44780-pinout/



    P.S - The funny thing is that in my local eletronics store this shield is cheaper than the lcd alone... go figure
    - EE student at IST-UL



--[[ ]]--