Raspberry Pi 2 Server Essentials

Raspberry Pi 2 Server Essentials

Author: Piotr J Kula

Publisher: Packt Publishing Ltd

ISBN: 9781785284540

Category: Computers

Page: 174

View: 298

Transform your Raspberry Pi into a multi-purpose web server that supports your entire multimedia world with this practical and accessible tutorial! About This Book Host websites, games, and even stream HD videos with the impressive power of Raspberry Pi 2 Get to grips with embedded programming by turning your Pi into the cloud server that can be used to power Internet of Things projects Make the Raspberry Pi 2 the center of your latest tech experiments and discover how it can manage and host resources Who This Book Is For Seeking inspiration for some new tech projects? Want to get more from your Raspberry Pi? This book has been created especially for you! What You Will Learn Host your Raspberry Pi as a web server using the minimum power resources Connect your Pi to the Internet and perform network benchmarking Explore the cross-platform features of the Pi as you run Python, Node.JS, ASP.NET, and PHP all in one place Share files over the Internet using your Pi as a file server Turn your Pi into a game server, host and engage into playing Enjoy live HD video streaming and exclusive real-time text overlays In Detail There's no end to what you can do with a Raspberry Pi – it makes a huge range of tech projects possible. This book shows you how to transform it into a multipurpose web server, able to store and manage resources that lets you build some truly innovative and impressive computing creations. You'll learn how to use your Raspberry Pi 2 to host a website using a range of different languages, host a game server, store files, and run everything from a media center to a cloud network. If you want to take control of your technological world, start building your own server and find out what's possible with the Raspberry Pi microcomputer. Begin by getting your Pi set up – follow each step as the book shows you how to prepare a network and configure the additional features that you'll need to build your projects. Once you've done this you'll dig a little deeper and set up your pi as a file server, making sure it's built for speed using a range of different tools, including Python, Node.js and ASP.NET. Following this the book shows you how to extend your server to allow you to host games, and stream live HD video before customizing it even further to create a fully-fledged media center. It doesn't stop there however – the book then dives into the exciting world of the Internet of Things (IoT). You'll learn how to install Windows IoT onto your Raspberry Pi, the operating system that's driving embedded software projects all around the world. Once you've done this you'll be ready to explore IoT further, as the book shows you how to use your device to host a cloud network that can form the basis of a wider IoT project. Style and approach Packed with plenty of practical examples that walk you through a number of Raspberry Pi projects, this book is an accessible journey into embedded computing and Internet of Things.

Raspberry Pi Essentials

Raspberry Pi Essentials

Author: Jack Creasey

Publisher: Packt Publishing Ltd

ISBN: 9781784396923

Category: Computers

Page: 212

View: 286

Programmers new to the Raspberry Pi and novice programmers with little to no experience with micro board computing will find the book useful. A basic knowledge of programming languages in general will prove useful for a better understanding of the topics.

Python Programming with Raspberry Pi

Python Programming with Raspberry Pi

Author: Sai Yamanoor

Publisher: Packt Publishing Ltd

ISBN: 9781786469151

Category: Computers

Page: 312

View: 487

Become a master of Python programming using the small yet powerful Raspberry Pi Zero About This Book This is the first book on the market that teaches Python programming with Raspberry Pi Zero Develop exciting applications such as a mobile robot and home automation controller using Python This step-by-step guide helps you make the most out of Raspberry Pi Zero using Python programming Who This Book Is For This book is aimed at hobbyists and programmers who want to learn Python programming and develop applications using the Pi Zero. They should have basic familiarity with electronics. What You Will Learn Configure Raspberry Pi using Python Control loops to blink an LED using simple arithmetic operations Understand how interface sensors, actuators, and LED displays work Get to grips with every aspect of Python programming using practical examples Explore machine vision, data visualization, and scientific computations Build a mobile robot using the Raspberry Pi as the controller Build a voice-activated home automation controller In Detail Raspberry Pi Zero is a super-small and super-affordable product from Raspberry Pi that is packed with a plethora of features and has grabbed the notice of programmers, especially those who use Python. This step-by-step guide will get you developing practical applications in Python using a Raspberry Pi Zero. It will become a valuable resource as you learn the essential details of interfacing sensors and actuators to a Raspberry Pi, as well as acquiring and displaying data. You will get started by writing a Python program that blinks an LED at 1-second intervals. Then you will learn to write simple logic to execute tasks based upon sensor data (for example, to control a motor) and retrieve data from the web (such as to check e-mails to provide a visual alert). Finally, you will learn to build a home automation system with Python where different appliances are controlled using the Raspberry Pi. The examples discussed in each chapter of this book culminate in a project that help improve the quality of people's lives. Style and approach This will be a learning, step-by-step guide to teach Python programming using the famous Raspberry Pi Zero. The book is packed with practical examples at every step along with tips and tricks for the Raspberry Pi fans

