Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Time to dust off this thread!

Time to dust off this thread!

Scheduled Pinned Locked Moved Uncategorized
30 Posts 6 Posters 0 Views
  • 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.
  • cato@chaosfurs.socialC cato@chaosfurs.social

    New insights: It must be a signal integrity issue where the LCDs can't get the data quite right. See this capture. Red is clock, blue is data input, brown is data output, green is latch (irrelevant here). I am sending the same data across the whole display so even thouth the output lags behind 10 characters (600 bits), it SHOULD be the same pattern. Every group of HIGH bits is shortened by one bit.

    Link Preview Image
    cato@chaosfurs.socialC This user is from outside of this forum
    cato@chaosfurs.socialC This user is from outside of this forum
    cato@chaosfurs.social
    wrote last edited by
    #13

    (also yay, finally managed to get my PicoScope to work in Linux. One less reason to boot up the old Windows install)

    1 Reply Last reply
    0
    • cato@chaosfurs.socialC cato@chaosfurs.social

      New insights: It must be a signal integrity issue where the LCDs can't get the data quite right. See this capture. Red is clock, blue is data input, brown is data output, green is latch (irrelevant here). I am sending the same data across the whole display so even thouth the output lags behind 10 characters (600 bits), it SHOULD be the same pattern. Every group of HIGH bits is shortened by one bit.

      Link Preview Image
      cato@chaosfurs.socialC This user is from outside of this forum
      cato@chaosfurs.socialC This user is from outside of this forum
      cato@chaosfurs.social
      wrote last edited by
      #14

      pretty sure the clock (red) shouldn't have hiccups like this

      Link Preview Image
      cato@chaosfurs.socialC 1 Reply Last reply
      0
      • cato@chaosfurs.socialC cato@chaosfurs.social

        pretty sure the clock (red) shouldn't have hiccups like this

        Link Preview Image
        cato@chaosfurs.socialC This user is from outside of this forum
        cato@chaosfurs.socialC This user is from outside of this forum
        cato@chaosfurs.social
        wrote last edited by
        #15

        let's play around with some series termination

        cato@chaosfurs.socialC 1 Reply Last reply
        0
        • cato@chaosfurs.socialC cato@chaosfurs.social

          let's play around with some series termination

          cato@chaosfurs.socialC This user is from outside of this forum
          cato@chaosfurs.socialC This user is from outside of this forum
          cato@chaosfurs.social
          wrote last edited by
          #16

          330R on both data and clock - data is acceptable, but clock is way too weak. It still registers though! Still showing garbage anyway. But now the data out doesn't keep losing bits 😄
          Gonna try 100R on clock and leave it at 330R for data.

          Link Preview Image
          cato@chaosfurs.socialC 1 Reply Last reply
          1
          0
          • R relay@relay.infosec.exchange shared this topic
          • cato@chaosfurs.socialC cato@chaosfurs.social

            330R on both data and clock - data is acceptable, but clock is way too weak. It still registers though! Still showing garbage anyway. But now the data out doesn't keep losing bits 😄
            Gonna try 100R on clock and leave it at 330R for data.

            Link Preview Image
            cato@chaosfurs.socialC This user is from outside of this forum
            cato@chaosfurs.socialC This user is from outside of this forum
            cato@chaosfurs.social
            wrote last edited by
            #17

            I extended my font generator thingy to allow the reverse operation, i.e. entering bytes and showing what they would look like on the LCD. I then added a function to shift the data bit by bit, and tried it with the character I am trying to send (5), and of course - one left shift and I get exactly the garbled characters I am seeing on the display. So that is what's happening. Somehow there is a single bit shift in all of the data

            cato@chaosfurs.socialC 1 Reply Last reply
            0
            • cato@chaosfurs.socialC cato@chaosfurs.social

              I extended my font generator thingy to allow the reverse operation, i.e. entering bytes and showing what they would look like on the LCD. I then added a function to shift the data bit by bit, and tried it with the character I am trying to send (5), and of course - one left shift and I get exactly the garbled characters I am seeing on the display. So that is what's happening. Somehow there is a single bit shift in all of the data

              cato@chaosfurs.socialC This user is from outside of this forum
              cato@chaosfurs.socialC This user is from outside of this forum
              cato@chaosfurs.social
              wrote last edited by
              #18

              I did confirm with the oscilloscope that what the LCD is receiving is valid data now and that the data matches what it should be. So the bit shift must have occurred outside of the timeframe I sampled with the scope

              cato@chaosfurs.socialC 1 Reply Last reply
              0
              • cato@chaosfurs.socialC cato@chaosfurs.social

                I did confirm with the oscilloscope that what the LCD is receiving is valid data now and that the data matches what it should be. So the bit shift must have occurred outside of the timeframe I sampled with the scope

                cato@chaosfurs.socialC This user is from outside of this forum
                cato@chaosfurs.socialC This user is from outside of this forum
                cato@chaosfurs.social
                wrote last edited by
                #19

                i.

                i switched the clock phase (SPI mode 1 instead of 0)

                and it works

                i can't

                cato@chaosfurs.socialC 1 Reply Last reply
                0
                • cato@chaosfurs.socialC cato@chaosfurs.social

                  i.

                  i switched the clock phase (SPI mode 1 instead of 0)

                  and it works

                  i can't

                  cato@chaosfurs.socialC This user is from outside of this forum
                  cato@chaosfurs.socialC This user is from outside of this forum
                  cato@chaosfurs.social
                  wrote last edited by
                  #20

                  why?? I tested with Arduino's shiftOut weeks ago and it worked?? Isn't shiftOut also mode 0?

                  cato@chaosfurs.socialC 1 Reply Last reply
                  0
                  • cato@chaosfurs.socialC cato@chaosfurs.social

                    why?? I tested with Arduino's shiftOut weeks ago and it worked?? Isn't shiftOut also mode 0?

                    cato@chaosfurs.socialC This user is from outside of this forum
                    cato@chaosfurs.socialC This user is from outside of this forum
                    cato@chaosfurs.social
                    wrote last edited by
                    #21

                    Link Preview Image
                    citali@fellies.socialC mist@chaosfurs.socialM thiccpaws@tech.lgbtT cato@chaosfurs.socialC sam@shonk.sam.axS 5 Replies Last reply
                    0
                    • cato@chaosfurs.socialC cato@chaosfurs.social

                      Link Preview Image
                      citali@fellies.socialC This user is from outside of this forum
                      citali@fellies.socialC This user is from outside of this forum
                      citali@fellies.social
                      wrote last edited by
                      #22

                      @cato happy eating :3

                      cato@chaosfurs.socialC 1 Reply Last reply
                      0
                      • citali@fellies.socialC citali@fellies.social

                        @cato happy eating :3

                        cato@chaosfurs.socialC This user is from outside of this forum
                        cato@chaosfurs.socialC This user is from outside of this forum
                        cato@chaosfurs.social
                        wrote last edited by
                        #23

                        @Citali thanks 😄

                        1 Reply Last reply
                        0
                        • cato@chaosfurs.socialC cato@chaosfurs.social

                          Link Preview Image
                          mist@chaosfurs.socialM This user is from outside of this forum
                          mist@chaosfurs.socialM This user is from outside of this forum
                          mist@chaosfurs.social
                          wrote last edited by
                          #24

                          @cato good noms, why is the last word orangy?

                          cato@chaosfurs.socialC 1 Reply Last reply
                          0
                          • mist@chaosfurs.socialM mist@chaosfurs.social

                            @cato good noms, why is the last word orangy?

                            cato@chaosfurs.socialC This user is from outside of this forum
                            cato@chaosfurs.socialC This user is from outside of this forum
                            cato@chaosfurs.social
                            wrote last edited by
                            #25

                            @mist yeah no idea, seems like that module might have been replaced and has a slightly different tone

                            1 Reply Last reply
                            0
                            • cato@chaosfurs.socialC cato@chaosfurs.social

                              Link Preview Image
                              thiccpaws@tech.lgbtT This user is from outside of this forum
                              thiccpaws@tech.lgbtT This user is from outside of this forum
                              thiccpaws@tech.lgbt
                              wrote last edited by
                              #26

                              @cato This is so cool!

                              cato@chaosfurs.socialC 1 Reply Last reply
                              0
                              • thiccpaws@tech.lgbtT thiccpaws@tech.lgbt

                                @cato This is so cool!

                                cato@chaosfurs.socialC This user is from outside of this forum
                                cato@chaosfurs.socialC This user is from outside of this forum
                                cato@chaosfurs.social
                                wrote last edited by
                                #27

                                @thiccpaws thank you! :3

                                1 Reply Last reply
                                0
                                • cato@chaosfurs.socialC cato@chaosfurs.social

                                  Link Preview Image
                                  cato@chaosfurs.socialC This user is from outside of this forum
                                  cato@chaosfurs.socialC This user is from outside of this forum
                                  cato@chaosfurs.social
                                  wrote last edited by
                                  #28

                                  Next problem: The alternating blinkers next to each row seem to not turn off fully. I already identified this as being caused by the fluorescent tubes inside the display radiating into the ribbon cables (they're just kinda loose inside) and my board missing pulldown resistors. My blinker control uses two shift registers with parallel data but opposite output enables to alternate between left and right and I forgot that enable = low means high-impedance, not low outputs.

                                  cato@chaosfurs.socialC 1 Reply Last reply
                                  0
                                  • cato@chaosfurs.socialC cato@chaosfurs.social

                                    Link Preview Image
                                    sam@shonk.sam.axS This user is from outside of this forum
                                    sam@shonk.sam.axS This user is from outside of this forum
                                    sam@shonk.sam.ax
                                    wrote last edited by
                                    #29

                                    @cato@chaosfurs.social ​​

                                    1 Reply Last reply
                                    0
                                    • cato@chaosfurs.socialC cato@chaosfurs.social

                                      Next problem: The alternating blinkers next to each row seem to not turn off fully. I already identified this as being caused by the fluorescent tubes inside the display radiating into the ribbon cables (they're just kinda loose inside) and my board missing pulldown resistors. My blinker control uses two shift registers with parallel data but opposite output enables to alternate between left and right and I forgot that enable = low means high-impedance, not low outputs.

                                      cato@chaosfurs.socialC This user is from outside of this forum
                                      cato@chaosfurs.socialC This user is from outside of this forum
                                      cato@chaosfurs.social
                                      wrote last edited by
                                      #30

                                      Pulldown resistors fixed that too!

                                      Next: Fix the broken first row - turns out this was just some broken solder joints. Easy fix. The soldering quality in this display is shockingly poor. But it was a lab / development device after all.

                                      Also gave it a good clean, looks much nicer now!

                                      Now all that's left to do is replace the little potentiometer with a proper brightnes ssensor and wire my board up to the ballasts for dimming.

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


                                      • Login

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