Tuesday, March 29, 2016

Building a Media Center with Raspberry Pi

Learn how to expand the capabilities of the media center from its default settings to match your needs and desires

Building a Media Center with Raspberry Pi

About This Book
  • Build an end-to-end media center using Raspberry PI and OSMC
  • Work with third-party addons to further increase the use of your media center
  • A simple, easy-to-understand guide that will help you to create a fully functioning media center than can play local files and stream from other sources
Who This Book Is For
The book is for hobbyists with no experience of Raspberry pi, who are looking for a fun project to work on and have an interest in building and setting up a media center with their board.

What You Will Learn
  • Find out how to connect the Raspberry Pi to your entertainment system
  • Familiarize yourself with OSMC and grasp how to navigate around the screen
  • Use advanced configurations such as a text editor, ssh, the Linux command line, and putty
  • Play files that are stored on the SD card or USB stick
  • Connect to other media sources over the network/Internet
  • Troubleshoot common areas of difficulty
In Detail
The Raspberry Pi is a complete computer built on a single circuit board and is used for a variety of different purposes and projects, including building automation systems, media centers, networks and servers, robotics, gaming, and education. It is also capable of running an operating system.

This book will give you the ability to turn a Raspberry Pi and SD card into a media center. It starts by showing you how to download the OSMC operating system and install it on your SD card. Then, you will learn how to hook up all the peripherals for the Raspberry Pi to function. Furthermore, you will see how to get OSMC into a functional and usable state for regular use and future changes. You will also explore advanced addons that will enhance the functionality of the media center. To complete your media center experience, you will use a smartphone as a remote control by installing and configuring the OSMC remote control.

By the end of this book, you will be able to program, set up, run, and troubleshoot a media center using your Raspberry Pi boards.

Raspberry Pi Computer Architecture Essentials

Raspberry Pi Computer Architecture Essentials

Key Features
  • Explore Raspberry Pi 2's hardware through the Assembly, C/C++, and Python programming languages
  • Experiment with connecting electronics up to your Raspberry Pi 2 and interacting with them through software
  • Learn about the Raspberry Pi 2 architecture and Raspbian operating system through innovative projects
Book Description
With the release of the Raspberry Pi 2, a new series of the popular compact computer is available for you to build cheap, exciting projects and learn about programming.

In this book, we explore Raspberry Pi 2's hardware through a number of projects in a variety of programming languages. We will start by exploring the various hardware components in detail, which will provide a base for the programming projects and guide you through setting up the tools for Assembler, C/C++, and Python. We will then learn how to write multi-threaded applications and Raspberry Pi 2's multi-core processor. Moving on, you'll get hands on by expanding the storage options of the Raspberry Pi beyond the SD card and interacting with the graphics hardware. Furthermore, you will be introduced to the basics of sound programming while expanding upon your knowledge of Python to build a web server. Finally, you will learn to interact with the third-party microcontrollers.

From writing your first Assembly Language application to programming graphics, this title guides you through the essentials.

What you will learn
  • Set up your Raspberry Pi 2 and learn about its hardware
  • Write basic programs in Assembly Language to learn about the ARM architecture
  • Use C and C++ to interact with electronic components
  • Find out about the Python language and how to use it to build web applications
  • Interact with third-party microcontrollers
  • Experiment with graphics and audio programming
  • Expand Raspberry Pi 2's storage mechanism by using external devices
  • Discover Raspberry Pi 2's GPIO pins and how to interact with them
About the Author
Andrew K. Dennis is the manager of professional services software development at Prometheus Research. Prometheus Research is a leading provider of integrated data management for research and is the home of HTSQL, an open source navigational query language for RDBMS.

Andrew has a diploma in computing, a BSc in software engineering, and is currently studying for a second BSc in creative computing in his spare time.

He has over 12 years of experience working in the software industry in the UK, Canada, and the USA. This experience includes e-learning courseware development, custom CMS and LMS development, SCORM consultancy, web development in a variety of languages, open source application development, blogging about the integration of web technologies with electronics for home automation, and punching lots of Cat5 cables.

His interests include web development, e-learning, 3D printing, Linux, the Raspberry Pi and Arduino, open source projects, home automation and the use of web technology in this sphere, amateur electronics, home networking, and software engineering.

