Programming Arduino: Getting Started with Sketches, 3rd Edition
- Length: 176 pages
- Edition: 3
- Language: English
- Publisher: McGraw Hill TAB
- Publication Date: 2022-12-06
- ISBN-10: 1264676980
- ISBN-13: 9781264676989
- Sales Rank: #235813 (See Top 100 Books)
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
Cover Title Page Copyright Page Dedication About the Author Contents Preface Acknowledgments Introduction 1 Getting Started Microcontrollers Development Boards A Tour of an Arduino Uno Board Power Supply Power Connections Analog Inputs Digital Connections Microcontroller Other Components A Tour of a WiFi-Capable Arduino-Compatible The Origins of Arduino Powering Up Installing the Software Uploading Your First Sketch The Arduino Application Conclusion 2 C Language Basics Programming What Is a Programming Language? Blink—Again! Variables Experiments in C Numeric Variables and Arithmetic Commands if for while Constants Conclusion 3 Functions What Is a Function? Parameters Global, Local, and Static Variables Return Values Other Variable Types Floats Boolean Other Data Types Coding Style Indentation Opening Braces Whitespace Comments Conclusion 4 Arrays and Strings Arrays Morse Code SOS Using Arrays String Arrays String Literals String Variables A Morse Code Translator Data Globals and Setup The loop Function The flashSequence Function The flashDotOrDash Function Putting It All Together The String Class Conclusion 5 Input and Output Digital Outputs 5 V or 3.3 V? Digital Inputs Pull-Up Resistors Internal Pull-Up Resistors Debouncing Analog Outputs Analog Input Conclusion 6 Boards Arduino Nano Arduino Pro Mini Breadboard The Boards Manager ESP32 Boards Raspberry Pi Pico BBC micro:bit Adafruit Feather System Conclusion 7 Advanced Arduino Random Numbers Math Functions Bit Manipulation Advanced I/O Generating Tones Feeding Shift Registers Interrupts Compile-Time Constants The Arduino Web Editor Conclusion 8 Data Storage Large Data Structures Storing Data in Flash Memory EEPROM Storing an int in EEPROM Writing Anything to EEPROM Storing a float in EEPROM Storing a String in EEPROM Clearing the Contents of EEPROM Compression Range Compression Conclusion 9 Displays Alphanumeric LCD Displays A USB Message Board Using the Display Other LCD Library Functions OLED Graphic Displays Connecting an OLED Display Software Conclusion 10 Arduino Internet of Things Programming Boards for IoT Installing ESP32 into the Arduino IDE Connecting to WiFi Running a Web Server Serving Sensor Readings Serving Sensor Readings—Improved Turning the Built-in LED On and Off from a Web Page Connecting to a Web Service Conclusion Index
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.