Scrolling game title using 16x2 CLCD on RAS Console-Pi
-
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:
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
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
- Support 16x2 I2C Character LCD
-
I love it! Very nice case too!
-
@obsidianspider Without your basic script, I could not have finished this project. Thank you very much.
-
It's a special RAS Console-Pi!!
it's awesome in real....
-
@fly9p Thank you. I appreciate it.
-
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?
-
@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. -
@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?
-
@noremaC1337 I never use any shutdown script when RPi shutdown. Please see the process of RPi power switch.
- Push the switch button. ->
Turn on RAS Console-Pi
- If I want to shutdown, I will use shutdown command using SSH for myself or shutdown menu in RetroPie. ->
sudo shutdown -h now
- and then push the button again.->
Turn off RAS Console-Pi power
If you want to make shutdown script, plz see the below link.
As you said before
RUN
isRESET
function.
If you connect the two pins ofRUN
with a piece of wire, the RPi will reset. - Push the switch button. ->
-
@zzeromin Amazing job! looks beautiful.
-
@Nismo Thanks a lot. You can see more photos of RAS Console-Pi.
- flickr link: https://flic.kr/s/aHskLvKoCZ
-
@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.
-
@evlthecat That is a good news. I'm looking forward to your good project. Thanks.
-
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.
-
@bbuschke Did you install 'Scraper'? and What is your I2C address?
plz check your I2C address using this command.
sudo i2cdetect -y 1
-
Fantastic the result, my congratulations. A question, where is it possible to locate the plans of the box?
-
@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.
-
Hi, is it possible to have both a power button and the lcd display sharing gpio pins? (pins 5 and 6)
-
@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.
-
@zzeromin said in Scrolling game title using 16x2 CLCD on RAS Console-Pi:
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...)
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.