Table of Contents
  1. Introduction to the Raspberry Pi's Architecture and Setup
  2. Programming on Raspbian
  3. Low-Level Development with Assembly Language
  4. Multithreaded Applications with C/C++
  5. Expanding on Storage Options
  6. Low-Level Graphics Programming
  7. Exploring the Raspberry Pi's GPIO Pins
  8. Exploring Sound with the Raspberry Pi 2
  9. Building a Web Server
  10. Integrating with Third-Party Microcontrollers
  11. Final Project


Friday, March 25, 2016

Getting Started with Raspberry Pi Zero

Getting Started with Raspberry Pi Zero

This is an essential book about how to get started with Raspberry Pi Zero. Some common tasks and programming activities on Raspberry Pi Zero are described with a step-by-step approach. The following is highlight topics in this book:
* Introduction to Raspberry Pi Zero
* Operating System
* Powering Up and Running
* Connecting to a Network
* Deploying LAMP Stack
* Raspberry Pi Programming
* Accessing GPIO
* Raspberry Pi Zero Serial Debugging

Tuesday, March 22, 2016

Setup Bluetooth for Raspberry Pi 3/Raspbian Jessie, and pair/send file to Windows PC


To use the built-in Bluetooth of Raspberry Pi 3/Raspbian Jessie, we have to install some software:
$ sudo apt-get install pi-bluetooth
(it should be already installed in update Raspbian Jessie)
$ sudo apt-get install bluetooth bluez blueman

Then reboot.


This video show how to send/receive file between raspberry Pi 3/Raspbian Jessie and PC running Windows 10.


Monday, March 21, 2016

Make Buildroot (embedded Linux) for Raspberry Pi 2

Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation.



To make sdcard image to run Buildroot on Raspberry Pi 2 using default config:

- Visit https://buildroot.org/ to download the latest stable release (2016.02 currently) - buildroot-2016.02.tar.gz.

- Unpack the downloaded file:
tar zxvf buildroot-2016.02.tar.gz

- Switch to the unpack folder:
cd buildroot-2016.02

- Copy the default config for Raspberry Pi 2:
$ cp configs/raspberrypi2_defconfig raspberrypi2_defconfig

- make:
$ make raspberrypi2_defconfig
$ make

- After make finished, buildroot-2016.02/output/images/sdcard.img will be created. It's the image file for Raspberry Pi 2.


- In my case, copy the sdcard.img file to Windows, and write to SD using Win32DiskImager.

- Then insert to Raspberry Pi 2 and boot-up. By default, the user "root" have no password.


Saturday, March 19, 2016

Install Qt5/Qt Creator for Raspberry Pi 3/Raspbian Jessie


This post show how to install Qt5 and QtCreator on Raspberry Pi 3 running Raspbian Jessie release 2016-03-18.

install qt5-default and qtcreator:
$ sudo apt-get install qt5-default
$ sudo apt-get install qtcreator

(Actually same as the steps to install on Raspberry Pi 2)

This video show installation remotely from Windows running PuTTY and Xming.


Remark:
The MicroSD used is:
Kingston Micro SDHC 32GB Class 10/U1 (Up to 80MB/s Read)
(KINGSTON SDC10G2/32GB - 80MB/s)



Thursday, March 17, 2016

Qt - Building Performant SDKs for Embedded Devices - feat. Raspberry Pi 2



by QtStudios

Learn how to develop C++/QML applications using Qt Creator IDE, while harnessing the full capabilities of the hardware with targeted cross-compiled build of Qt. This webinar will enable you to get the most out of the devices support out of the box with Qt for Device Creation and create highly performing SDKs for your own device of choice.

During the webinar, we will present:

* An overview of porting to an embedded device
* Highlight the importance of leveraging full hardware acceleration (OpenGL ES, vfp), hardware curser support
* Demonstrate custom Qt Wayland backend implementation for performance improvements
* How to create an integrated Qt SDK for a target device & cross compile Qt conveniently for any device
* Give guidance through the configure requirements required to get a performant version of Qt

We will demonstrate the performance of Qt on a Raspberry Pi 2, which is packaged for both the Rasbian & Arch Linux distributions & shipped with full Qt Creator integration and basic Wayland compositor to leverage OpenGL for hardware acceleration. Find an unparalleled development experience through a step by step process from integrating Qt with, but not limited to, the Raspberry Pi 2 to offloading more computational work on to the Pi hardware to free precious developer resources for ambitious projects.

