000 04091nam a22002297a 4500
005 20220420232123.0
008 220420b |||||||| |||| 00| 0 eng d
040 _cLOC
082 _2005.133 DES
_bDES
100 _aDesai, Pratik
245 _aPython programming for Arduino : develop practical Internet of things prototypes and applications with Arduino and Python
_cPratik Desai.
246 a a _aDevelop practical Internet of things prototypes and applications with Arduino and Python
300 _a1 v. (unpaged)
490 _aCommunity experience distilled.
500 _aPhotocopy
505 _a 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
520 _aThis 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.
650 _aPython (Computer program language)
650 _aArduino (Programmable controller)
650 _aScripting languages (Computer science)
942 _2ddc
_cBK
_n0
999 _c55
_d55