Arduino IDE on Raspberry Pi

  • download, extract, and run ./install.sh
  • 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.

(more…)

exFAT, NTFS, Mount Windows Shares

Pi 64-bit:

  • The system already has ntfs-3g installed, but I’ve failed to get mounted and working NTFS formatted USB drive
  • For exFat is still the same
sudo apt install exfat-fuse

Pi 32-bit: Let’s add exFat and NTFS support to our Raspberry Pi:

sudo apt update
sudo apt upgrade
sudo apt install exfat-fuse
sudo apt install ntfs-3g

To mount Windows shared directory:

sudo mount -t cifs //ip_address/share_name /home/pi/local_dir -o username=win_user,password=win_pswd,uid=local_user,gid=local_group

Without uid & gid, the directory has been mounted as read-only

Resourse: Raspberry Pi exFAT: Adding Support for exFAT File System – Pi My Life Up

Raspberry Pi 4 Overclocking

Did not run any benchmarks, but it seems to run faster. Better use a special case with active (preferred) or passive cooling (in my case, the system was unstable at 2GHz)

So, run editor:

sudo nano /boot/config.txt

Pi 32-bit: find [pi4] and add after for 2GHz (64-bit Buster: there is a line #arm_freq=800):

over_voltage=4
arm_freq=2000
gpu_freq=750

(more…)

Yandex.Metrica