Muutke küpsiste eelistusi

E-raamat: Programming Arduino: Getting Started with Sketches, Third Edition

  • Formaat: EPUB+DRM
  • Ilmumisaeg: 25-Nov-2022
  • Kirjastus: McGraw-Hill Education
  • Keel: eng
  • ISBN-13: 9781264678884
  • Formaat - EPUB+DRM
  • Hind: 15,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: EPUB+DRM
  • Ilmumisaeg: 25-Nov-2022
  • Kirjastus: McGraw-Hill Education
  • Keel: eng
  • ISBN-13: 9781264678884

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

An up-to-date Arduino programming guide—no prior programming experience required!

This fully updated guide shows, step by step, how to quickly and easily program all Arduino models using its modified C language and the Arduino IDE. Electronics guru Simon Monk gets you up to speed quickly, teaching all concepts through simple language and clear instruction. Programming Arduino®: Getting Started with Sketches, Third Edition features dozens of easy-to-follow examples and high-quality illustrations. All of the sample sketches featured in the book can be used as is or modified to suit your needs. You will also get all new coverage of using Arduino as a framework for programming other popular boards.

  • Configure your Arduino and start writing sketches
  • Understand the basics of C language and the Arduino IDE
  • Add functions, arrays, and strings to your sketches
  • Set up Arduino’s digital and analog I/O
  • Use Arduino-compatible boards including ESP32, Pico, and micro:bit
  • Work with built-in and custom Arduino libraries
  • Write sketches that store data in EPROM or flash memory
  • Interface with a wide range of displays, including LCDs
  • Connect to the Internet and configure Arduino as a web server
  • Develop interesting and useful programs for the Internet of Things

Preface xi
Acknowledgments xiii
Introduction xv
1 Getting Started
1(16)
Microcontrollers
1(2)
Development Boards
2(1)
A Tour of an Arduino Uno Board
3(4)
Power Supply
4(1)
Power Connections
4(1)
Analog Inputs
4(1)
Digital Connections
4(1)
Microcontroller
5(1)
Other Components
5(1)
A Tour of a WiFi-Capable Arduino-Compatible
6(1)
The Origins of Arduino
7(1)
Powering Up
8(1)
Installing the Software
8(2)
Uploading Your First Sketch
10(4)
The Arduino Application
14(2)
Conclusion
16(1)
2 C Language Basics
17(22)
Programming
17(2)
What Is a Programming Language?
19(5)
Blink---Again!
24(2)
Variables
26(1)
Experiments in C
27(4)
Numeric Variables and Arithmetic
29(2)
Commands
31(6)
If
31(2)
For
33(3)
While
36(1)
Constants
37(1)
Conclusion
37(2)
3 Functions
39(14)
What Is a Function?
39(1)
Parameters
40(1)
Global, Local, and Static Variables
41(3)
Return Values
44(1)
Other Variable Types
45(4)
Floats
45(1)
Boolean
46(1)
Other Data Types
47(2)
Coding Style
49(3)
Indentation
49(1)
Opening Braces
50(1)
Whitespace
50(1)
Comments
51(1)
Conclusion
52(1)
4 Arrays and Strings
53(16)
Arrays
53(4)
Morse Code SOS Using Arrays
56(1)
String Arrays
57(2)
String Literals
57(2)
String Variables
59(1)
A Morse Code Translator
59(8)
Data
60(1)
Globals and Setup
61(1)
The loop Function
62(2)
The flashSequence Function
64(1)
The flashDotOrDash Function
65(1)
Putting It All Together
66(1)
The String Class
67(1)
Conclusion
67(2)
5 Input and Output
69(18)
Digital Outputs
69(4)
5 V or 3.3 V?
72(1)
Digital Inputs
73(9)
Pull-Up Resistors
73(3)
Internal Pull-Up Resistors
76(1)
Debouncing
77(5)
Analog Outputs
82(2)
Analog Input
84(2)
Conclusion
86(1)
6 Boards
87(14)
Arduino Nano
87(2)
Arduino Pro Mini
89(1)
Breadboard
90(1)
The Boards Manager
91(1)
ESP32 Boards
92(3)
Raspberry Pi Pico
95(1)
BBC micro:bit
96(2)
Adafruit Feather System
98(1)
Conclusion
99(2)
7 Advanced Arduino
101(12)
Random Numbers
101(3)
Math Functions
104(1)
Bit Manipulation
104(2)
Advanced I/O
106(2)
Generating Tones
106(2)
Feeding Shift Registers
108(1)
Interrupts
108(4)
Compile-Time Constants
110(1)
The Arduino Web Editor
111(1)
Conclusion
112(1)
8 Datastorage
113(12)
Large Data Structures
113(1)
Storing Data in Flash Memory
114(2)
Eeprom
116(7)
Storing an int in Eeprom
117(2)
Writing Anything to Eeprom
119(1)
Storing a float in Eeprom
120(1)
Storing a String in Eeprom
121(1)
Clearing the Contents of Eeprom
122(1)
Compression
123(1)
Range Compression
123(1)
Conclusion
124(1)
9 Displays
125(10)
Alphanumeric LCD Displays
126(1)
A USB Message Board
127(2)
Using the Display
129(1)
Other LCD Library Functions
130(1)
OLED Graphic Displays
130(1)
Connecting an OLED Display
131(1)
Software
132(2)
Conclusion
134(1)
10 Arduino Internet of Things Programming
135(20)
Boards for IoT
135(1)
Installing ESP32 into the Arduino IDE
136(1)
Connecting to WiFi
137(2)
Running a Web Server
139(2)
Serving Sensor Readings
141(1)
Serving Sensor Readings---Improved
142(4)
Turning the Built-in LED On and Off from a Web Page
146(1)
Connecting to a Web Service
147(6)
Conclusion
153(2)
Index 155
Simon Monk has a degree in cybernetics and computer science and a Ph.D. in software engineering. He is the author of numerous books, including Programming Arduino, 30 Arduino Projects for the Evil Genius; Hacking Electronics; and Make Your Own PCBs with Fritzing. Simon also runs the website monk.makes.com, which features his own products.