Raspberry Pi – determine version of rpi

cat /proc/device-tree/modelĀ 

output on rpi 1b:
Raspberry Pi Model B Rev 2

output on rpi 3b:
Raspberry Pi 3 Model B Rev 1.2

Comments are closed.