Arduino IDE on Raspberry Pi

  • download, extract, and run ./
  • add board manager (esp8266)
  • ide shows two ports, but only one works: /dev/ttyUSBO as it’s shown on the picture (lower USB-3) 
  • same problem I’ve had with 32-bit  system
  • esp32 is not available for arm64
  • attiny 85 has a problem with board manager

Formatting an SDXC card for use with NOOBS [32-bit]

The standard formatting tools built into Windows are limited, as they only allow partitions up to 32GB to be formatted as FAT32, so to format a 64/128GB partition as FAT32 you need to use a third-party formatting tool.

A simple tool to do this is FAT32 Format which downloads as a single file named guiformat.exe – no installation is necessary.
GUI version does not work with more than one USB connected devices and SD card adapter is not the first one. I had to download command line version fat32format.exe

Run the SD Formatter tool first to ensure that any other partitions on the SD card are deleted. Then run the FAT32 Format (guiformat.exe) tool, ensure you choose the correct drive letter, leave the other options at their default settings, and click “Start”. After it has finished, you can proceed with the rest of the NOOBS instructions.


Raspberry Pi OS (64-bit Buster) Installation

They “still recommend the 32 bit operating system for all Pis at this time, although have decided it is now time to begin the move toward a 64-bit OS. For the moment this is a ‘beta’ program, the OS is in heavy flux and its functionality is likely to change significantly over the next few months…”


  • Still beta, for how long? There is Ubuntu 64-bit, but I  just like Raspbian (Raspberry OS)
  • Almost nothing included, even repository is half full, half empty


  • Adventure!! You do not know what to expect!!
  • 64-bit system, so you have a chance to get newer/latest version of software (some developers/companies dropped support for 32-bit systems, for ex:
    – Visual Code
    – MongoDB
  • I think it’s running faster
  • Overstep the limit of 4GB of the memory: Raspberry Pi 4 / 8GB

The one thing I would recommend for now, do not follow the link to download image. Just go:

You  should see more folders there, dig into the most recent, and download (click) .zip file with the image. Write the image on SD card, USB drive (using for ex: win32diskimager), put into the slot, since Sep 2020 Raspberry Pi 4 can boot directly from USB without SD card –  and start the system.

Source: Raspberry Pi OS (64 bit) beta test version – Raspberry Pi Forums

Change default Python version

Change to default python3 version on Raspberry Pi OS:

sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.7 2

# check the list 

sudo update-alternatives --list python

# Change the default version

sudo update-alternatives --config python
There are 2 choices for the alternative python (providing /usr/bin/python).

  Selection    Path                Priority   Status
* 0            /usr/bin/python3.7   2         auto mode
  1            /usr/bin/python2.7   1         manual mode
  2            /usr/bin/python3.7   2         manual mode

Press <enter> to keep the current choice[*], or type selection number:

# now Python 3 is default

Python 3.7.3 (default, Jul 25 2020, 13:03:44) 
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

Source: Change default python version on Raspbian GNU/Linux –

Install MongoDB on both 32-bit and 64-bit

[64-bit Raspberry OS Buster]

We are going to use instruction for Ubuntu 64-bit:

curl -s | sudo apt-key add -
echo "deb [ arch=arm64 ] bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
sudo apt update

Now we can install MongoDB server:

sudo apt install mongodb-org

# enable and start
sudo systemctl enable mongod
sudo systemctl start mongod


Install PHP

sorry guys, listed at the bottom, but sometimes, i think, you are caring more about your seo rating than about people.
the topic is hot: ‘Buster’, but the same for Pi-32. except the fact that, for Pi-32 phpmyadmin (sudo apt install phpmyadmin [?]) will do everything for you

It’s really not ‘a rocket science’:

sudo apt install php

Unfortunately, only basic/common modules will be install: no mbstring, myswl, etc. will be supported. So

sudo apt install php-cli php-common php-curl php-gd php-mbstring php-mysql php-xml php-phpseclib php-mysqli php-pear php-gettext libapache2-mod-php php-zip

If you are planning to upload huge files, as me, go to

sudo nano /etc/php/7.3/apache2/php.ini

i did not set any specific version in ‘sudo apt install php-cli php-common php-curl php-gd php-mbstring’, so the latest will be installed. BUT, in ‘sudo nano /etc/php/7.3/apache2/php.ini’ you can see 7.3. that’s the current version installed at the time of writing.

… and search for ‘max’ and change the values. for ex:

post_max_size = 256M
upload_max_filesize = 256M

find them, put a values you want, save it, but do not forget

sudo service apache2 restart