My Account Log in

2 options

Python programming for Arduino : develop practical Internet of Things prototypes and applications with Arduino and Python / author: Pratik Desai ; commissioning editor: Saleem Ahmed ; acquisition editor: James Jones ; copy editors: Jasmine Nadar, Vikrant Phadke.

EBSCOhost Academic eBook Collection (North America) Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Desai, Pratik, author.
Contributor:
Ahmed, Saleem (Commissioning and acquisitions editor), editor.
Jones, James, editor.
Nadar, Jasmine, editor.
Phadke, Vikrant, editor.
Series:
Community experience distilled.
Community experience distilled
Language:
English
Subjects (All):
Python (Computer program language).
Physical Description:
1 online resource (400 p.)
Edition:
1st ed.
Other Title:
Develop practical Internet of things prototypes and applications with Arduino and Python
Place of Publication:
Birmingham, England : Packt Publishing, February 2015
Language Note:
English
System Details:
text file
Biography/History:
Desai Pratik: Pratik Desai, PhD, is the Principal Scientist and cofounder of a connected devices start-up, Imbue Labs, where he develops scalable and interoperable architecture for wearable devices and Internet of Things (IoT) platforms during the day. At night, he leads the development of an open source IoT initiative, the Semantic Repository of Things. Pratik has 8 years of research and design experience in various layers of the IoT and its predecessor technologies such as wireless sensor networks, RFID, and machine-to-machine (M2M) communication. His domains of expertise are the IoT, Semantic Web, machine learning, robotics, and artificial intelligence. Pratik completed his MS and PhD from Wright State University, Ohio, and collaborated with the Ohio Center of Excellence in Knowledge-enabled Computing (Kno. e. sis) during his doctoral research. His doctoral research was focused on developing situation awareness frameworks for IoT devices, enabling semantic web-based reasoning and handling the uncertainty associated with sensor data. In his personal life, Pratik is an avid DIY junkie and likes to get hands-on experience on upcoming technologies. He extensively expresses his views on technology and shares interesting developments on Twitter (@chheplo).
Summary:
This is the book for you if you are a student, hobbyist, developer, or designer with little or no programming and hardware prototyping experience, and you want to develop IoT applications. If you are a software developer or a hardware designer and want to create connected devices applications, then this book will help you get started.
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Getting Started with Python and Arduino; Introduction to Python; Why we use Python; When do we use other languages; Installing Python and Setuptools; Installing Python; Linux; Ubuntu; Fedora and Red Hat; Windows; Mac OS X; Installing Setuptools; Linux; Windows; Mac OS X; Installing pip; Installing Python packages; The fundamentals of Python programming; Python operators and built-in types; Operators; Built-in types; Data structures; Lists; Tuples; Sets; Dictionaries
Controlling the flow of your programThe if statement; The for statement; The while statement; Built-in functions; Conversions; Introduction to Arduino; History; Why Arduino?; Arduino variants; The Arduino Uno board; Installing the Arduino IDE; Linux; Mac OS X; Windows; Getting started with the Arduino IDE; What is an Arduino sketch?; Working with libraries; Using Arduino examples; Compiling and uploading sketches; Using the Serial Monitor window; Introduction to Arduino programming; Comments; Variables; Constants; Data types; Conversions; Functions and statements; The setup() function
The loop() functionThe pinMode() function; Working with pins; Statements; Summary; Chapter 2: Working with the Firmata Protocol and the pySerial Library; Connecting the Arduino board; Linux; Mac OS X; Windows; Troubleshooting; Introducing the Firmata protocol; What is Firmata?; Uploading a Firmata sketch to the Arduino board; Testing the Firmata protocol; Getting started with pySerial; Installing pySerial; Playing with a pySerial example; Bridging pySerial and Firmata; Summary; Chapter 3: The First Project - Motion-triggered LEDs; Motion-triggered LEDs - the project description
The project goalThe list of components; The software flow design; The hardware system design; Introducing Fritzing - a hardware prototyping software; Working with the breadboard; Designing the hardware prototype; Testing hardware connections; Method 1 - using a standalone Arduino sketch; Project setup; The Arduino sketch; The setup() function; The loop() function; Working with custom Arduino functions; Testing; Troubleshooting; Method 2 - using Python and Firmata; The project setup; Working with Python executable files; The Python code; Working with the pyFirmata methods
Working with the Python functionsTesting; Troubleshooting; Summary; Chapter 4: Diving into Python-Arduino Prototyping; Prototyping; Working with pyFirmata methods; Setting up the Arduino board; Configuring Arduino pins; The direct method; Assigning pin modes; Working with pins; Reporting data; Manual operations; Additional functions; Upcoming functions; Prototyping templates using Firmata; Potentiometer - continuous observation from an analog input; Connections; The Python code; Buzzer - generating sound alarm pattern; Connections; The Python code; DC motor - controlling motor speed using PWM
Connections
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed March 16, 2015).
ISBN:
9781783285945
178328594X
OCLC:
905853393

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.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account