Programming Arduino Getting Started with Sketches Author: Simon Monk | Language: English | ISBN:
B006GMVISY | Format: PDF
Programming Arduino Getting Started with Sketches Description
Program Arduino with ease!
Using clear, easy-to-follow examples, Programming Arduino: Getting Started with Sketches reveals the software side of Arduino and explains how to write well-crafted sketches using the modified C language of Arduino. No prior programming experience is required! The downloadable sample programs featured in the book can be used as-is or modified to suit your purposes.
- Understand Arduino hardware fundamentals
- Install the software, power it up, and upload your first sketch
- Learn C language basics
- Write functions in Arduino sketches
- Structure data using arrays and strings
- Use Arduino's digital and analog inputs and outputs in your programs
- Work with the Standard Arduino Library
- Write sketches that can store data
- Program LCD displays
- Use an Ethernet shield to enable Arduino to function as a web server
- Write your own Arduino libraries
In December 2011, Arduino 1.0 was released. This changed a few things that have caused two of the sketches in this book to break. The change that has caused trouble is that the classes 'Server' and 'Client' have been renamed to 'EthernetServer' and 'EthernetClient' respectively. To fix this:
- Edit sketches 10-01 and 10-02 to replace all occurrences of the word 'Server' with 'EthernetServer' and all occurrences of 'Client' with 'EthernetClient'.
- Alternatively, you can download the modified sketches for 10-01 and 10-02 from here: http://www.arduinobook.com/arduino-1-0
Make Great Stuff!
TAB, an imprint of McGraw-Hill Professional, is a leading publisher of DIY technology books for makers, hackers, and electronics hobbyists.
- File Size: 3211 KB
- Print Length: 176 pages
- Simultaneous Device Usage: Up to 4 simultaneous devices, per publisher limits
- Publisher: McGraw-Hill/TAB Electronics; 1 edition (November 8, 2011)
- Sold by: Amazon Digital Services, Inc.
- Language: English
- ASIN: B006GMVISY
- Text-to-Speech: Enabled
X-Ray:
- Lending: Not Enabled
- Amazon Best Sellers Rank: #17,314 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
- #1
in Kindle Store > Kindle eBooks > Nonfiction > Professional & Technical > Engineering > Electrical & Electronics > Electronics > Microelectronics - #1
in Kindle Store > Kindle eBooks > Nonfiction > Science > Experiments, Instruments & Measurement > Experiments & Projects - #2
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > C & C++
- #1
in Kindle Store > Kindle eBooks > Nonfiction > Professional & Technical > Engineering > Electrical & Electronics > Electronics > Microelectronics - #1
in Kindle Store > Kindle eBooks > Nonfiction > Science > Experiments, Instruments & Measurement > Experiments & Projects - #2
in Kindle Store > Kindle eBooks > Computers & Technology > Programming > C & C++
I've been using, and learning about, Arduino for a few months. I bought a few other books to help me get moving, and have not been very pleased with them. So, recently, I wanted to start trying to do some of the more difficult things with Arduino, like using data storage and Ethernet. I looked on various web sites for tutorials, and examples, and found that none of the ones I downloaded were very good examples. The Ethernet subject was probably the most difficult. Many example programs would work sometimes, and not other times. Some never worked at all. But, worst of all, some examples had so many errors that I gave up on trying to fix and recompile them, and was never able to load them to the Arduino.
Then, about a week ago, I saw this book by Simon Monk, and decided to order it, and give it a try. I have not regretted that move at all. The two best working Ethernet programs that I have found both came out of THIS book. I am using them as templates for building the more complicated applications I wanted. Unlike the other Ethernet examples I've had, Simon's examples both worked on the first try. I only had to change the IP address and MAC address in the program to point to my own Arduino devices. He has obviously tested them thoroughly before publishing them. How I wish everyone was that conscientious!
Then, as I started to use these programs as templates to build my applications, I found myself going back into Simon's book for more examples, and more explanations on other topics. I used more of his code examples as building blocks for my data storage, and other functionality. Again, the examples in this book are very simple and solid, and they WORK. That's exactly what you need to use as a framework to build your own applications.
Having just started using the Arduino last summer, I can say that this is the ABSOLUTELY BEST book a person could get to become familiar with the Arduino. I've been an electronics hobbyist for years but mainly dealt with analog world with minimal interest in too much on the digital side. I did programming but never with a microprocessor until I got my Arduino last summer. Now I'm hooked. Unfortunately, the usual books for "helping" with Arduino give sketches and explain bits and pieces without ever doing an overview of the system. However, this book is fantastic. Just got it today and have read over half of it; I've marked it up with pen to remind myself of crucial facts that I wish I had known a few months back. I programmed in Fortran (antique language) and BASIC before, but never learned the C programming language (the language of the Arduino). Thankfully, this book assumes no knowledge of C language and holds your hand through the process. It does a wonderful job explaining what each section of the programming does, it explains the hardware of the board, and it explains how the board communicates with the computer. At long last, instead of just copying and pasting someone else's program and hoping I can modify it to work for my own purposes, I can understand WHY certain things work the way they do.
UPDATE: I've had this book for over five months, and I still maintain that you have GOT to have this book. I have used it so much that I've about worn it out. Yes, the info that is in the book can be found elsewhere, but he covers so much material so well in such logical places. If you're trying to understand how and why Arduino sketches work the way they do, BUY THIS BOOK!
UPDATE 2: I STILL stand by my review of almost a year ago.
Programming Arduino Getting Started with Sketches Preview
Link
Please Wait...