Raspberry Pi Robotics Essentials

Raspberry Pi Robotics Essentials

Author: Richard Grimmett

Publisher: Packt Publishing Ltd

ISBN: 9781785285646

Category: Computers

Page: 158

View: 770

The Raspberry Pi B2 is an inexpensive embedded processor that provides a high-performance Linux development environment. This book is a fast-paced guide that will show you how to use Raspberry Pi technology to build a biped robot that can interact with its environment. We start off by explaining the basics of getting your Raspberry Pi up and running, ready to be mounted on your biped platform. After this, you will be introduced to the art of constructing a mechanism for the biped platform. You will then learn to develop a vision system for your robot, as well as a means by which you can control and monitor it. At the end of this book, you will have learned enough to build a complex biped robot that can walk, turn, find its way, and "see" its environment.

Raspberry Pi for Secret Agents - Second Edition

Raspberry Pi for Secret Agents - Second Edition

Author: Stefan Sjogelid

Publisher: Packt Publishing Ltd

ISBN: 9781784391386

Category: Computers

Page: 206

View: 345

This book is an easy-to-follow guide with practical examples in each chapter. Suitable for the novice and expert alike, each topic provides a fast and easy way to get started with exciting applications and also guides you through setting up the Raspberry Pi as a secret agent toolbox.

Building a Home Security System with Raspberry Pi

Building a Home Security System with Raspberry Pi

Author: Matthew Poole

Publisher: Packt Publishing Ltd

ISBN: 9781785283062

Category: Computers

Page: 190

View: 105

Build your own sophisticated modular home security system using the popular Raspberry Pi board About This Book This book guides you through building a complete home security system with Raspberry Pi and helps you remotely access it from a mobile device over the Internet It covers the fundamentals of interfacing sensors and cameras with the Raspberry Pi so that you can connect it to the outside world It follows a modular approach so that you can choose the modules and features you want for your customized home security system Who This Book Is For This book is for anyone who is interested in building a modular home security system from scratch using a Raspberry Pi board, basic electronics, sensors, and simple scripts. This book is ideal for enthusiastic novice programmers, electronics hobbyists, and engineering professionals. It would be great if you have some basic soldering skills in order to build some of the interface modules. What You Will Learn Understand the concepts behind alarm systems and intrusion detection devices Connect sensors and devices to the on-board digital GPIO ports safely Monitor and control connected devices easily using Bash shell scripting Build an I/O port expander using the I2C bus and connect sensors and anti-tamper circuits Capture and store images using motion detectors and cameras Access and manage your system remotely from your mobile phone Receive intrusion alerts and images through your e-mail Build a sophisticated multi-zone alarm system In Detail The Raspberry Pi is a powerful low-cost credit-card-sized computer, which lends itself perfectly as the controller for a sophisticated home security system. Using the on-board interfaces available, the Raspberry Pi can be expanded to allow the connection of a virtually infinite number of security sensors and devices. The Raspberry Pi has the processing power and interfaces available to build a sophisticated home security system but at a fraction of the cost of commercially available systems. Building a Home Security System with Raspberry Pi starts off by showing you the Raspberry Pi and how to set up the Linux-based operating system. It then guides you through connecting switch sensors and LEDs to the native GPIO connector safely, and how to access them using simple Bash scripts. As you dive further in, you'll learn how to build an input/output expansion board using the I2C interface and power supply, allowing the connection of the large number of sensors needed for a typical home security setup. In the later chapters of the book, we'll look at more sophisticated topics such as adding cameras, remotely accessing the system using your mobile phone, receiving intrusion alerts and images by e-mail, and more. By the end of the book, you will be well-versed with the use of Raspberry Pi to power a home-based security system that sends message alerts whenever it is triggered and will be able to build a truly sophisticated and modular home security system. You will also gain a good understanding of Raspberry Pi's ecosystem and be able to write the functions required for a security system. Style and approach This easy-to-follow guide comprises a series of projects, where every chapter introduces a new concept and at the end of the book, all these concepts are brought together to create an entire home security system. This book features clear diagrams and code every step of the way.

Raspberry Pi Gaming - Second Edition

Raspberry Pi Gaming - Second Edition

Author: Shea Silverman

Publisher: Packt Publishing Ltd

ISBN: 9781784394288

Category: Computers

Page: 140

View: 567

If you are someone who loves to play games and are interested in learning more about the capabilities of your Raspberry Pi, this book is for you. Basic knowledge of Raspberry Pi programming is expected.

Raspberry Pi Computer Architecture Essentials

Raspberry Pi Computer Architecture Essentials

Author: Andrew K. Dennis

