Raspberry Pi 2 Review and Notes

Raspberry Pi 2 Review and Notes

Impression

I didn't expect too much from a 35 dollar micro-computer. Nowadays, the same size mobile phone can be several times powerful compared to Raspberry Pi. But why do we still need a Raspberry Pi? There are several reasons. First, it is a computer that you can choose different operating systems (Debian-based, Ubuntu-based, Win10 etc.) to install, instead of a mobile device that has a fixed operating system or at most different ROMs you can install if you are using an Android phone. Second, There are interfaces that allow you extend or install various modules such as camera and sensors.

If you own a Raspberry Pi first generation, you may find it is slow, and you can't do many things with it. But, Raspberry Pi2 is really a great improvement. It is fast. Of course, it can't even compete with you laptop, but it can start up in few second. Then you can browse the web, watch high definition videos, code programs, and even play MineCraft on it. This is amazing for such a low-cost computer.
There are four USB ports, one HDMI output, one Ethernet interface, and one GPIO interface. Four USB are good enough, one for WiFi, one for keyboard, one for mouse (or together with the keyboard), and one for an external device like a thumb drive.


What can I do with Raspberry Pi?

Desktop Computer

Web browser, office software, and some IDEs are pre-installed, the only thing you need to do is plugging in a display, a mouse, and a keyboard.

Robot Controller

There are numerous kits online that allows you to create your own Raspberry Pi-powered robot. For example, CamJam EduKit.

Server

Since it can be used as a desktop computer, it definitely can be set up as a server.

Media Center

Try OSMC


Getting started with Raspberry Pi 2

For the initial setup process, you may refer to the official website.
Here are only some extra notes.

Media player (VLC)
sudo apt-get install vlc  
Image Viewer
sudo apt-get install feh  
SSH (Assume no display for Raspberry Pi)
# search for ip:
arp -a

# ssh login, default password: raspberry
ssh 192.168.1.106 -l pi

# shut down
sudo shutdown -h now  
# or
sudo halt  
Keep your processes running after disconnect

Install:
sudo apt-get install screen

List all sessions:
screen -ls

Ctrl + A + C: Create a new SCREEN session.
Ctrl + A + N: Switch to the Next screen session.
Ctrl + A + P: Switch to the Previous screen session.
Ctrl + A + D: Detaches a screen session (without killing the processes in it - they continue).

To close a Screen session:
exit

To switch to the "Screen" session:
screen -r 2494.pts-0.raspberrypi

More: IoT