Single-board computer systems have exploded in recognition lately amongst tinkerers and mini-PC lovers alike. Spearheaded by the enduring $35 Raspberry Pi, these boards are energy-efficient, versatile, and splendidly open to experimentation — however removed from error-free.
Compactness doesn’t defend towards errors. In fact, single-board computer systems can generally go on the fritz. One large benefit the Raspberry Pi holds over traditional desktop PC or pocket book is undoubtedly the absence of shifting mechanical parts, which makes troubleshooting simpler. Higher but, two main issues might be solved very simply.
What makes troubleshooting considerably harder with the Raspberry Pi is the number of fashions. This text focuses on the newer Raspberry Pi 3 and 4, however the fixes outlined additionally apply to rival Odroid, Arduino, or Beagleboard single-board computer systems.
Put it in a case!

Don’t go away your Raspberry Pi open to the weather.
Alaina Yee / Foundry
Probably the greatest investments for board computer systems is the acquisition of a strong case. Primary instances can be found, however take into account the meant use on your Raspberry Pi. If the small laptop has to work as a streaming machine or file server, it has rather a lot to do. That’s why a case with a warmth sink for passive cooling or an lively fan is really helpful.
The latter prices a bit extra electrical energy, however prolongs life. The enclosure additionally protects towards mud, which impacts cooling, and prevents quick circuits if you happen to tinker with it whereas the pc is working or by chance contact a conductor to a contact.
Guarantee a strong energy provide
In case your Raspberry Pi repeatedly crashes throughout operation, or if artifacts or coloured stripes seem on a related display, suspicion rapidly falls on the software program used. In our expertise, nevertheless, most issues merely end result from an unsuitable energy adapter. You wouldn’t have to purchase the official energy adapter, however it is best to use an influence adapter from a identified producer and likewise use a high-quality USB cable.
Issues with the ability provide are additionally signaled by the pc at start-up, which requires a very great amount of energy. If there are bottlenecks, a small coloured sq. will seem on the related display. If the pink LED goes out or flashes, the ability provide isn’t secure.
You should purchase Raspberry Pi starter kits that embody a case, adequate energy provide, warmth sinks, and extra, in addition to the board itself.
My Raspberry Pi gained’t begin
When your Raspberry Pi first begins up and gained’t boot, you in all probability made a mistake when putting in the working system. For those who use a program like Pi Imager or Etcher, it is best to at all times use the perform that checks the recordsdata once more after writing. Load the SD card right into a reader on one other system and examine whether or not there’s a “boot” folder on it. The recordsdata “begin.elf” and “kernel.img” have to be in it. If they’re lacking, re-install the working system. If there aren’t any issues, strive one other reminiscence card.
If the system ran with the SD card till now, the file system or one of many start-up recordsdata might have been broken.
The best resolution: Switch the system once more and begin a recent set up. To save lots of your self the difficulty of establishing a brand new system sooner or later, make a replica of the cardboard after a profitable set up and a take a look at run:
sudo dd if=/dev/sdd of=~/raspberry-pi.img
Alter the system title (“sdd” above). With the command in the other way, you’ll be able to merely restore the backup later.

If the system now not begins, examine the SD card for the existence of the essential start-up recordsdata.
IDG
Raspberry Pi merely crashes
Sudden crashes result in the suspicion that the software program is freaking out. If there aren’t any abnormalities within the log recordsdata and issues with the ability provide might be dominated out, thermal issues or an overload on the USB port might play a task. Thermal issues at all times come up when PCBs are caught in a housing that’s too slender and doesn’t present sufficient cooling. Overclocking additionally produces quite a lot of warmth. Perhaps you activated overclocking in some unspecified time in the future and forgot to show it off once more? As a way to function the Raspberry Pi with the default CPU frequency once more, examine whether or not the entry “arm_freq” is commented out within the file “config.txt”.
One more reason for Raspberry Pi crashes could possibly be an absence of RAM. The USB driver consumes quite a lot of RAM, for instance. In case your USB interface is underneath heavy load, this will result in the system missing RAM elsewhere. Within the file “/and so forth/sysctl.conf” you’ll be able to attempt to set the worth underneath “vm.min_ free_kbytes” larger.
If the issue continues to happen, a change within the line
smsc95xx.turbo_mode=N
within the file “/boot/cmdline.txt” might result in success. Nevertheless, the community throughput is lowered with this setting. You might be due to this fact shopping for larger stability with decrease community efficiency.
Raspberry Pi display stays darkish
If a related monitor stays darkish whereas the Raspberry Pi appears besides usually, examine the mechanical cable connection. Particularly with the small micro-HDMI sockets of the most recent Raspberry Pi generations, there’s generally sufficient pressure on the twine to dislodge it and lose the connection. You could possibly additionally strive utilizing the second micro-HDMI socket.
If that doesn’t work, some guide work is required. For the reason that Pi doesn’t have a BIOS within the normal sense, you may make the modifications to the settings recordsdata, which you’ll be able to entry with any editor on one other system. Open the file “config.txt” on the SD card with a textual content editor of your selection. Add the road
hdmi_safe=1
Save the file and insert the cardboard once more. Attempt to begin the system with this setting.
Artifacts or colourful stripes on the show?

A textual content editor will do: As within the case of sign amplification on the HDMI port, you are able to do quite a lot of effective tuning within the configuration recordsdata.
IDG
If colourful pixels seem on the monitor within the higher proper nook, this can be a sign for inadequate energy provide. If, however, veils or clearly seen pixels seem, it’s in all probability on account of an HDMI cable that’s too lengthy. A cable that will work on a desktop PC or pocket book can create an excessive amount of resistance on the Raspberry Pi.
For those who wouldn’t have a shorter HDMI cable at hand, amplify the sign with the settings within the “Management Panel.” Open the already talked about file “config. txt” once more and alter the worth of “config_hdmi_boost”. Values between 1 and seven are permitted right here. First strive a medium worth similar to “4”. Normally, this can assist.
Test assist sources
We needed to restrict ourselves to the most typical sources of errors for this text. In case your downside was not listed or no resolution labored, search for additional assistance on the Web.
The official documentation at www.raspberrypi.com/documentation presents in depth materials on all Raspberry fashions. There additionally, you will discover, for instance, a desk explaining the that means of the various kinds of LED flashing. Additionally, you will discover a full reference of all instructions within the configuration recordsdata.
Much more background materials and particularly the itemizing of issues of different customers (in English) might be discovered within the Wiki of elinux.org. Customers of different boards can even discover assist and ideas there.
This text was translated from German to English and initially appeared on pcwelt.de.