CITATION

Monk, Simon. Programming Arduino Getting Started with Sketches. US: McGraw-Hill/TAB Electronics, 2011.

Programming Arduino Getting Started with Sketches

Authors:

Published:  November 2011

eISBN: 9780071784238 0071784233 | ISBN: 9780071784221

Book 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.

Dr. Simon Monk has a degree in Cybernetics and Computer Science and a PhD in Software Engineering. He spent several years as an academic before he returned to industry, co-founding the mobile software company Momote Ltd. He has been an active electronics hobbyist since his early teens and is an occasional author in hobby electronics magazines. Simon is also author of 30 Arduino Projects for the Evil Genius and 15 Dangerously Mad Projects for the Evil Genius.

Keywords: ARDUINO PROGRAMMING, ARDUINO PROJECTS, ARDUINO PROCESSING, ARDUINO ROBOT, ARDUINO COOKBOOK, ARDUINO WORKSHOP, MAKER FAIRE, SKETCHES, ARDUINO MICROCONTROLLER, ARDUINO HOBBYISTS, ARDUINO FORUM, ARDUINO CODE, ARDUINO SOFTWARE, PROGRAMMING SOFTWARE, DEVELOPING SOFTWARE, GETTING STARTED WITH ARDUINO, ARDUINO PROJECT, MASSIMO BANZI, SKETCHES, C LANGUAGE, C PROGRAMMING, ANALOG INPUTS, DIGITAL INPUTS, INTERFACING, ELECTRONIC ENGINEERS, DEBUGGING, ENTROPY TRAP, ARRAYS, STRINGS AND POINTERS, STANDARD LIBRARY GOODIES, EXTERNAL STORAGE, LCD DISPLAYS, WEB PROGRAMMING, PROGRAM DESIGN, C++ LANGUAGE, LIBRARY WRITING, SOFTWARE ENGINEERING, MOMOTE LTD., 30 ARDUINO PROJECTS FOR THE EVIL GENIUS, 123 PIC MICROCONTROLLER EXPERIMENTS FOR THE EVIL GENIUS, PROGRAMMING AND CUSTOMIZING THE AVR MICROCONTROLLER, PROGRAMMING INTERACTIVITY, PRACTICAL ARDUINO, ARDUINO COOKBOOK, BEGINNING ARDUINO PROGRAMMING, 15 DANGEROUSLY MAD PROJECTS FOR THE EVIL GENIUS, ARDUINO AND ANDROID PROJECTS FOR THE EVIL GENIUS, TAB, BIONICS FOR THE EVIL GENIUS, MECHATRONICS, , 123 PIC MICROCONTROLLER EXPERIMENTS, BIKE, SCOOTER, AND CHOPPER PROJECTS FOR THE EVIL GENIUS, 50 GREEN PROJECTS FOR THE EVIL GENIUS, FUEL CELL PROJECTS FOR THE EVIL GENIUS, 50 AWESOME AUTO PROJECTS FOR THE EVIL GENIUS, ELECTRONIC CIRCUITS, SOLAR ENERGY PROJECTS FOR THE EVIL GENIUS, TELEPHONE PROJECTS, HOLOGRAPHY PROJECTS FOR THE EVIL GENIUS, PROGRAMMING VIDEO GAMES FOR THE EVIL GENIUS, MORE ELECTRONIC GADGETS FOR THE EVIL GENIUS, PC MODS FOR THE EVIL GENIUS, 25 HOME AUTOMATION PROJECTS FOR THE EVIL GENIUS, 50 MODEL ROCKET PROJECTS FOR THE EVIL GENIUS, ELECTRONICS SENSORS FOR THE EVIL GENIUS, ELECTRONIC GADGETS FOR THE EVIL GENIUS, 125 PHYSICS PROJECTS FOR THE EVIL GENIUS, 101 OUTER SPACE PROJECTS FOR THE EVIL GENIUS, 46 SCIENCE FAIR PROJECTS FOR THE EVIL GENIUS, 101 SPY GADGETS FOR THE EVIL GENIUS, 123 ROBOTICS EXPERIMENTS FOR THE EVIL GENIUS, 51 HIGH-TECH PRACTICAL JOKES FOR THE EVIL GENIUS, 22 RADIO AND RECEIVER PROJECTS FOR THE EVIL GENIUS, MIND PERFORMANCE PROJECTS FOR THE EVIL GENIUS, RECYCLING PROJECTS FOR THE EVIL GENIUS, TEARDOWNS, PICAXE MICROCONTROLLER PROJECTS FOR THE EVIL GENIUS, ELECTRONIC CIRCUITS FOR THE EVIL GENIUS, THE TAB BATTERY BOOK, HOW TO DIAGNOSE AND FIX EVERYTHING ELECTRONIC, TINYAVR MICROCONTROLLER PROJECTS FOR THE EVIL GENIUS, ROBOT BUILDER'S BONANZA, 15 DANGEROUSLY MAD PROJECTS FOR THE EVIL GENIUS, THE EUREKA METHOD, STEAMPUNK GEAR, GADGETS, AND GIZMOS, THE TAB GUIDE TO VACUUM TUBE AUDIO, BUILD YOUR OWN FREE-TO-AIR (FTA) SATELLITE TV SYSTEM, ARDUINO + ANDROID PROJECTS FOR THE EVIL GENIUS