Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. So my little arduino clone is fun but I was wondering something

So my little arduino clone is fun but I was wondering something

Scheduled Pinned Locked Moved The Lounge
hardwarehelpquestion
53 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    Does anyone know what the simplest circuit to use for a 16 pin LCD hitachi style display is to make it display *anything* or even turn on the backlight? I got a new kit and I can't seem to get the LCD display to respond at all, and I'm not finding the answer to this anywhere. All the examples I can find use a library, and require the thing to be fully wired up. The problem is, after having done that, even after double checking and triple checking my wiring against the examples it still didn't work. I need something simpler just to do a basic power-on sanity check for the LCD. I have no idea what the hitachi display protocol looks like in practice and the pins aren't very descriptive. I know there are some arduino-heads here on CP. Can I get that LCD to do anything at all with two or three connections?

    Real programmers use butterflies

    Richard Andrew x64R R L D R 11 Replies Last reply
    0
    • H honey the codewitch

      Does anyone know what the simplest circuit to use for a 16 pin LCD hitachi style display is to make it display *anything* or even turn on the backlight? I got a new kit and I can't seem to get the LCD display to respond at all, and I'm not finding the answer to this anywhere. All the examples I can find use a library, and require the thing to be fully wired up. The problem is, after having done that, even after double checking and triple checking my wiring against the examples it still didn't work. I need something simpler just to do a basic power-on sanity check for the LCD. I have no idea what the hitachi display protocol looks like in practice and the pins aren't very descriptive. I know there are some arduino-heads here on CP. Can I get that LCD to do anything at all with two or three connections?

      Real programmers use butterflies

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      Is it a 5 volt display or does it use some other voltage? Are you sure you have the power connected to the correct pins?

      The difficult we do right away... ...the impossible takes slightly longer.

      H C 2 Replies Last reply
      0
      • Richard Andrew x64R Richard Andrew x64

        Is it a 5 volt display or does it use some other voltage? Are you sure you have the power connected to the correct pins?

        The difficult we do right away... ...the impossible takes slightly longer.

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #3

        It's 5vdc from the looks of it. I would think I'm certain having checked multiple times, but the display disagrees with me, since it just sits there dead as a fish when it's supposed to be printing "Hello World" I need to order a multimeter from amazon. I suppose I'll do that today.

        Real programmers use butterflies

        Richard Andrew x64R J 3 Replies Last reply
        0
        • H honey the codewitch

          It's 5vdc from the looks of it. I would think I'm certain having checked multiple times, but the display disagrees with me, since it just sits there dead as a fish when it's supposed to be printing "Hello World" I need to order a multimeter from amazon. I suppose I'll do that today.

          Real programmers use butterflies

          Richard Andrew x64R Offline
          Richard Andrew x64R Offline
          Richard Andrew x64
          wrote on last edited by
          #4

          Are you giving the display time to boot before sending the display string?

          The difficult we do right away... ...the impossible takes slightly longer.

          H 1 Reply Last reply
          0
          • Richard Andrew x64R Richard Andrew x64

            Are you giving the display time to boot before sending the display string?

            The difficult we do right away... ...the impossible takes slightly longer.

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            the sample program has a delay in it - presumably for that. What's curious to me is the backlight isn't even coming on.

            Real programmers use butterflies

            Richard Andrew x64R 1 Reply Last reply
            0
            • H honey the codewitch

              It's 5vdc from the looks of it. I would think I'm certain having checked multiple times, but the display disagrees with me, since it just sits there dead as a fish when it's supposed to be printing "Hello World" I need to order a multimeter from amazon. I suppose I'll do that today.

              Real programmers use butterflies

              Richard Andrew x64R Offline
              Richard Andrew x64R Offline
              Richard Andrew x64
              wrote on last edited by
              #6

              You should check whether the display takes inverted serial input instead of normal.

              The difficult we do right away... ...the impossible takes slightly longer.

              H 1 Reply Last reply
              0
              • H honey the codewitch

                the sample program has a delay in it - presumably for that. What's curious to me is the backlight isn't even coming on.

                Real programmers use butterflies

                Richard Andrew x64R Offline
                Richard Andrew x64R Offline
                Richard Andrew x64
                wrote on last edited by
                #7

                Some displays require you to send a command to turn on the backlight.

                The difficult we do right away... ...the impossible takes slightly longer.

                H 1 Reply Last reply
                0
                • Richard Andrew x64R Richard Andrew x64

                  You should check whether the display takes inverted serial input instead of normal.

                  The difficult we do right away... ...the impossible takes slightly longer.

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #8

                  That's interesting. I wouldn't know since this kit has zero instructions. It's a clone of the Arduino Mega 2560 and presumably all of the gear in the kit (like the display) is supposed to work out of the box just like the arduino stuff. If not, then I may as well throw it away since there are no instructions. That said, the pinouts for this LCD and the one in the Arduino provided sample are all labeled the same except 2 pins have a different name on the schematic - "A" vs "LED+" and "K" vs "LED-" but i think they are the same thing, given the other 14 pins are identical, and those are for the backlight according to the schematic

                  Real programmers use butterflies

                  J 1 Reply Last reply
                  0
                  • Richard Andrew x64R Richard Andrew x64

                    Some displays require you to send a command to turn on the backlight.

                    The difficult we do right away... ...the impossible takes slightly longer.

                    H Offline
                    H Offline
                    honey the codewitch
                    wrote on last edited by
                    #9

                    I'm almost certain this one is voltage controlled based on the schematic I'm working with - it's got a potentiometer wired between one of the pins and the power source.

                    Real programmers use butterflies

                    1 Reply Last reply
                    0
                    • H honey the codewitch

                      It's 5vdc from the looks of it. I would think I'm certain having checked multiple times, but the display disagrees with me, since it just sits there dead as a fish when it's supposed to be printing "Hello World" I need to order a multimeter from amazon. I suppose I'll do that today.

                      Real programmers use butterflies

                      J Offline
                      J Offline
                      jeron1
                      wrote on last edited by
                      #10

                      Assuming the connections are proper, the backlite should work if power is present. Are the character segments doing anything (I'm guessing it's a 16x2 or similar)? It's been my experience that the segments 'get slightly darker' when power is applied, regardless of backlite. Also, there's the contrast voltage to consider.

                      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                      H 1 Reply Last reply
                      0
                      • J jeron1

                        Assuming the connections are proper, the backlite should work if power is present. Are the character segments doing anything (I'm guessing it's a 16x2 or similar)? It's been my experience that the segments 'get slightly darker' when power is applied, regardless of backlite. Also, there's the contrast voltage to consider.

                        "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                        H Offline
                        H Offline
                        honey the codewitch
                        wrote on last edited by
                        #11

                        jeron1 wrote:

                        It's been my experience that the segments 'get slightly darker' when power is applied, regardless of backlite

                        Thank you! That's helpful. It's not doing anything - it's as dead as fish, meaning I've either wired it catastrophically wrong or it came dead on arrival. I've checked the wiring many times, so at this point I'm kind of at a loss. It's why I wanted to know if anyone knew how to simply get power to thing just so I can prod it for signs of life.

                        Real programmers use butterflies

                        J L 2 Replies Last reply
                        0
                        • H honey the codewitch

                          jeron1 wrote:

                          It's been my experience that the segments 'get slightly darker' when power is applied, regardless of backlite

                          Thank you! That's helpful. It's not doing anything - it's as dead as fish, meaning I've either wired it catastrophically wrong or it came dead on arrival. I've checked the wiring many times, so at this point I'm kind of at a loss. It's why I wanted to know if anyone knew how to simply get power to thing just so I can prod it for signs of life.

                          Real programmers use butterflies

                          J Offline
                          J Offline
                          jeron1
                          wrote on last edited by
                          #12

                          Does turning the pot from one extreme to the other do anything noticeable?

                          "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                          H 1 Reply Last reply
                          0
                          • J jeron1

                            Does turning the pot from one extreme to the other do anything noticeable?

                            "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                            H Offline
                            H Offline
                            honey the codewitch
                            wrote on last edited by
                            #13

                            Nope. I even tried wiring/shorting around the pot but nothing.

                            Real programmers use butterflies

                            J 1 Reply Last reply
                            0
                            • H honey the codewitch

                              jeron1 wrote:

                              It's been my experience that the segments 'get slightly darker' when power is applied, regardless of backlite

                              Thank you! That's helpful. It's not doing anything - it's as dead as fish, meaning I've either wired it catastrophically wrong or it came dead on arrival. I've checked the wiring many times, so at this point I'm kind of at a loss. It's why I wanted to know if anyone knew how to simply get power to thing just so I can prod it for signs of life.

                              Real programmers use butterflies

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #14

                              honey the codewitch wrote:

                              I've either wired it catastrophically wrong or it came dead on arrival

                              If you bought it off of ScamBay then this could be the problem. Selling broken electronics is a huge thing on the auction sites. I avoid the batteries too... I saw a clear pattern from multiple sellers where they would sell me 50% good batteries and the other half bad. I've got some really good stories to tell about ScamBay... I once bought some flood lights off the site. I bought eight of them and the seller only sent me six. He fought me in the dispute and I suddenly realized that I could use the FedEx package weight to prove that it was impossible that the shipment contained 8 of them. Best Wishes, -David Delaune

                              H 1 Reply Last reply
                              0
                              • H honey the codewitch

                                Nope. I even tried wiring/shorting around the pot but nothing.

                                Real programmers use butterflies

                                J Offline
                                J Offline
                                jeron1
                                wrote on last edited by
                                #15

                                The pot is for contrast so you generally can't go around it (unless you're using fixed resistors). The fact that the backlite does nothing, is suspicious like there's no voltage. Without a multimeter it's difficult say, you wouldn't happen to have a discrete LED and a 1K resistor, that you could use as a kind of 'voltage' probe?

                                "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                                H 1 Reply Last reply
                                0
                                • J jeron1

                                  The pot is for contrast so you generally can't go around it (unless you're using fixed resistors). The fact that the backlite does nothing, is suspicious like there's no voltage. Without a multimeter it's difficult say, you wouldn't happen to have a discrete LED and a 1K resistor, that you could use as a kind of 'voltage' probe?

                                  "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                                  H Offline
                                  H Offline
                                  honey the codewitch
                                  wrote on last edited by
                                  #16

                                  Yeah but I'm not sure which pins i need to check. I think i know which are the data pins, but the control pins labels aren't very clear. It's why I was hoping someone could tell me at minimum, which of the 16 pins on this apparently standard LCD interface I need to wire up to show signs of life.

                                  Real programmers use butterflies

                                  J 1 Reply Last reply
                                  0
                                  • L Lost User

                                    honey the codewitch wrote:

                                    I've either wired it catastrophically wrong or it came dead on arrival

                                    If you bought it off of ScamBay then this could be the problem. Selling broken electronics is a huge thing on the auction sites. I avoid the batteries too... I saw a clear pattern from multiple sellers where they would sell me 50% good batteries and the other half bad. I've got some really good stories to tell about ScamBay... I once bought some flood lights off the site. I bought eight of them and the seller only sent me six. He fought me in the dispute and I suddenly realized that I could use the FedEx package weight to prove that it was impossible that the shipment contained 8 of them. Best Wishes, -David Delaune

                                    H Offline
                                    H Offline
                                    honey the codewitch
                                    wrote on last edited by
                                    #17

                                    Got it new off amazon. Only concern is it is a knockoff made my elegoo and not an arduino branded kit. It was a lot cheaper so if i have to order a replacement LCD screen I'm probably still money ahead. :) Although that's not taking into account the aggravation of testing an LCD screen for signs of life.

                                    Real programmers use butterflies

                                    P 1 Reply Last reply
                                    0
                                    • H honey the codewitch

                                      Yeah but I'm not sure which pins i need to check. I think i know which are the data pins, but the control pins labels aren't very clear. It's why I was hoping someone could tell me at minimum, which of the 16 pins on this apparently standard LCD interface I need to wire up to show signs of life.

                                      Real programmers use butterflies

                                      J Offline
                                      J Offline
                                      jeron1
                                      wrote on last edited by
                                      #18

                                      I would check pins 1 and 2, generally pin 1 is ground and pin 2 is 5v, if you don't have this nothing else matters. Similarly, pin 16 is ground for that backlite and pin 15 is the current limited 5v input for the backlite.

                                      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

                                      H 1 Reply Last reply
                                      0
                                      • Richard Andrew x64R Richard Andrew x64

                                        Is it a 5 volt display or does it use some other voltage? Are you sure you have the power connected to the correct pins?

                                        The difficult we do right away... ...the impossible takes slightly longer.

                                        C Offline
                                        C Offline
                                        CodeWraith
                                        wrote on last edited by
                                        #19

                                        First thing to do: Check your wiring, especially ground and the supply voltage. If that does not help, get yourself the datasheet of the display (the one that you have, not the one you assume you have!). I have had such things before. in my case it was a MAX232 Rs232 level shifter. I wired it up according to the datasheet from Texas Instruments and the output voltage levels were not anywhere near RS232 specifications. Then I got the original datasheet and one of the external capacitors was indeed connected to ground instead of VCC. Now it actually works. Edit: Have you tried to read something from the display's registers instead of writing? This way you might cut some corners. I would also take a look at the signals with my oscilloscope, but I assume you don't have one just waiting for something to do...

                                        I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                                        1 Reply Last reply
                                        0
                                        • H honey the codewitch

                                          Does anyone know what the simplest circuit to use for a 16 pin LCD hitachi style display is to make it display *anything* or even turn on the backlight? I got a new kit and I can't seem to get the LCD display to respond at all, and I'm not finding the answer to this anywhere. All the examples I can find use a library, and require the thing to be fully wired up. The problem is, after having done that, even after double checking and triple checking my wiring against the examples it still didn't work. I need something simpler just to do a basic power-on sanity check for the LCD. I have no idea what the hitachi display protocol looks like in practice and the pins aren't very descriptive. I know there are some arduino-heads here on CP. Can I get that LCD to do anything at all with two or three connections?

                                          Real programmers use butterflies

                                          R Offline
                                          R Offline
                                          raddevus
                                          wrote on last edited by
                                          #20

                                          I have had these exact problems with these[^]. If one data line isn't connecting exactly properly then you will not see anything. I switched to the ones with the I2C interface [^] (only 3 lines to worry about) and I was much happier. I also had the problem with a 8x2 and I posted the issue (with pictures) at : character lcd - With power only on this LCD, will I see anything? - Electrical Engineering Stack Exchange[^] That may provide some additional insight. When you get your multimeter you'll probably discover that either one of your jumper wires is bad or you'll discover that one of your breadboard connections is fouled out. That's what has gotten me in the past. Good luck.

                                          H 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups