RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Scrolling game title using 16x2 CLCD on RAS Console-Pi

    Scheduled Pinned Locked Moved Projects and Themes
    clcddisplay16x21602game title
    26 Posts 17 Posters 14.6k Views
    Loading More Posts
    • 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.
    • zzerominZ
      zzeromin
      last edited by zzeromin

      This project was developed with my awesome friends(smyani, zerocool, superstar) in Raspberrypi Village and raspigamer

      We've made small script written in python for RetroPie project running on Raspberry Pi 2,3, which displays all necessary info on a 16x2 I2C CLCD display

      Please let me know what I missed bugs or to improve functions.

      Thanks to @meleu @obsidianspider @BuZz for good idea and tips to give me in RetroPie forum.

      Please see below photos of RAS Console-Pi:

      2_1478669955966_03.jpg

      0_1478669955964_01.jpg

      1_1478669955966_02.jpg

      Youtube


      Features

      • Support 16x2 I2C Character LCD
        • Current date and Time, IP address of eth0, wlan0
        • CPU Temperature and Speed
        • Emulation and ROM information
      • Luxury case(width 150mm * height 100mm * depth 50mm ) using smoke color acrylic
      • Raspberry Pi On/Off power control using push lock led switch
      • 5V DC fan for the RPi's cpu temperature

      CLCD Development environment

      • Raspberry Pi 2, 3
      • RetroPie v4.0.2 and later
      • 16x2 I2C Character LCD
      • Python 2, 3

      Github

      • https://github.com/zzeromin/RetroPie-Clcd

      Next plan

      • Support Berrycade(advmame)
      • Adjust the scrolling game title

      Reference

      • https://github.com/retropie/retropie-setup/wiki/runcommand
      • https://retropie.org.uk/forum/topic/2211/questions-about-runcommand-sh
      • https://retropie.org.uk/forum/topic/3731/solved-variables-with-runcommand-onstart-sh
      • https://retropie.org.uk/forum/topic/3134/meet-the-retrog-update-17-8-paintjob-pics
      • http://forums.rasplay.org/topic/318/scrolling-game-title-for-retropie-v4-0-2-using-16x2-clcd-on-ras-console-pi
      N A 2 Replies Last reply Reply Quote 5
      • obsidianspiderO
        obsidianspider
        last edited by

        I love it! Very nice case too!

        📷 @obsidianspider

        zzerominZ 1 Reply Last reply Reply Quote 1
        • zzerominZ
          zzeromin @obsidianspider
          last edited by

          @obsidianspider Without your basic script, I could not have finished this project. Thank you very much.

          1 Reply Last reply Reply Quote 1
          • F
            fly9p
            last edited by fly9p

            It's a special RAS Console-Pi!!

            it's awesome in real....

            zzerominZ 1 Reply Last reply Reply Quote 0
            • zzerominZ
              zzeromin @fly9p
              last edited by

              @fly9p Thank you. I appreciate it.

              1 Reply Last reply Reply Quote 0
              • N
                noremaC1337
                last edited by

                I am curious how you did the on/off. I see your switch, and it appears you have some type of custom plug into the power of the RPi, and then the switch is also wired to a plug (looks like barrel adapter) on the back of the unit. Does this switch shut down your RPi appropriately? Or do you still go through the menu to shut it down properly, and the switch is basically just there for turning the unit back on?

                zzerominZ 1 Reply Last reply Reply Quote 0
                • zzerominZ
                  zzeromin @noremaC1337
                  last edited by

                  @noremaC1337 The power switch used by turn on/off only. I'm using shutdown command or menu when RPi turn off nomally.
                  Please see below power part of the RAS Console-Pi circuit.

                  0_1480556782149_GPIO_en.png

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    noremaC1337 @zzeromin
                    last edited by

                    @zzeromin So are you saying that when everything is on, you can go up and press the power button again, and it will run the shut down script?

                    The way that I see it, based on your diagram, is that once everything is turned on, the power is now flowing from the DC jack through the switch to the board. So if you were to go up, and press the button again (essentially "un locking" it), this would abruptly cut the power to the board and wouldn't even give it a chance to run any scripts. Let me know if this is correct thinking.

                    I have a Raspberry Pi 2 Model b. There are two holes right next to the display out that are labeled "RUN". I have soldered a two pin header to those holes, and now when I briefly touch them together when the board is not booted up, it will start everything up. I am thinking that essentially it would be the same thing as this?

                    zzerominZ 1 Reply Last reply Reply Quote 0
                    • zzerominZ
                      zzeromin @noremaC1337
                      last edited by zzeromin

                      @noremaC1337 I never use any shutdown script when RPi shutdown. Please see the process of RPi power switch.

                      1. Push the switch button. -> Turn on RAS Console-Pi
                      2. If I want to shutdown, I will use shutdown command using SSH for myself or shutdown menu in RetroPie. -> sudo shutdown -h now
                      3. and then push the button again.-> Turn off RAS Console-Pi power

                      If you want to make shutdown script, plz see the below link.

                      • reference: http://www.instructables.com/id/Simple-Raspberry-Pi-Shutdown-Button/

                      As you said before RUN is RESETfunction.
                      If you connect the two pins of RUN with a piece of wire, the RPi will reset.

                      • reference: https://blog.adafruit.com/2014/10/10/making-a-reset-switch-for-your-raspberry-pi-model-b-run-pads-piday-raspberrypi-raspberry_pi/
                      1 Reply Last reply Reply Quote 0
                      • N
                        Nismo @zzeromin
                        last edited by

                        @zzeromin Amazing job! looks beautiful.

                        zzerominZ 1 Reply Last reply Reply Quote 0
                        • zzerominZ
                          zzeromin @Nismo
                          last edited by

                          @Nismo Thanks a lot. You can see more photos of RAS Console-Pi.

                          • flickr link: https://flic.kr/s/aHskLvKoCZ
                          1 Reply Last reply Reply Quote 1
                          • E
                            evlthecat
                            last edited by

                            @zzeromin Thanks for posting this project. I used your idea to create a client/server in ANSI C. I can monitor multiple consoles around the house. I am looking for some place to host the project. I give proper credit to you and others in code.

                            zzerominZ 1 Reply Last reply Reply Quote 0
                            • zzerominZ
                              zzeromin @evlthecat
                              last edited by

                              @evlthecat That is a good news. I'm looking forward to your good project. Thanks.

                              1 Reply Last reply Reply Quote 0
                              • B
                                bbuschke
                                last edited by

                                I have followed the steps on this and i have power to the clcd but i have nothing showing on the screen when i enter a game.

                                zzerominZ 1 Reply Last reply Reply Quote 0
                                • zzerominZ
                                  zzeromin @bbuschke
                                  last edited by

                                  @bbuschke Did you install 'Scraper'? and What is your I2C address?
                                  plz check your I2C address using this command.
                                  sudo i2cdetect -y 1

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    primy
                                    last edited by

                                    Fantastic the result, my congratulations. A question, where is it possible to locate the plans of the box?

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      Advokaten @zzeromin
                                      last edited by Advokaten

                                      @zzeromin this looks amazing! I have a question though, would it be possible to use a 'real' led sign with the text scrolling on it?
                                      My idea is to have one of those LED scrolling text displays, that you see in public, on the front of my arcade cabinet, and I thought it might be cool to have it be interactive with retropie itself, somehow... :) I have no idea how though.

                                      Like on one of these.

                                      alt text

                                      1 Reply Last reply Reply Quote 0
                                      • BozB
                                        Boz
                                        last edited by

                                        Hi, is it possible to have both a power button and the lcd display sharing gpio pins? (pins 5 and 6)

                                        O 1 Reply Last reply Reply Quote 0
                                        • O
                                          ortsac @Boz
                                          last edited by ortsac

                                          @zzeromin Cool and Classy Console. Is that a custom made case? Where can I order one? I'd like to build one as part of my Home Theater setup.

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mc9625
                                            last edited by

                                            @zzeromin said in Scrolling game title using 16x2 CLCD on RAS Console-Pi:

                                            https://github.com/zzeromin/RetroPie-Clcd

                                            Hi, I know it's quite an old discussion, but I wonder if your script could be used as a starting point to create a dynamic marquee. Instead of simple write the rom name on an LCD, show a related image on a GPIO smaller screen (dev/fb0) . They are quite cheap today and could be fun to have a smaller service monitor. Do you think it could be hacked to achieve this? (I know nothing about Python...)

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.