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 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
              • R raddevus

                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 Offline
                H Offline
                honey the codewitch
                wrote on last edited by
                #21

                Grrr, yes it is one of those 16 pin interface LCDs. I think you're probably right that it's a bad jumper wire or something. I guess I need to go ahead and order a multimeter. I just overlooked it when i got the kit.

                Real programmers use butterflies

                C 1 Reply Last reply
                0
                • J jeron1

                  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 Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #22

                  Thank you! I'll give that a whirl.

                  Real programmers use butterflies

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    Grrr, yes it is one of those 16 pin interface LCDs. I think you're probably right that it's a bad jumper wire or something. I guess I need to go ahead and order a multimeter. I just overlooked it when i got the kit.

                    Real programmers use butterflies

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

                    Get yourself the datasheet and take a good look at the pinout of that connector. Never assume anything. Guessing never helps.

                    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.

                    H 1 Reply Last reply
                    0
                    • C CodeWraith

                      Get yourself the datasheet and take a good look at the pinout of that connector. Never assume anything. Guessing never helps.

                      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.

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

                      I know that the pinout is a de facto standard 16 pin interface for small LCDs like this. I don't need to assume anything about it. I just need to get it to respond. A multimeter will help. A datasheet won't solve my current issue.

                      Real programmers use butterflies

                      C 1 Reply Last reply
                      0
                      • H honey the codewitch

                        I know that the pinout is a de facto standard 16 pin interface for small LCDs like this. I don't need to assume anything about it. I just need to get it to respond. A multimeter will help. A datasheet won't solve my current issue.

                        Real programmers use butterflies

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

                        And some guy in China never heard of your de facto interface or had his own ideas. Are the signals at least labeled on the display's board? That would help a little, even without the datasheet.

                        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.

                        H 1 Reply Last reply
                        0
                        • C CodeWraith

                          And some guy in China never heard of your de facto interface or had his own ideas. Are the signals at least labeled on the display's board? That would help a little, even without the datasheet.

                          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.

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

                          They're labeled, but not in way that's helpful. Let me put it this way. The LCD is either the standard hitachi interface for it, just like the one the genuine arduino has, or it's just garbage because exactly one person knows how to use it and that's the person that designed it. if that's the case, no datasheet exists. So datasheets still aren't the solution.

                          Real programmers use butterflies

                          N C 2 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

                            L Offline
                            L Offline
                            Luc Pattyn
                            wrote on last edited by
                            #27

                            I don't now what specific device you're talking about, as you only specified "16 pin"; some identification could have been useful, or even a link to the thing you bought. However, most low-end LCD displays include a control chip that is either a Hitachi HD44780 or some derivative thereof. It has been launched over 30 years ago, it got its own Wiki page here[^] and you can find its complete datasheet everywhere[^]. I used it a couple of times, but that was long ago (using 8-bit microcontroller and assembly code); I can't remember but I would expect the backlight to be working as soon as you apply 5V to the appropriate pins with a double caveat: My best guess is you already killed the backlight, either by applying a reverse voltage, or by not including a series resistor; some if not all such LCD displays need a resistor in pin 15, and yes there are Youtube-quality instructions that don't show that. But this one does.[^] Anyway the best way to test is by properly connecting everything up, and sending the appropriate commands and data. A library is not essential, you could perform each of the steps required using simple instructions, even when the backlight isn't working (use incident light at an angle of some 45 degrees). It is all a matter of sending some bytes to some addresses (which is true for all software of course). Using the Arduino "LiquidCrystal" library can make it a little easier: Example (warning: the essential resistor is lacking here!)[^]. :) PS: You can't just try and retry until it works, your hardware deteriorates when maltreated so you better get it mostly right from the start. It ain't software, it is called hardware for a reason.

                            Luc Pattyn [My Articles] If you can't find it on YouTube

                            H 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

                              D Offline
                              D Offline
                              David Crow
                              wrote on last edited by
                              #28

                              I use a 4x20 LCD display from Parallax. It only has 3 pins: power, ground, receive. Sounds completely different from a 16-pin Hitachi.

                              "One man's wage rise is another man's price increase." - Harold Wilson

                              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                              "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

                              H 1 Reply Last reply
                              0
                              • D David Crow

                                I use a 4x20 LCD display from Parallax. It only has 3 pins: power, ground, receive. Sounds completely different from a 16-pin Hitachi.

                                "One man's wage rise is another man's price increase." - Harold Wilson

                                "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

                                "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

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

                                Yeah it sounds like you're using that little 3 pin serial bus popular with arduino devices. This is a more general device, but it can and should work with arduinos, and has shipped with arduino kits in the past. the little serial bus one like you're using is an alternative. A good one, but it didn't come with my kit.

                                Real programmers use butterflies

                                1 Reply Last reply
                                0
                                • L Luc Pattyn

                                  I don't now what specific device you're talking about, as you only specified "16 pin"; some identification could have been useful, or even a link to the thing you bought. However, most low-end LCD displays include a control chip that is either a Hitachi HD44780 or some derivative thereof. It has been launched over 30 years ago, it got its own Wiki page here[^] and you can find its complete datasheet everywhere[^]. I used it a couple of times, but that was long ago (using 8-bit microcontroller and assembly code); I can't remember but I would expect the backlight to be working as soon as you apply 5V to the appropriate pins with a double caveat: My best guess is you already killed the backlight, either by applying a reverse voltage, or by not including a series resistor; some if not all such LCD displays need a resistor in pin 15, and yes there are Youtube-quality instructions that don't show that. But this one does.[^] Anyway the best way to test is by properly connecting everything up, and sending the appropriate commands and data. A library is not essential, you could perform each of the steps required using simple instructions, even when the backlight isn't working (use incident light at an angle of some 45 degrees). It is all a matter of sending some bytes to some addresses (which is true for all software of course). Using the Arduino "LiquidCrystal" library can make it a little easier: Example (warning: the essential resistor is lacking here!)[^]. :) PS: You can't just try and retry until it works, your hardware deteriorates when maltreated so you better get it mostly right from the start. It ain't software, it is called hardware for a reason.

                                  Luc Pattyn [My Articles] If you can't find it on YouTube

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

                                  Luc Pattyn wrote:

                                  is either a Hitachi HD44780 or some derivative thereof

                                  Yes, this is it. I didn't know the model number. I just knew the interface was a hitachi type and it's used by a lot of these displays. I was trying to use LiquidCrystal with it. Oh well, if I can't get it to work I can always buy the one that uses that 3 wire arduino serial interface (I2C? i forget what it's called) I'm not sure if I trashed it, as I didn't set it up randomly. I carefully followed the instructions on arduino's site and triple checked it, so while it's not impossible that I wrecked it, there's a good chance i didn't - or at least it may have been dead when i got it.

                                  Real programmers use butterflies

                                  L 1 Reply Last reply
                                  0
                                  • H honey the codewitch

                                    Luc Pattyn wrote:

                                    is either a Hitachi HD44780 or some derivative thereof

                                    Yes, this is it. I didn't know the model number. I just knew the interface was a hitachi type and it's used by a lot of these displays. I was trying to use LiquidCrystal with it. Oh well, if I can't get it to work I can always buy the one that uses that 3 wire arduino serial interface (I2C? i forget what it's called) I'm not sure if I trashed it, as I didn't set it up randomly. I carefully followed the instructions on arduino's site and triple checked it, so while it's not impossible that I wrecked it, there's a good chance i didn't - or at least it may have been dead when i got it.

                                    Real programmers use butterflies

                                    L Offline
                                    L Offline
                                    Luc Pattyn
                                    wrote on last edited by
                                    #31

                                    Did you or didn't you include a resistor? Most I2C models basically are the 16-pin version plus an extra board (example[^]) which takes care of and makes it harder to destroy the backlight :laugh: The extra board[^] is also available separately! You would probably also want another library[^] then. :)

                                    Luc Pattyn [My Articles] If you can't find it on YouTube try TikTok...

                                    H 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
                                      Robotek23
                                      wrote on last edited by
                                      #32

                                      Way down the list I seen that someone mentioned HD44780 with some links. This is the link I used to get things going. I found a box of these surplus at $1 or something a bunch of time ago, but all the connectors are reversed like the connector is on the wrong side of the board....but once I got that figured out, I got it going.... And the site that helped me get going with it.[^] Good luck and enjoy.

                                      H 1 Reply Last reply
                                      0
                                      • H honey the codewitch

                                        They're labeled, but not in way that's helpful. Let me put it this way. The LCD is either the standard hitachi interface for it, just like the one the genuine arduino has, or it's just garbage because exactly one person knows how to use it and that's the person that designed it. if that's the case, no datasheet exists. So datasheets still aren't the solution.

                                        Real programmers use butterflies

                                        N Offline
                                        N Offline
                                        Nelek
                                        wrote on last edited by
                                        #33

                                        Why don't you make a pic or two and post the links? I think that might help people to help you.

                                        M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                                        H 1 Reply Last reply
                                        0
                                        • N Nelek

                                          Why don't you make a pic or two and post the links? I think that might help people to help you.

                                          M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

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

                                          Good idea. But I've since dismantled the circuit. I'll try again later today.

                                          Real programmers use butterflies

                                          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