Publisher: Packt Publishing Ltd

ISBN: 9781784398606

Category: Computers

Page: 232

View: 186

Explore Raspberry Pi's architecture through innovative and fun projects About This Book 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 Who This Book Is For Raspberry Pi Computer Architecture Essentials is for those who are new and those who are familiar with the Raspberry Pi. Each topic builds upon earlier ones to provide you with a guide to Raspberry Pi's architecture. From the novice to the expert, there is something for everyone. A basic knowledge of programming and Linux would be helpful but is not required. 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 In Detail 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. Style and approach This book takes a step-by-step approach to exploring Raspberry Pi's architecture through projects that build upon each other. Each project provides you with new information on how to interact with an aspect of the Raspberry Pi and Raspbian operating system, providing a well-rounded guide.

Raspberry Pi Sensors

Raspberry Pi Sensors

Author: Rushi Gajjar

Publisher: Packt Publishing Ltd

ISBN: 9781784392123

Category: Computers

Page: 192

View: 442

This book is perfect for hardware enthusiasts who want to develop amazing projects using Raspberry Pi. Some knowledge and experience working with Linux, C, and Python is a plus, but once you're set up to go, you'll be ready to push the creative capabilities of your Raspberry Pi even further.

MQTT Essentials - A Lightweight IoT Protocol

MQTT Essentials - A Lightweight IoT Protocol

Author: Gastón C. Hillar

Publisher: Packt Publishing Ltd

ISBN: 9781787285149

Category: Computers

Page: 280

View: 232

Send and receive messages with the MQTT protocol for your IoT solutions. About This Book Make your connected devices less prone to attackers by understanding practical security mechanisms Dive deep into one of IoT's extremely lightweight machines to enable connectivity protocol with some real-world examples Learn to take advantage of the features included in MQTT for IoT and Machine-to-Machine communications with complete real-life examples Who This Book Is For This book is a great resource for developers who want to learn more about the MQTT protocol to apply it to their individual IoT projects. Prior knowledge of working with IoT devices is essential. What You Will Learn Understand how MQTTv3.1 and v3.1.1 works in detail Install and secure a Mosquitto MQTT broker by following best practices Design and develop IoT solutions combined with mobile and web apps that use MQTT messages to communicate Explore the features included in MQTT for IoT and Machine-to-Machine communications Publish and receive MQTT messages with Python, Java, Swift, JavaScript, and Node.js Implement the security best practices while setting up the MQTT Mosquitto broker In Detail This step-by-step guide will help you gain a deep understanding of the lightweight MQTT protocol. We'll begin with the specific vocabulary of MQTT and its working modes, followed by installing a Mosquitto MQTT broker. Then, you will use best practices to secure the MQTT Mosquitto broker to ensure that only authorized clients are able to publish and receive messages. Once you have secured the broker with the appropriate configuration, you will develop a solution that controls a drone with Python. Further on, you will use Python on a Raspberry Pi 3 board to process commands and Python on Intel Boards (Joule, Edison and Galileo). You will then connect to the MQTT broker, subscribe to topics, send messages, and receive messages in Python. You will also develop a solution that interacts with sensors in Java by working with MQTT messages. Moving forward, you will work with an asynchronous API with callbacks to make the sensors interact with MQTT messages. Following the same process, you will develop an iOS app with Swift 3, build a website that uses WebSockets to connect to the MQTT broker, and control home automation devices with HTML5, JavaScript code, Node.js and MQTT messages Style and approach This step-by-step guide describes the MQTT protocol for your IoT projects

Learn Raspberry Pi 2 with Linux and Windows 10

Learn Raspberry Pi 2 with Linux and Windows 10

Author: Peter Membrey

Publisher: Apress

ISBN: 9781484211625

Category: Computers

Page: 296

View: 814

Learn Raspberry Pi 2 with Linux and Windows 10 will tell you everything you need to know about working with Raspberry Pi 2 so you can get started doing amazing things. You'll learn how to set up your new Raspberry Pi 2 with a monitor, keyboard and mouse, and how to install both Linux and Windows on your new Pi 2. Linux has always been a great fit for the Pi, but it can be a steep learning curve if you've never used it before. With this book, you'll see how easy it is to install Linux and learn how to work with it, including how to become a Linux command line pro. You'll learn that what might seem unfamiliar in Linux is actually very familiar. And now that Raspberry Pi also supports Windows 10, a chapter is devoted to setting up Windows 10 for the Internet of Things on a Raspberry Pi. Finally, you'll learn how to create these Raspberry Pi projects with Linux: Making a Pi web server: run LAMP on your own network Making your Pi wireless: remove all the cables and retain all the functionality Making a Raspber ry Pi-based security cam and messenger service Making a Pi media center: stream videos and music from your Pi