Over 3 years ago, Qt was integrated on the Raspberry Pi, which included full hardware acceleration (OpenGL ES 2, vfp), hardware cursor support and a custom Qt Wayland backend implementation using Broadcom APIs. Although completed & publicly documented, packaging Qt in an optimal fashion has not been easy for a new user where mesa GL, no floating point unit usage, no Wayland, X11 standardization and on device compilation brings tears to any informed developers' eyes.


Wednesday, March 16, 2016

Hello Raspberry Pi!: Python programming for kids and other beginners

Hello Raspberry Pi!: Python programming for kids and other beginners

A fun and imaginative way for kids and other beginners to take their first steps programming on a Raspberry Pi.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

The Raspberry Pi is a small, low-cost computer invented to encourage experimentation. The Pi is a snap to set up, and using the free Python programming language, you can learn to create video games, control robots, and maybe even write programs to do your math homework!

About the Book

Hello Raspberry Pi! is a fun way for kids to take their first steps programming on a Raspberry Pi. First, you discover how to set up and navigate the Pi. Next, begin Python programming by learning basic concepts with engaging challenges and games. This book gives you an introduction to computer programming as you gain the confidence to explore, learn, and create on your own. The last part of the book introduces you to the world of computer control of physical objects, where you create interactive projects with lights, buttons, and sounds.

What's Inside
  • Learn Python with fun examples
  • Write games and control electronics
  • Use Pygame for video game sounds and graphics
  • Loaded with programming exercises
About the Reader

To use this book, you'll need a Raspberry Pi starter kit, keyboard, mouse, and monitor. No programming experience needed.

Table of Contents

PART 1 GETTING STARTED 1
Meet Raspberry Pi
Exploring Python

PART 2 PLAYING WITH PYTHON
Silly Sentence Generator 3000: creating interactive programs
Norwegian Blue parrot game: adding logic to programs
Raspi's Cave Adventure

PART 3 PI AND PYTHON PROJECTS
Blinky Pi
Light Up Guessing Game
DJ Raspi

APPENDIXES
Raspberry Pi troubleshooting
Raspberry Pi ports and legacy boards
Solutions to chapter challenges
Raspberry Pi projects

Tuesday, March 15, 2016

Getting Started with Raspberry Pi 3

Getting Started with Raspberry Pi 3

Raspberry Pi 3 model B is a new Raspberry Pi board which included WiFi and Bluetooth modules. This book helps you to get started with Raspberry Pi 3. The following is highlight topics in this book:
* Introduction to Raspberry Pi 3
* Operating System
* Powering Up and Running
* Connecting to a Network : Wired and WiFi
* Raspberry Pi Programming
* Working with Bluetooth and iBeacon
* Deploying LAMP Stack
* Accessing GPIO
* Raspberry Pi 3 Serial Debugging

Monday, March 14, 2016

Install and run Chromium OS For Raspberry Pi 3

Chromium OS For All SBC is a project of porting The Chromium OS To The Raspberry Pi 2/3 And Other Single Board Computers.

Chromium OS run on Raspberry Pi 3

To install Chromium OS for Raspberry Pi 3 is very straightforward:
- Visit http://www.chromiumosforsbc.org/, download the latest version for Raspberry Pi 3; CHROMIUMRPI3 0.4 "Lenny Bruce" currently.
- Unpack and write the image to SD Card using Win32DiskImager.
- Boot-up on Raspberry Pi 3.

Install Chromium OS for Raspberry Pi 3 on SD Card


Run Chromium OS on Raspberry Pi 3 (and play Youtube video)

HTML5 test, Web Store, Google Photos and more...

Remark:
- MicroSD of SanDisk 32GB Ultra is used in my trail.


- Once the image wrote on SD, Windows cannot recognize it. To re-write image on the SD, my solution is to format it using digital camera, so Windows can recognize it.

Sunday, March 13, 2016

Install and run Kali Linux for Raspberry Pi 2

Kali Linux is a Penetration-Testing Distro Linux. It provide pre-built ARM Images for various devices, include Raspberry Pi and Raspberry Pi 2.

Kali Linux run on Raspberry Pi 2

