Making a Better PC Stats Display with a Raspberry Pi
Now i stand by that video modbro software is incredibly easy to work with and it’s a quick and easy solution for getting a decent, looking stats display. But in this video i’m going to show you how to create a different kind of stats display still using a raspberry pi, but this time using i264 to create a much more flexible display Music. So before getting too far into this build, i should point out that ida 64 isn’t free but it’s a great piece of software for hardware enthusiasts and can tell you pretty much everything you would ever want to know about your system if you’re into your pc. No not in that way, then i highly recommend you buy it so, just like, with the last build you’re going to need a few different bits and pieces to get working with a raspberry, pi you’ll need the pi itself, a micro sd card of at least eight Gigabytes power supply a screen and some sort of case to put it in. You can find my amazon parts list in the description below, but any pie and screen combination you have lying around at home. Will work. You’Ll also need a usb keyboard and mouse to configure the pi to start with. Actually, i should point out you don’t even technically need a pie for this project, as the display we’re going to generate will work from a web browser, so any old phone or tablet would do, but who doesn’t love a good pie.
The first step will be to assemble the parts of your pie together, if you’re using the official raspberry pi screen, then this connects via a ribbon cable and some jumper leads for power. Other screens connect directly to the pi via an hdmi connector, which will work just as well with the screen connected. You just need to pop everything into some sort of case, and the hardware side of things is done. Easy next you’ll need to install an operating system on the pi, and i recommend you use the stock raspberry pi os and the free utility on the website for installing onto your micro sd card. Simply install the sd card into a card reader connected to your pc. Open the utility choose, the raspberry pi os from the list of options, select your sd card and then write the software to it once the software is copied across and verified. Your raspberry pi is ready to go simply insert the micro sd card power it up and it should boot into the raspberry pi os next we’re, going to set the pi aside for a moment and move back over to our windows pc and take a look at The software which will generate the stats display ida 64.. You can download it for free from the link in the description to try it out for 30 days, but i do recommend that you buy. It once installed. Take a while to get used to the interface and all it can do.
It’S a really thorough and useful piece of software for understanding about your pc and running benchmarks to get started. Creating your stats display, you’ll need to click file from the menu bar and then select preferences. This will open a new window and from there you’ll need to click lcd in the left hand, menu next. In the right hand, pane ensure that remote sensor is selected then ensure that the tcp ip port field shows 80.. Beneath that, you have an option called preview resolution and this needs to be set to the same resolution as your raspberry pi display, which, for the official display is 800×480 with that done, click the enable remote sensor lcd support box. Now, if you go to a web browser and type 127.0.0.1, colon 80 into the address bar you’ll see a live readout of your stats display and it’s – probably quite underwhelming. At this point, just a black rectangle head back to ida 64 and, in the left hand, pane expand the lcd menu and then click on lcd items from within this pane you’ll be able to create your stats display let’s briefly go over the layout. The top pane is your preview window to the right of that. You have some buttons for importing and exporting your settings. We’Ll come back to those buttons later beneath those buttons. You have a tool for moving items around on your screen and beneath the preview window you have a list view which will show you, the various widgets images and text that you’ve added to your screen, and you can see we can have up to six different pages Of information to the right of the list view you have some descriptive buttons for adding, deleting and moving the assets.
You add to the display right now. The only one clickable is the new button. So go ahead and press it. This brings up the new item window and from here we can add assets to our stat screen. The first thing i want to add is a background image. This can be any appropriately sized image and i recommend you resize any images you want to display using an application like or photoshop click on, the item, type drop down list and select image. You can then click the button with three dots to bring up a browser window and select your image file. You can also choose to position the image using the x and y values by default. They’Re zeroed, which means that the top left corner of the image will be placed in the top left corner of the preview window. If you increase the x value, the image will move to the right. If you insert a minus value, it will move to the left. Similarly, if you increase the y value, the image moves down or inserting a minus value will move it up. If your image is sized correctly, then leaving these values at zero will work. Just fine, so click, ok and you can now see the image is presented in our preview window. Next, we want to add some stats to the display, and this is where id 64 is much more flexible than the modbro software click new. To add a new item and then click the item type drop down.
Again, you can see we have options to add a sensor item, a simple sensor: item, a static label, an image, a graph or an arc gage. These all have a bunch of customizable options and i’m not going to go into each one in detail, but let’s have a quick overview of what each one means. The sensor item option allows you to select a system attribute, like cpu clock, speed from the list of available options and have this displayed on the screen. You can see that the list is pretty exhaustive and covers clock speeds, memory, utilization network use, hard disk access and even fps in games. If you have fraps or rtss installed, whichever option you select here will be what is displayed on the stat screen beneath the list. You have some options for general formatting of the item, including text colour, size and font. You can also optionally include a label for the item which will be displayed alongside it, i’m going to select cpu clock speed, and you can see that the label is updated automatically. If you don’t like what it says you can just edit it on the next pane, you have some further options for displaying unit values. You can choose to display these or not, and you have some options for color and text formatting on the bar pane. You have the option for the size of your bar graph and can set values for the scale and color boundaries so that colors change based on thresholds.
You specify when you’re happy with the choices you can. Click, ok and you’ll see that your bar graph is shown in the preview window. If you’re not happy with the position, you can quickly move it using the on screen. Controls just select the item from the item list and then click the arrow buttons to move it. For larger adjustments, you can click on the center button to change between 1 5, 10 and 20 pixel movements. If you’re not happy with the way. The item looks, you can double click it or click and select the modify button to bring up the item window and make any changes. Next i’ll show you how to add a simple sensor item. This is like the previous option, but only allows you to display the reading for the item selected and a text label i’m going to use this to display the time i’m going to include a label called time and click. Ok, then, i can select it in the item list and use the arrow keys to move it to the top right hand. Side of the display. Next is the static label option which can be used to add additional text to your display that isn’t associated with a reading from your system i’m just going to add some free text and click? Ok – and you can see it added here – we’ve already covered image earlier. So let’s talk about graph. This gives a visual readout of a sensor value over time, so i’m going to select memory, utilization and i’m going to make the graph a bit bigger so it’s easier to see.
You can see that the amount of memory used is drawn across the grass over time, giving a really neat looking effect. Lastly, we have the arc gauge. This forms a circular bar graph which can change color based on thresholds and can be adjusted in size just like everything else. Once added it gives a nice circular readout of your selected item. If you find that you can’t get all the info you want on one screen, then you can click the pages tab at the top of the item list and create a whole new page. Then you can click on the lcd options. Tab in the left hand, menu and select the option to cycle through various pages at set time periods. Now i know this particular readout looks pretty terrible, but with a bit of work, you can come up with some pretty striking designs. Just check this out: Music Applause, Music, one Music, so you can see no matter whether your display is showing the latest game a good movie, your favorite band, or just your own logo. You can really create something quite unique when you’ve got something you like you just need to click the export button in the lcd items window and save the layout somewhere on your pc. Similarly, you can import previously saved items if you feel like changing it up. So now our display is set up within ida 64 and if we go back to that web browser, we can see that looks really good.
But how do we get that information onto the raspberry pi? Well, first, we need to finish the initial setup, connect up your keyboard and mouse to the raspberry pi and navigate through the setup phase. Choosing the options most relevant to you once you’re finished you’ll be presented with the raspberry pi os desktop. The first thing we’re going to do is enable ssh access. This is a way for us to control the raspberry pi from a command line on another machine click. On the start, menu then navigate to preferences and then raspberry pi configuration on the window that opens click the interfaces pane and then ensure that ssh is set to enabled then click. Ok. Next, you need to work out the ip address your raspberry pi is using so that you can connect to it from your pc hover the mouse cursor over the up and down arrows in the taskbar, and you should see the ip address your pi is using to Connect to your home network write this down. You can now move back to your pc, as everything else can be configured over ssh. To do this, you’ll need to install a free piece of software called putty, which is linked in the description below install putty and then open. It make sure that the ssh radio button is selected and then type the ip address of your pi into the host name. Field and click open you’ll, be presented with a command line window and asked for the user credentials for your raspberry pi.
The default username is pi and the password is raspberry. You should then reach a command prompt and from here you can make the requisite changes so that your pi displays your stats screen on bootup. This is achieved by opening a full page web browser and automatically navigating to the stat screen page broadcast by ida 64.. To do this, we’re going to issue some commands and edit some config files, so the browser starts on boot. Up the commands used are all written in the video description and can be copied and pasted into putty. The first command is going to install an app which removes the mouse cursor from the screen. Type sudo apt, hyphen, get install unclutter and hit return. You’Ll be prompted to confirm the installation just hit y on your keyboard and hit return once that is finished, type sudo space, nano space forward, slash, etc forward. Slash xdg, forward, slash lx session forward, slash lxde, hyphen pi forward, slash, auto start and hit return. The auto start text file should open within putty, now we’re going to add some extra lines to the file to remove the mouse, cursor ensure the screen doesn’t turn off and to finally open the browser in full screen mode during boot. Again, all these commands are in the video description below and you can copy and paste them into putty by right clicking. The only thing you need to change is the ip address of the machine running ida 64, which you can find from windows settings under the network.
Settings once you’ve copied the text into putty and included the correct ip address. You need to press the control key and o on your keyboard to save the file pressing return to confirm and then press control and x to exit the text editor back at the command prompt. You can issue a command to reboot the pi and hopefully, when it reboots you’ll, be presented with the ida, 64 stat screen and that’s. How it’s done you can check out further information on my website via the link in the video description to see a more in depth? Written guide i’ve also made available some of the settings files for download. If you like, the look of any of the screens i’ve produced for this video, thank you so much for watching this video if you’ve enjoyed it.