Saturday, 28 March 2020

Raspberry Pi Heat Sink Cooling Fan Connection




If  the temperature of Raspberry Pi goes above 80°C, you will see a little thermometer on your Raspbian desktop. This indicates your Pi is getting hot.

Its very important to keep your Pi cool if you are overclocking its CPU & GPU,
and also if its enclosed or is operating under heavy load.


To avoid rise in temperature and abruptly halting of your Pi, add a heat sink to your Raspberry Pi boards with a fan or at-least a fan to cool the Pi down.


Following is the connection diagram on how to connect a  heatsink fan to your Pi:



You can measure the CPU temperature using following command in terminal:
  
vcgencmd measure_temp

or

/opt/vc/bin/vcgencmd measure_temp


Following screenshot displays the initial temperature of Pi without cooling fan & later readings of temperature after adding a cooling fan.




You can overclock your Raspberry Pi 4 B using following config in config.txt

Warning: This will increase the temperature of CPU.

I have tested it on my Raspberry Pi 4 and it increases the performance a bit.

over_voltage=4
arm_freq=2000
gpu_freq=620


Links you can refer for the Case + Fan i used:
https://www.amazon.in/Rpi-shop-Raspberry-heatsink-included/dp/B07V1RFFYT/ref=sr_1_1?dchild=1&keywords=Rpi+shop&qid=1585282622&sr=8-1

OR

Protect your Pi from dust using Raspberry Pi Cases:
https://www.amazon.com/s?k=Raspberry+pi+case

Cooling Fan for your Raspberry Pi:
https://www.amazon.com/s?k=small+cpu+cooling+fan+5v



Quickly Install RetroGames RetroPie on Raspberry Pi 4 Model B

While in home quarantine imposed by Indian Government during these COVID-19 Pandemic, i thought of utilizing this time trying new things with my Raspberry Pi 4 board i bought few weeks back.

Playing Retro Games is the best way to pass time during these tough times & staying safe at home.

Install RetroPie on Raspberry Pi 4  in just 2 steps.

1. Download & burn the RetroPie ROTT-TheRA-RPI4-Beta3.img file on your SD Card.
2. Load the SD Card in Raspberry Pi & Power it on.

Its that simple to get retro games running on raspberry pie 4
and play games like Super Mario, Contra, Batman, BomberMan... and many more.

It was hard to find a working RetroPie Build for Raspberry Pie 4 ,  since no official release has been made by RetroPie Team yet.
After lot of searching I found a working image of Retro Pie, all credits go to TechToyTinker team who developed this RetroPie Image for Raspberry Pie 4.

Please download the image from the google drive link they provided.

Link:


After powering on the Pi 4 you will see the screen directly launches EmulationStation.. Voila !!

The system will initially ask you to setup controller input keys :

- Game Controller keys [Up, Down, Left, Right, A, B, X, Y , Start, Select]
- Now if you don't have a game controller / Game Pad, don't worry you can set up Keyboard & Mouse as your input.

Note: if you are setting the keys using a keyboard then, the keyboard key you set for A will be required to click OK button & finish the Controller Input Setup.




You may not see Nintendo64 & Megadrive option in the .img file you are running.
I have added Nintendo 64 and Megadrive game ROMs externally.

To add them follow these steps:
  1. Download ROMS available from https://www.freeroms.com  or https://coolrom.com.au/roms/
  2. Press F4 on your keyboard to come out of EmulationStation.
  3. You will see the Raspbian Desktop. Navigate to the Folders \home\pi\RetroPie\Roms\
  4. Copy the downloaded ROMS to a pendrive & attach the pendrive to your Pi 4.
  5. Copy all files with <Games_Name>(U) [!].z64  from your pendrive to n64 folder in your RetroPie.
  6. Copy all files with <Games_Name>(U) [!].gen  from your pendrive to megadrive folder in your RetroPie.   
  7. Remove the Pendrive. Run terminal and execute command emulationstation
  8. You will see new options of Megadrive and Nintendo64 as in the image above.
Enjoy your COVID-19 home quarantine days by playing Retro Games :)

 .

 Super Mario 2 :-

Batman :-

Buying quick links you can refer which i used:
Raspberry Pi 4 B (2gb RAM): https://amzn.to/3aL6GeE
Raspberry Pi 4 Model B Cover Case: https://amzn.to/2X8H3QY
Raspberry Pi 4 B - Power Suppy: https://amzn.to/2x7xKpR
HDMI to Micro HDMI Cable:  https://amzn.to/39Q8NN6