The videos below show how to:
- Install Kali Linux for Raspberry Pi 2, on Windows 10 - download, verify, unpack and write image on SDCard.
To download Kali Linux for Raspberry Pi 2, visit http://docs.kali.org/kali-on-arm/install-kali-linux-arm-raspberry-pi, currently version 2.1.


- And first boot on Raspberry Pi 2.
(The default user and password are "root" and "toor" respectively)

Remark:
- SD card with at least 8 GB capacity. Class 10 cards are highly recommended. In my trial, 8G SD Card of Class 4 is used.


- I also tried to boot on Raspberry Pi 3, but not success and stop on color screen!

Saturday, March 12, 2016

Mastering Kali Linux Wireless Pentesting

Test your wireless network's security and master advanced wireless penetration techniques using Kali Linux

Mastering Kali Linux Wireless Pentesting

About This Book
  • Develop your skills using attacks such as wireless cracking, Man-in-the-Middle, and Denial of Service (DOS), as well as extracting sensitive information from wireless networks
  • Perform advanced wireless assessment and penetration tests
  • Use Embedded Platforms, Raspberry PI, and Android in wireless penetration testing with Kali Linux
Who This Book Is For
If you are an intermediate-level wireless security consultant in Kali Linux and want to be the go-to person for Kali Linux wireless security in your organisation, then this is the book for you. Basic understanding of the core Kali Linux concepts is expected.

What You Will Learn
  • Fingerprint wireless networks with the various tools available in Kali Linux
  • Learn various techniques to exploit wireless access points using CSRF
  • Crack WPA/WPA2/WPS and crack wireless encryption using Rainbow tables more quickly
  • Perform man-in-the-middle attack on wireless clients
  • Understand client-side attacks, browser exploits, Java vulnerabilities, and social engineering
  • Develop advanced sniffing and PCAP analysis skills to extract sensitive information such as DOC, XLS, and PDF documents from wireless networks
  • Use Raspberry PI and OpenWrt to perform advanced wireless attacks
  • Perform a DOS test using various techniques and tools
In Detail
Kali Linux is a Debian-based Linux distribution designed for digital forensics and penetration testing. It gives access to a large collection of security-related tools for professional security testing - some of the major ones being Nmap, Aircrack-ng, Wireshark, and Metasploit.

This book will take you on a journey where you will learn to master advanced tools and techniques to conduct wireless penetration testing with Kali Linux.

You will begin by gaining an understanding of setting up and optimizing your penetration testing environment for wireless assessments. Then, the book will take you through a typical assessment from reconnaissance, information gathering, and scanning the network through exploitation and data extraction from your target. You will get to know various ways to compromise the wireless network using browser exploits, vulnerabilities in firmware, web-based attacks, client-side exploits, and many other hacking methods. You will also discover how to crack wireless networks with speed, perform man-in-the-middle and DOS attacks, and use Raspberry Pi and Android to expand your assessment methodology.

By the end of this book, you will have mastered using Kali Linux for wireless security assessments and become a more effective penetration tester and consultant.

Style and approach
This book uses a step-by-step approach using real-world attack scenarios to help you master the wireless penetration testing techniques.


Thursday, March 10, 2016

Watch Youtube on Raspberry Pi 3/built-in WiFi


This video show how Youtube video play on Raspberry Pi 3:
- Raspbian Jessie 2016-02-26
- Load Youtube with built-in Web Browser
- Connect Internet via the Built- in WiFi


Display WiFi config using Linux command iwconfig


Iwconfig is similar to ifconfig(8), but is dedicated to the wireless interfaces. It is used to set the parameters of the network interface which are specific to the wireless operation (for example : the frequency). Iwconfig may also be used to display those parameters, and the wireless statistics (extracted from /proc/net/wireless).

All these parameters and statistics are device dependent. Each driver will provide only some of them depending on hardware support, and the range of values may change. Please refer to the man page of each device for details.

This video show iwconfig run on Raspberry Pi 3/Raspbian Jessie with build-in WiFi, to display WiFi info:


We can get WiFi link quality with command:
$ iwconfig wlan0 | grep -i quality



Raspberry Pi 3 open box and first boot Raspbian Jessie

This video show open box of the new Raspberry Pi 3:







This video show how Raspberry Pi 3 first boot Raspbian Jessie 2016-02-26 version. This version added support for Pi 3, including Wifi and Bluetooth, and provide option to set wifi country code in raspi-config.



