Cargando…

Programming the beaglebone black : getting started with javascript and bonescript /

"Program your own BeagleBone Black projects!Build creative BeagleBone Black devices--no prior programming or electronics experience required. In Programming the BeagleBone Black, electronics guru Simon Monk explains essential application development methods through straightforward directions an...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Monk, Simon (Autor)
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. Introduction and setup
  • What is the beaglebone black?
  • A tour of the beaglebone black
  • Example beaglebone black projects
  • First boot of the beaglebone black
  • Secure socket communication
  • Ethernet connection
  • Upgrading the operating system
  • Summary
  • 2. A linux computer
  • Attaching the keyboard, mouse, and screen
  • Setting the date
  • Wi-fi
  • Bundled software
  • Installing more software
  • Summary
  • 3. Javascript basics
  • Programming
  • Cloud9 web ide
  • Javascript, node, and bonescript
  • Experimenting
  • Numbers
  • Variables
  • Strings
  • Dice example
  • Ifs
  • Looping
  • Turning on usr leds
  • Summary
  • 4. Javascript functions and timers
  • More on ifs
  • Functions
  • While loops
  • Timers
  • Summary
  • 5. Arrays, objects, and modules
  • Arrays
  • Morse code example
  • More on strings
  • Introducing javascript objects
  • Morse revisited
  • Debugging javascript
  • Modules
  • Summary
  • 6. Bonescript
  • Gpio connectors
  • Digital outputs
  • Digital inputs
  • Analog outputs
  • Analog inputs
  • Interrupts
  • Summary
  • 7. Hardware interfacing
  • Solderless breadboard
  • Leds
  • Switches
  • Rgb leds
  • Switching ac
  • Temperature sensor
  • Light sensor
  • Servos
  • Using a transistor
  • Summary
  • 8. Using capes and modules
  • Breadboard cape
  • Proto cape
  • Battery cape
  • Lcd cape
  • Motor driver module
  • I2c
  • Summary
  • 9. Web interfaces
  • How does it work?
  • Some basic html
  • On/off led control
  • Led brightness control (analog outputs)
  • Displaying digital inputs
  • Displaying analog inputs
  • Custom actions
  • Inputs and outputs together
  • Summary
  • 10. A roving robot
  • Hardware
  • Software
  • Summary
  • 11. E-mail notifier
  • Hardware
  • Software
  • Summary
  • A. A: parts
  • Suppliers
  • Breadboard starter kits
  • Beaglebone and capes
  • Modules
  • Electronic components
  • Tools and prototyping
  • Miscellaneous
  • B. B: javascript quick reference
  • Core language
  • Strings
  • Arrays
  • Objects
  • Math
  • Dates
  • C. C: beaglebone black gpio pinout.