- Tapa blanda: 724 páginas
- Editor: O'Reilly Media; Edición: 2 (2 de enero de 2012)
- Idioma: Inglés
- ISBN-10: 1449313876
- ISBN-13: 978-1449313876
- Valoración media de los clientes: 4.3 de un máximo de 5 estrellas Ver todas las opiniones (3 opiniones de clientes)
Clasificación en los más vendidos de Amazon:
nº48.027 en Libros en idiomas extranjeros (Ver el Top 100 en Libros en idiomas extranjeros)
- n.° 68 en Libros en idiomas extranjeros > Informática, internet y medios digitales > Hardware y dispositivos portátiles
- n.° 200 en Libros en idiomas extranjeros > Ciencias, tecnología y medicina > Tecnología e ingeniería > Electrónica y comunicaciones
- n.° 543 en Libros en idiomas extranjeros > Informática, internet y medios digitales > Ciencias informáticas
- Ver el Índice completo
Arduino Cookbook (Inglés) Tapa blanda – 2 ene 2012
|Nuevo desde||Usado desde|
Los clientes que compraron este producto también compraron
Descripción del producto
Reseña del editor
Want to create devices that interact with the physical world? This cookbook is perfect for anyone who wants to experiment with the popular Arduino microcontroller and programming environment. You’ll find more than 200 tips and techniques for building a variety of objects and prototypes such as toys, detectors, robots, and interactive clothing that can sense and respond to touch, sound, position, heat, and light.
You don’t need to have mastered Arduino or programming to get started. Updated for the Arduino 1.0 release, the recipes in this second edition include practical examples and guidance to help you begin, expand, and enhance your projects right away—whether you’re an artist, designer, hobbyist, student, or engineer.
- Get up to speed on the Arduino board and essential software concepts quickly
- Learn basic techniques for reading digital and analog signals
- Use Arduino with a variety of popular input devices and sensors
- Drive visual displays, generate sound, and control several types of motors
- Interact with devices that use remote controls, including TVs and appliances
- Learn techniques for handling time delays and time measurement
- Apply advanced coding and memory handling techniques
Biografía del autor
Michael Margolis is a technologist in the field of real time computing with expertise in developing and delivering hardware and software for interacting with the environment. He has more than 30 years of experience at senior levels with Sony, Microsoft, and Lucent/Bell Labs. He has written libraries and core software that are part of the official Arduino 1.0 distribution.
No es necesario ningún dispositivo Kindle. Descárgate una de las apps de Kindle gratuitas para comenzar a leer libros Kindle en tu smartphone, tablet u ordenador.
Obtén la app gratuita:
Detalles del producto
¿Qué otros productos compran los clientes tras ver este producto?
Opiniones de clientes
Principales opiniones de clientes
No es recomendable para profanos, pues se hara complicado de seguir con las recetas mas sencillas.
El libro esta dividido en apartados concretos del uso del Arduino, cada apartado esta dividido en recetas en las cuales se plantea un problema, se desarrolla y posteriormente se soluciona y discuten los pasos realizados.
Imprescindible entender bien el ingles tecnico.
I like how it is presented.
We will need an advanced version of this book
Opiniones de clientes más útiles en Amazon.com (beta)
Two kinds of skills are required (or developed) to build projects that use Arduino. One is working with electronics - gathering components, assembling them, and connecting them to the Arduino. The other is simple programming in C. If you have these skills but no experience with Arduino and want a quick start, this book will really help.
Someone with little or no experience in these areas may be able to figure it out from Chapter 1 in particular, and reading the rest carefully. Absolute beginners may find it easier to start with an absolute beginners book. If you buy this book and find it is too deep, keep it, you can always get a simpler book, then come back when you're ready.
The book is not a complete introduction to programming or electronics. The author chose to go broad to introduce his audience to a wide range of possibilities, rather than go very deep on any of them, but there is enough info to make it work, and references to go deeper.
CHANGES FROM ARDUINO COOKBOOK FIRST EDITION
The second edition has been updated to the Arduino 1.0 release. It is expanded to 724 pages, 62 more pages, and a few dollars less. Comparing the books side-by-side, the table of contents were nearly identical. The page numbers are different, owing to expanded text in the second edition, and a few new sections:
Sending Messages Using Low-Cost Tranceivers
Communicating with Bluetooth Devices
Updating Third-Party Libraries for Arduino 1.0
Uploading Sketches Using a Programmer
Replacing the Arduino Bootloader
Reprogram the Uno to Emulate a Native USB Device
...and an Appendix: Migrating to Arduino 1.0, which describes the changes you need to make to older code to work with Arduino 1.0.
If you have the first edition, you may not need to get the second edition. You can download the new source code from the publisher's Web site; you can google "Arduino Software Release Notes" for a list of changes, some of which will require minor changes to your code. The author says that a few newer hardware devices have replaced the ones described in the first edition, but less than one year passed between these two editions, so it would not be a lot. The change to Arduino 1.0 should not require changes to circuits.
The book has 18 chapters containing a total of 204 topics or "Recipes" structured as a Problem, a Solution, Discussion, and See Also sections. Most problems are things people would really want to do: pieces of a project. Solutions consist of C code and libraries, and electronic components. Discussion might be troubleshooting, variations, or more information. See Also provides references for more information - in the book, and URLs for Web-based information or libraries.
The average "recipe" is 3.1 pages long; some are longer than others.
Chapter 1 discusses the software development environment (which is supported for Windows, Mac, and Linux, but comes from Arduino) and very basic information about the board. In introduces simple programming and wiring by way of the common "blinking light" example. In 21 pages, the goal is to get something running quickly more than learning how it all works.
Two chapters explain a bit about C: types of variables and manipulations; mathematical operations for numeric types.
Programs must have input and/or output to be useful. Since this is what makes your solution come alive, this is the bulk of the book, and the most interesting part.
Chapter 4 introduces serial communications - exchanging information with a computer which is connected to the Arduino via USB. This can be used for I/O to a connected computer, as well as debugging your program by sending status messages at various points in the processing.
Chapter 5 discusses digital and analog input and output at a very basic level - controlling output to pins, and reading input from the pins. This is the foundation for all I/O that follows.
A strength of Arduino is the vast array of devices that work without a lot of extra circuitry. Chapter 6 discusses detecting light (or dark), movement, acceleration, vibration, distance, sound, temperature, location, direction, and interface to a computer mouse or a game controller. Chapter 7 discusses visual output using LEDs alone or in a matrix, 7-segment displays, and meters.
Chapter 8 discusses producing movement, vibration, or controlling external devices with relays and solenoids. Chapter 9 shows you how to make sounds - as tones, melodies, playing recordings, controlling a MIDI synthesizer, and making a simple audio synthesizer.
Chapter 10 presents uses of InfraRed devices (your home stereo, your camera, etc) as well as detecting and acting upon InfraRed signals from remotes you already have. Chapter 11 tells you how to use LCD displays available for Arduino to display text, or how to display text on the TV.
Chapter 12 deals with dates and times - make Arduino aware of passing time, or to work as an alarm clock.
Chapter 13 presents I2C and SPI, standards used for exchanging information between a variety of digital devices. Learn to use a standard and you'll find it can be used with other devices. For example, if you want to use a Wii Nunchuck controller to control your Arduino applications, you will need to learn about I2C. You can also use I2C to talk to external memory added to Arduino, get temperature for an external digital temperature measuring device, or display 4 numbers on 7-segment displays using only two wires.
Chapter 14 is about wireless communication. Chapter 15 discusses using an Ethernet shield to Internet-enable your Arduino application.
Chapter 16 discusses the creation and use of code libraries. Chapter 17 dives deeper into the subject of prgramming, especially in handling memory. Chapter 18 is all about using the controller chip hardware in ways not (yet) supported by libraries.
Nine appendices give basic information on building with electronics, troubleshooting, digital and analog I/O pins, and character sets. For those who have code written prior to the release of Arduino 1.0, an appendix is there to help you migrate.
The source code can be downloaded from the publisher's Web site; the URL is on page xv.
You should seriously consider the PDF version of the book, because all of the many links are live, and the PDF is on your computer as handy reference. You can always print pages as needed for reference while building. O'Reilly currently has a good deal for upgrading to a new PDF edition.
The book serves as an introduction to the broadest range of Arduino capabilities of any book I have seen. With a little experience, the book will get you going quickly by demonstrating a working example that may be enough for your purposes. For me, this book is indispensable for Arduino work.
If you are new to programming, this book may be great. If you already know how to program but want to learn about the Arduino, this is NOT the book for you.
For example, chapters 1-3 discuss basic such as for loops (section 2.14) and the sqrt() function (section 3.8). This book works hard to avoid "advanced" subjects such as pointers and printf. Even in "Chapter 17: Advanced Coding and Memory Handling", there is barely any mention of heap and stack (SRAM) versus static (flash) memory. Sure, Ch.17 mentions the keyword PROGMEM but for any further details, the reader is referred to [...]. I don't need a general discussion of memory management, I bought this book hoping for information on the specific features and quirks of Arduino.
Want to learn about Arduino sleep modes? "18.10: Reducing Battery Drain" might seem like a good recipe. Don't bother though, all it does is reprint the most basic example of using the freely available Narcoleptic library from code.google.com. There is no mention of various Arduino sleep levels, how they may affect your code and what they do to the internal timers.
Let's pick a more basic example, how about a real-time clock? There is absolutely no discussion of the hardware side of a real-time clock. On the software side, there are a couple simple examples on using the standard C time library. It's a bit misleading to see "#include <Time.h>" in recipe 12.4 (note the <> brackets). Yes, <time.h> is a standard C library. No, it is not a standard part of the Arduino C library. So the book's example code won't even compile and there is no explanation as to why. The only mention of Time.h being a separate download is a vague mention in the "See Also" section which refers to the [...] website. An experienced programmer should be able to figure this out but anybody that needs three chapters on basic programming may need a bit more of an explanation.
In my opinion, that is where this book repeatedly fails. It acts like each recipe is a self contained problem/solution set. In reality, the majority of print is wasted on repeating the basics in every recipe and all the good information is left to the "See Also" references. What use is this book if I have to look everything up myself anyways?
If you are new to programming and need help with concepts like pointers or i++ instead of i = i + 1; then find a real C programming tutorial (K&R is my recommendation). If you are looking for specific information on how the Arduino actually works, save yourself a few bucks and visit [...] because that's all that this book will tell you to do anyways.
The book contains many chapters on interfacing various sensors and devices with Arduino. I scanned them all and each one just gave me more and more ideas on things I wanted to tinker with.
I don't like the icons used in the book for Tips/Warnings - why invent something new. I think the standard yellow caution would be better.
This is a great book and Arduino is an outstanding product for beginners to continue an interest or develop a new interest in electronics/programming.
This is the book for an Arduino, or other Physical Computing hobbyist who has gone beyond following other people's instruction and who now seeks a useful and comprehensive reference that will serve for years to come in a variety of Intermediate and Advanced Projects.
IT & HCI Researcher and Consultant Formerly on the Senior Staff of Arthur D. Little, Inc. and Digital Equipment Corporation
A Participant in the Philly Hackerspace--Hive 76
4-25-11 Update - O'Reilly sent me a updated version. Hoping Amazon starts sending it out as well.
Buscar productos similares por categoría
- Libros en idiomas extranjeros > Ciencias, tecnología y medicina > Tecnología e ingeniería > Electrónica y comunicaciones
- Libros en idiomas extranjeros > Informática, internet y medios digitales > Ciencias informáticas
- Libros en idiomas extranjeros > Informática, internet y medios digitales > Hardware y dispositivos portátiles
- Libros en idiomas extranjeros > Informática, internet y medios digitales > Programación y desarrollo de software