Programming arduino next steps : going further with sketches /
"In this practical guide, electronics guru Simon Monk takes you under the hood of Arduino and reveals professional programming secrets. Featuring coverage of the Arduino Uno, Leonardo, and Due boards, Programming Arduino Next Steps: Going Further with Sketches shows you how to use interrupts, m...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York, N.Y. :
McGraw-Hill Education,
[2014]
|
Edición: | First edition. |
Colección: | McGraw-Hill's AccessEngineering.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- A. About the author
- B. Acknowledgments
- C. Introduction
- Downloads
- What will i need?
- Using this book
- Resources
- 1. Programming arduino
- What is arduino?
- Installation and the ide
- A tour of arduino
- Arduino boards
- Programming language
- Modifying the blink sketch
- Variables
- If
- Loops
- Functions
- Digital inputs
- Digital outputs
- The serial monitor
- Arrays and strings
- Analog inputs
- Analog outputs
- Using libraries
- Arduino data types
- Arduino commands
- Summary
- 2. Under the hood
- A brief history of arduino
- Anatomy of an arduino
- Avr processors
- Arduino and wiring
- From sketch to arduino
- Avr studio
- Installing a bootloader
- Summary
- 3. Interrupts and timers
- Hardware interrupts
- Enabling and disabling interrupts
- Timer interrupts
- Summary
- 4. Making arduino faster
- How fast is an arduino?
- Comparing arduino boards
- Speeding up arithmetic
- Lookup vs. Calculate
- Fast i/o
- Speeding up analog inputs
- Summary
- 5. Low power arduino
- Power consumption of arduino boards
- Current and batteries
- Reducing the clock speed
- Turning things off
- Sleeping
- Use digital outputs to control power
- Summary
- 6. Memory
- Arduino memory
- Minimizing ram usage
- Minimizing flash usage
- Static vs. Dynamic memory allocation
- Strings
- Using eeprom
- Using flash
- Using sd card storage
- Summary.
- 7. Using i2c
- I2c hardware
- The i2c protocol
- The wire library
- I2c examples
- Summary
- 8. Interfacing with 1-wire devices
- 1-wire hardware
- The 1-wire protocol
- The onewire library
- Using the ds18b20
- Summary
- 9. Interfacing with spi devices
- Bit manipulation
- Spi hardware
- The spi protocol
- The spi library
- Spi example
- Summary
- 10. Serial uart programming
- Serial hardware
- Serial protocol
- The serial commands
- The softwareserial library
- Serial examples
- Summary
- 11. Usb programming
- Keyboard and mouse emulation
- Usb host programming
- Summary
- 12. Network programming
- Networking hardware
- The ethernet library
- Ethernet examples
- The wifi library
- Wifi example
- Summary
- 13. Digital signal processing
- Introducing digital signal processing
- Averaging readings
- An introduction to filtering
- Creating a simple low-pass filter
- Arduino uno dsp
- Arduino due dsp
- Filter code generation
- The fourier transform
- Summary
- 14. Managing with one process
- Making the transition from big programming
- Why you don't need threads
- Setup and loop
- The timer library
- Summary
- 15. Writing libraries
- When to make a library
- Using classes and methods
- Library example (tea5767 radio)
- Testing the library
- Releasing the library
- Summary
- A. Parts
- Arduino boards
- Shields
- Components and modules
- Suppliers.