For temporary, a Raspberry Pi 2 transparent case is used.



Note, the LED is relocated on Raspberry Pi 3.


As always, I will update and upgrade apt-get and update firmware.
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo rpi-update

Tuesday, March 8, 2016

The MagPi Magazine issue 43, Mar 2016

You can download The MagPi Magazine issue 43, Mar 2016, free now.



Raspberry Pi 3 is here! Learn all about the new features and functionality and see how it compares to previous models…


Monday, March 7, 2016

Beginning Windows 10 IoT Core Raspberry Pi 2

Beginning Windows 10 IoT Core Raspberry Pi 2

The Raspberry Pi has evolved in a very short amount of time with a number of editions and operating systems available. This book takes a beginnings view to understanding how Windows 10 IoT Core fits within the Raspberry Pi world. The Raspberry Pi 2 is no longer limited to Linux users and with the welcome introduction of Windows 10. You can now explore the Raspberry Pi 2 from a Windows user perspective.

You will learn the following.

O The Raspberry Pi 2 hardware
O Cloud computing & The Internet of Things (IoT)
O Setting up The Raspberry Pi 2
O Installing & configuring Windows 10 IoT Core
O Wi-Fi networking
O Remote connectivity & sharing files
O PowerShell commands
O Core maintenance
O Application management
O Code deployment using C# & NodeJS
O And much more

The code examples in this book use C# to deploy a stand-alone application and NodeJS to deploy a simple functioning web server.

O No prior knowledge of the Raspberry Pi 2 or Windows 10 IoT Core is needed.
O The easy way to get up and running Windows 10 IoT Core on your Raspberry Pi 2.

Beginning Windows 10 IoT Core Raspberry Pi 2 is ideal for anyone wishing to learn about the Raspberry Pi 2, Windows 10 IoT along with the Internet of Things (IoT) and cloud computing as a bonus. This book is packed with time-saving tips and commands with straight to the point answers so that you get the most of out of Microsoft's FREE Windows 10 IoT Core operating system.

You will be guided from the very start with well-rounded explanations when dealing with any technical issues. Icons are used for key pointers and important issues worth noting. If you're new to the Raspberry Pi or the Windows 10 IoT Core operating system, then this book is ideal to guide you through and quickly have you up and running.

Sunday, March 6, 2016

Official Raspberry Pi 3 Case

The Official Case of the Raspberry Pi Foundation has been refreshed for the Pi 3. Designed with HATs in mind and featuring multiple removable panels. Enclose your board as much or as little as necessary to best suit your latest project.

Official case for the Raspberry Pi from the Raspberry Pi Foundation
Removable Lid provides easy access to the camera and display ports
Removable Side Panels with easy access to the GPIO port
Removable Top Frame
Designed with Pi HAT's in mind



Making Music with Sonic Pi: An Edutainment Factory Book

Making Music with Sonic Pi: An Edutainment Factory Book

Music is one of the truly great achievements of mankind. And there is no man on earth who does not like music. Software and computers are a recent achievement and many processes and industries are now reliant. Sonic Pi forms pike between music and software.

Every child can learn the basics of programming with Sonic Pi. It is a lot of fun doing this while learning a lot about music.

This book describes the fundamentals of Sonic Pi explained in such a way that a child can understand it. The book is suitable as an accompaniment to teaching as well as for self-learning.

Thursday, March 3, 2016

Buy Raspberry Pi 3 Model B Board

Raspberry Pi 3 Model B Board


  • Quad-Core Broadcom BCM2837 64bit ARMv8 processor 1.2GHz
  • 1GB RAM
  • BCM43143 WiFi on board
  • Bluetooth Low Energy (BLE) on board
  • Power source up to 2.5 Amps (can now power even more powerful devices over USB ports)




CanaKit Raspberry Pi 3 with 2.5A Micro USB Power Supply (UL Listed)


  • Includes Raspberry Pi 3 (RPi3) Model B Quad-Core 1.2 GHz 1 GB RAM
  • On-board WiFi and Bluetooth Connectivity
  • CanaKit 2.5A USB Power Supply with Micro USB Cable and Noise Filter - Specially designed for the Raspberry Pi 3 (UL Listed)
  • Set of 2 Heat Sinks
  • CanaKit Quick-Start Guide