My Account Log in

2 options

Raspberry Pi computer architecture essentials : explore Raspberry Pi's architecture through innovative and fun projects / Andrew K. Dennis.

EBSCOhost Academic eBook Collection (North America) Available online

EBSCOhost Academic eBook Collection (North America)

Ebook Central College Complete Available online

Ebook Central College Complete
Format:
Book
Author/Creator:
Dennis, Andrew K., author.
Series:
Community experience distilled.
Community experience distilled
Language:
English
Subjects (All):
Raspberry Pi (Computer).
Raspberry Pi (Computer)--Programming.
Physical Description:
1 online resource (233 p.)
Edition:
1st ed.
Place of Publication:
Birmingham : Packt Publishing, [2016]
Summary:
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.
Contents:
Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Introduction to the Raspberry Pi's Architecture and Setup; Chapter 2: Programming on Raspbian; Chapter 3: Low-Level Development with Assembly Language; Chapter 4: Multithreaded Applications with C/C++; Chapter 5: Expanding on Storage Options; Chapter 6: Low-Level Graphics Programming; Chapter 7: Exploring the Raspberry Pi's GPIO Pins; Chapter 8: Exploring Sound with the Raspberry Pi 2; Chapter 9: Building a Web Server
Chapter 10: Integrating with Third-Party MicrocontrollersChapter 11: Final Project; Index; History and background of the Raspberry Pi; Basic hardware needed; The microSD card - the main storage and boot device of the Raspberry Pi 2; Installing Screen and Vim; Running tests on the OS and configuration changes; Some handy Linux commands; Troubleshooting; Summary; Which programming languages?; Assembly language; The C and C++ languages; The Python language; Summary; Back to basics; Memory and addresses; Adding power to our program - control structures; Summary; What are threads?
A C++ equivalentGoing further - mutexes and joins; Summary; Booting up; Setting up the external HDD; Network-attached storage (NAS); Summary; VideoCore IV GPU; Accessing the frame buffer; Filling the screen with a color; Drawing a line; Summary; Introduction to GPIO pins; Hardware choices; Switching an LED on and off; Summary; Introduction to the Raspberry Pi's sound; Interacting with audio through GPIO; C and ALSA; Introducing Sonic Pi; Summary; Introduction to web servers; Popular web servers available on the Raspberry Pi; Building a Python web server; Adding database support; Summary
Genuino/Arduino microcontrollerSetting up the Arduino software; Integration with Arduino; Summary; Choose your storage mechanism; Building a Flask-based website; Adding in an LED; Extending the project further; Summary; Raspberry Pi hardware specifications; Dimensions; System on Chip; CPU; GPU; SDRAM; 4 USB 2.0 ports and 1 SoC on-board USB; MicroSD card port; Ethernet port; Audio; GPIO pins; Video - analog TV out; Video - HDMI port; Preinstalled microSD card versus creating your own; The NOOBS operating system installation manager; Downloading the latest version of Raspbian
Setting up your microSD card and installing the Raspbian operating systemRaspbian installation wrap-up; Check SSH is running; Assign a static IP to your Raspberry Pi 2; Vim - an optional handy text editor; Diagnostic tests; Over and underclocking the Raspberry Pi; Going further - testing the GPIO pins; Assembling and linking; C - a brief introduction; A quick look at C++; Our first C program; C libraries - a trove of reusable code; The C (and C++) compiler; Compiling and running our application; A simple Python program; Running a Python program from a file; Multiline comments; Directives
Single line comments
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed July 1, 2016).
ISBN:
9781784398606
1784398608

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

We want your feedback!

Thanks for using the Penn Libraries new search tool. We encourage you to submit feedback as we continue to improve the site.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account