Raspberry Pi / CubieTruck
The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects. - raspberrypi.org
USB
Finding Serial ports
ls /dev/serial/by-id/*
-> this is stablelsusb
-> USB-Serial adapterdmesg | grep -i serial
-> 3f201000.serial: ttyAMA0- What is the difference between ttys0, ttyUSB0 and ttyAMA0?
- ttyAMA0 is the device for the first serial port on ARM architecture. ttyAMA0 can be the Tx, Rx pins for the Raspberry. But for the Raspberry Pi 3b it was used for the Bluetooth.
- ttyUSB0 is the device for the first USB serial convertor.
WARNING - /dev/serial/by-id missing
- edit /usr/lib/udev/rules.d/60-serial.rules
turn off USB ports power
hub-ctrl.c/hub-ctrl -h 0 -P 2 -p 0
turn off the power to the all the usb ports
Temperature Monitoring - vcgencmd measure_temp
Wifi
Boot
Fleet
Checking Model version cat /proc/device-tree/model
or pinout
in new raspbian version
- Raspberry Pi 4 Model B Rev 1.2 (ender6) - armv7l - 4Go - (2021)
- Raspberry Pi 3 Model B Rev 1.2 (ender3)- armv7l - 1Go - (2019)
- Raspberry Pi Model B - arm ? - 0.5Go - (2013)
and also
- CubieTruck (Cubieboard3) - (2013)
r/raspberry_pi
Written on October 30, 2020, Last update on June 20, 2023
raspberry-pi
hardware
arm