Wednesday, October 22, 2014

Linux command tree, list contents of directories in a tree-like format

The Linux command tree list contents of directories in a tree-like format.

To install trr on Raspberry Pi, enter the command:
$ sudo apt-get install tree

Linux command free, display amount of free and used memory in the Raspberry Pi system

The Linux command free - Display amount of free and used memory in the system

Thursday, October 16, 2014

Banana Pro Released

New version single board computer, Banana Pro, released.

Banana Pro is an update version of Banana Pi, designed by LeMaker Team and it has more enhanced features. Banana Pro has an excellent compatibility with multiply software supports. Basically all mainstream Linux-based operating system can run on Banana Pro, with the version of Lubuntu, Android, Debian, Bananian, Berryboot, OpenSuse, Scratch, Fedora, Gentoo, Open MediaVault, OpenWRT.Banana Pro also supports BSD system.


Saturday, October 11, 2014

Check your Raspberry Pi board revision

To find the board revision of your Raspberry Pi, enter the following command:
cat /proc/cpuinfo

The number in Revision identify the board revision. check the revision list here:

Friday, October 10, 2014

Scan network using nmap command

On host pc running Linux, we can scan network using nmap command to determine the IP of connected Raspberry Pi.

$ sudo nmap -sP

Tuesday, October 7, 2014

Mastering the Raspberry Pi

Mastering the Raspberry Pi

You probably already know that the Raspberry Pi is an excellent teaching tool. If you want to teach Linux basics or Python programming or basic electronics, it's a great place to start. But what if you are an electronics engineer or a Linux systems administrator or a very experienced maker? You want to know all of the details and inner working of the Raspberry Pi -- how to (figuratively or maybe even literally) make it get up and dance without wading through basics and introductory material.

If you want to get right into the pro-level guts of the Raspberry Pi, complete with schematics, detailed hardware explanations, messing around with runlevels, reporting voltages and temperatures, and recompiling the kernel, then Mastering the Raspberry Pi is just the book you need. Along with all of the thorough explanations of hardware and operating system, you'll also get a variety of project examples and explanations that you can tune for your own project ideas.

You'll find yourself turning to Mastering the Raspberry Pi over and over again for both inspiration and reference. Whether you're an electronics professional, an entrepreneurial maker, or just looking for more detailed information on the Raspberry Pi, this is exactly the book for you.

What you’ll learn
  • How to set up the Raspberry Pi for bare metal interfacing
  • Detailed and clear explanations of the Pi's hardware capabilities, including GPIO
  • Working with Linux on the Pi, including boot files, the Pi's own vcgencmd command, and cross-compiling software, including the kernel
  • How to make a GPIO extender
  • How to work with a stepper motor and the Pi, including building an H-bridge driver
  • How to make a remote control panel with the Pi
  • How to use Pulse Width Modulation with the Pi
Who this book is for

Experienced electronics engineers, Linux admins and users, and makers wanting to go far beyond the basics with Raspberry Pi.

Table of Contents

Part I: Introduction
Ch. 1 - Why This Book?
Ch. 2 - The Raspberry Pi
Ch. 3 – Preparation: Hardware and Network

Part II: Hardware
Ch. 4 – Figuring Out Power Requirements
Ch. 5 - Header Strips, LEDs, and Reset
Ch. 6 – Working with Memory
Ch. 7 – The CPU and Working with Threads
Ch. 8 – USB Power and API Support
Ch. 9 – Working with Wired and Wireless Ethernet
Ch. 10 - SD Card Storage
Ch. 11 – Serial Communication
Ch. 12 – GPIO: Your Interface to the Outside World
Ch. 13 - 1-Wire Driver
Ch. 14 - I2C Bus: The Two Wire Interface
Ch. 15 - SPI Bus: Signaling, API, and Testing

Part III: Software
Ch. 16 – Booting ARM Linux
Ch. 17 – Initialization: Working with Runlevels
Ch. 18 – vcgencmd: Reporting Voltages and Temperatures
Ch. 19 - Linux Console
Ch. 20 – Building a Cross-Compiler
Ch. 21 – Cross-Compiling the Kernel

Part IV: Projects
Ch. 22 – Humidity and Temperature Sensor
Ch. 23 - GPIO Extender
Ch. 24 - Nunchuk Mouse
Ch. 25 - Real-Time Clock
Ch. 26 - IR Receiver
Ch. 27 - Stepper Motor
Ch. 28 - The H-Bridge Driver
Ch. 29 - Remote Control Panel
Ch. 30 - Pulse Width Modulation: Driving an Analog Meter

A. Glossary
B. Power Standards
C. Electronics Reference
D. Raspbian apt Commands
E. ARM Compile Options
F. Mac OS X Tips
G. Bibliography