Friday, 27 March 2020

Troubleshooting HDMI Display Issue in Raspberry Pi

Troubleshooting HDMI Display Issue in Raspberry Pi

If you are using Raspberry Pi for the 1st time & HDMI display is having no signal then:

  1. I assume you have already loaded Raspbian OS a SD Card inserted in your Raspberry Pi.
  2. Remove the SDCard on which from your Pi and open the SDcard it in your PC or laptop.
  3. Search for config.txt and open it to edit.
  4. remove the # from the starting of following lines in config.txt to un-comment it.

    hdmi_safe=1

    hdmi_force_hotplug=1
  5. update config_hdmi_boost= 4  to below line

    config_hdmi_boost=9
  6. Save the config.txt on the SD Card with these changes .
  7. Insert SD Card back to Raspberry Pi.
  8. Power on your HDMI display TV/Monitor.
  9. Power on your raspberry pi .
  10. Check your cables are connected well (there may be loose connection near micro HDMI port sometimes so check that end.)
    [ micro HDMI must be inserted in HDMI 0 slot in Raspberry Pi 4 model ]
And this should make your display working. Let me know if you are still facing issue. But these steps should mostly fix your issue.

Thursday, 26 March 2020

Loading Raspbian OS on Raspberry Pi 4 model B


Hardware you will require:

  1. Raspberry Pi 4 B (with RAM - 1GB / 2GB / 4GB)
  2. Raspberry Pi 4 B Case cover & Heat Sink.
  3. HDMI to Micro HDMI Cable.
  4. SD Card (minumum 8GB size)
  5. Raspberry Pi 4 B Power Adapter. 
  6. A temporary PC / Laptop to download & burn Raspbian OS on SD Card.
Buying quick links you can refer:


Raspberry Pi 4 B (2gb RAM): https://amzn.to/3aL6GeE
Raspberry Pi 4 Model B Cover Case:
https://amzn.to/2X8H3QY
Raspberry Pi 4 B - Power Suppy:
https://amzn.to/2x7xKpR
HDMI to Micro HDMI Cable:
https://amzn.to/39Q8NN6


STEPS :

  1. Download Raspbian OS from below link to your PC
    https://www.raspberrypi.org/downloads/raspbian/

    Raspbian Buster with desktop and recommended software
    Image with desktop and recommended software based on Debian Buster
    Version: February 2020
    Release date: 2020-02-13
    Kernel version: 4.19
    Size: 2530 MB
    Release notes

    Download Torrent
    Download ZIP (links copied from www.raspberrypi.org website. )
  2. Download Etcher software to your PC- we will use it to  copy Raspbian OS to SD card. https://www.balena.io/etcher/
  3. Insert SD card in your PC.
  4. Start Etcher software
  5. pass 2020-02-13-raspbian-buster-full.img to Etcher software.
  6. Echer will automatically detect your SD card.
  7. Click Start to copy OS to SDCard. (It will take 15-20 mins to copy & verify)
  8. Remove SD Card from your PC.
  9. Insert the SD card in Pi4 SD Card slot.
  10. Connect HDMI to your display & Pi 4's HDMI 0.
  11. Connect Power Adpater to Pi 4.
  12. Power on the Pi4.
  13. If you see red & green led blinking in R.Pi4 then you will see your display working in 1-2 mins.
Initial first screen you see after powering on the Pi 4 is this :
















enter when prompted for username & password -
default username: pi
default password: raspberry

Next you will see the desktop as below:  


Troubleshooting HDMI Display Issues in Raspberry Pi:
If you are using Raspberry Pi for the 1st time & HDMI display is having no signal then:

  1. Remove the SDCard from your Pi and open the SDcard it in your PC or laptop.
  2. Search for config.txt and open it to edit.
  3. remove the # from the starting of following lines in config.txt to un-comment it.

    hdmi_safe=1

    hdmi_force_hotplug=1
  4. update config_hdmi_boost= 4  to below line

    config_hdmi_boost=9
  5. Save the config.txt on the SD Card with these changes .
  6. Insert SD Card back to Raspberry Pi.
  7. Power on your HDMI display TV/Monitor.
  8. Power on your raspberry pi .
  9. Check your cables are connected well (there may be loose connection near micro HDMI port sometimes so check that end.)
And this should make your display working. Let me know if you are still facing issue. But these steps should mostly fix your issue.