• Raspberry PI A+, B+ and 2B GPIO J8 40-pin pinout. Raspberry PI Models A and B have only the first 26 pins. GPIO# 2nd func pin# pin# 2nd func GPIO# – +3V3 1 2 +5V – GPIO2 SDA1 (I2C) 3 4 +5V – GPIO3 SCL1…

  • File and directory command line Directories List directory: ls List directory (wildcard matching): ls *.txt List all files of type: find . -name “*.txt” -print Switch/toggle between dirs: cd – Make empty directory: mkdir sample-directory Remove empty directory: rmdir sample-directory Remove directory with all contents:…

  • Learning

    Flash the ACT led

    by shedboy71

    Flash the ACT led from the command line, this tip was sent to me so I gave it a try, you could this in a script. The LED in question is seen below, this may depend on the version of Raspberry PI you have as…

  • Here are a couple of BASH scripts to display the temperature of the BCM2835 SoC used on the Raspberry PI. Using this its fairly simple to create a temperature logging system or even going a step further and if the temperature exceeded a maximum you…

  • Raspberry Pi hardware information, open up the terminal and type the commands listed below, you can also see the output from the terminal cat /proc/cpuinfo displays details about the device’s processor. cat /proc/meminfo displays details about the Raspberry Pi’s memory cat /proc/partitions reveals the size…

  • In the following example we will connect an LED and resistor to pin 7 of P1 on our Raspberry PI and we will flash an LED on, here is a picture of this OK we will use python, this tutorial assumes you already have Raspbian…

  • The MySQL Client can be used to connect to MySQL Server databases across a network. It provides a text-based interface to a MySQL Server. Commands # Install MySQL Client from the Debian repository sudo apt-get install mysql-client The package manager may suggest some dependencies for MySQL…

  • Installing MySQL Server Start LXTerm and enter the following # Install MySQL Server from the Debian repository sudo apt-get install mysql-server The package manager may suggest some dependencies for MySQL Server. Press “Y” then “enter”  to continue installation. The MySQL installation process will prompt for a…

Older Posts

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More