The Raspberry Pi is a series of small single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and in developing countries. The original model became far more popular than anticipated, selling outside its target market for uses such as robotics.
The Raspberry Pi Foundation provides Raspbian, a Debian-based Linux distribution for download, as well as third-party Ubuntu, Windows 10 IoT Core, RISC OS, and specialised media centre distributions. It promotes Python and Scratch as the main programming languages, with support for many other languages. The default firmware is closed source, while an unofficial open source is available.
Raspberry Pi and Internet of Things
Using the Terminal (Command Line)
All computers have a terminal (in windows its called command prompt)
"C:\Windows\system32\cmd.exe" alternativley just search ‘command prompt’ from the start menu
once you have it open try this simple command -
$ say hello world
Connecting to the Raspberry Pi from your computer
how to find our pi’s Ip address (note you need to be on the same wifi network*)
$ ping raspberrypi.local
Your phone and your Raspberry Pi have to be on the same network, so connect your phone to the correct wireless network.
When you open the Fing app, touch the refresh button in the upper right-hand corner of the screen. After a few seconds you will get a list with all the devices connected to your network. Scroll down to the entry with the manufacturer “Raspberry Pi”. You will see the IP address in the bottom left-hand corner, and the MAC address in the bottom right-hand corner of the entry.
Remote Login to Raspberry Pi
SSH (secure Shell) Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line login and remote command execution, but any network service can be secured with SSH.
- Make a note of your RPI’s IP address so you can remotely log in again. We are going to use SSH to login remotely from your computers to your Raspberry PI computers…