Muutke küpsiste eelistusi

E-raamat: Connecting Arduino to the Web: Front End Development Using JavaScript

  • Formaat: PDF+DRM
  • Ilmumisaeg: 13-Jun-2018
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484234808
Teised raamatud teemal:
  • Formaat - PDF+DRM
  • Hind: 67,91 €*
  • * hind on lõplik, st. muud allahindlused enam ei rakendu
  • Lisa ostukorvi
  • Lisa soovinimekirja
  • See e-raamat on mõeldud ainult isiklikuks kasutamiseks. E-raamatuid ei saa tagastada.
  • Formaat: PDF+DRM
  • Ilmumisaeg: 13-Jun-2018
  • Kirjastus: APress
  • Keel: eng
  • ISBN-13: 9781484234808
Teised raamatud teemal:

DRM piirangud

  • Kopeerimine (copy/paste):

    ei ole lubatud

  • Printimine:

    ei ole lubatud

  • Kasutamine:

    Digitaalõiguste kaitse (DRM)
    Kirjastus on väljastanud selle e-raamatu krüpteeritud kujul, mis tähendab, et selle lugemiseks peate installeerima spetsiaalse tarkvara. Samuti peate looma endale  Adobe ID Rohkem infot siin. E-raamatut saab lugeda 1 kasutaja ning alla laadida kuni 6'de seadmesse (kõik autoriseeritud sama Adobe ID-ga).

    Vajalik tarkvara
    Mobiilsetes seadmetes (telefon või tahvelarvuti) lugemiseks peate installeerima selle tasuta rakenduse: PocketBook Reader (iOS / Android)

    PC või Mac seadmes lugemiseks peate installima Adobe Digital Editionsi (Seeon tasuta rakendus spetsiaalselt e-raamatute lugemiseks. Seda ei tohi segamini ajada Adober Reader'iga, mis tõenäoliselt on juba teie arvutisse installeeritud )

    Seda e-raamatut ei saa lugeda Amazon Kindle's. 

Create physical interfaces that interact with the Internet and web pages. With Arduino and JavaScript you can create interactive physical displays and connected devices that send data to or receive data from the web. You'll take advantage of the processes needed to set up electronic components, collect data, and create web pages able to interact with electronic components.

Through exercises, projects, and explanations, this book will give you the core front end web development and electronics skills needed to create connected physical interfaces and build compelling visualizations with a range of JavaScript libraries.

By the end of the book you will have developed fully working interactive prototypes capable of sending data to and receiving data from a physical interface. Most importantly, Connecting Arduino to the Web will give you a taste of what is possible and the knowledge to create your own connected physical interfaces and bring the web into your electronics projects.

What You'll Learn

  • Build an Internet of Things dashboard that updates with electronics attached to an Arduino
  • Use components to interact with online 3D displays
  • Create web pages with HTML and CSS
  • Set up a Node.js server
  • Use WebSockets to process live data
  • Interact with scalable vector graphics (SVG)

  • Who This Book Is For

    Technologists, developers, and enthusiasts looking to extend their skills, be able to develop physical prototypes with connected devices, and with an interest in getting started with IoT. Also, those excited by the possibilities of connecting the physical and the web.  
    About the Author ix
    About the Technical Reviewer xi
    Introduction xiii
    Chapter 1 Arduino, Circuits and Components
    1(30)
    Arduino
    1(1)
    Arduino Hardware
    2(1)
    Electricity
    3(3)
    Ohms Law
    6(1)
    Resistors
    7(1)
    Electronic Circuit Diagrams
    8(1)
    Arduino Software
    9(1)
    Downloading and Setting Up the Arduino IDE
    10(1)
    Connecting an Arduino to a Computer
    11(6)
    Digital and Analog
    17(2)
    Analog Output
    19(4)
    Digital Input
    23(4)
    Analog Input
    27(3)
    Summary
    30(1)
    Chapter 2 Creating a Web Server
    31(40)
    What Is a Web Server?
    31(1)
    Routing
    32(1)
    What Is Node.js?
    33(1)
    Using a Command-Line Interface
    33(4)
    Setting Up a Node.js server
    37(1)
    Installing Node.js
    37(4)
    Create a Node.js Application
    41(1)
    The Directory Structure
    42(9)
    Creating a Web Page
    51(1)
    Template Engine
    51(9)
    package.json and Version Control
    60(6)
    How Sockets Work
    66(4)
    Summary
    70(1)
    Chapter 3 Arduino to Front End Part I
    71(22)
    Introduction to Serial Port
    72(1)
    Finding the Serial Port
    73(1)
    Serial Data and Arduino
    73(1)
    The Baud Rate
    74(7)
    Using the Data on the Front End
    81(1)
    SerialPort Library
    81(1)
    Downloading the SerialPort Library
    82(9)
    Summary
    91(2)
    Chapter 4 Introduction to Creating Web Content
    93(36)
    HTML
    93(1)
    HTML Elements
    94(4)
    HTML Attributes
    98(1)
    Nested Elements
    99(2)
    Document Object Model
    101(1)
    CSS
    102(4)
    CSS Selectors
    106(1)
    Cascading Rules
    107(1)
    The Box Model
    108(1)
    Display Layout
    109(1)
    Flexbox
    110(6)
    Color
    116(1)
    RGB
    116(1)
    Hexadecimal
    116(1)
    HSL
    116(1)
    Scalable Vector Graphics (SVG)
    117(2)
    SVG Scaling
    119(1)
    Viewbox
    120(1)
    Computer Programming
    120(1)
    Variables
    120(1)
    Operators
    121(1)
    Types
    121(2)
    Statements
    123(1)
    Expressions
    123(1)
    Data Structures
    123(1)
    Conditional Statements
    124(1)
    Loops
    125(1)
    Functions
    126(1)
    Scope
    127(1)
    Summary
    127(2)
    Chapter 5 Front End to Arduino
    129(34)
    The Applications
    129(1)
    LED Web Application
    130(8)
    A Bit More About Flexbox
    138(7)
    Setting Up the LED
    145(4)
    LCD Web Application
    149(1)
    Create the Server
    150(7)
    Set Up the LCD
    157(5)
    Summary
    162(1)
    Chapter 6 Arduino to Front End Part II
    163(40)
    Analog and Digital Signals
    163(2)
    The Application
    165(6)
    The Node.js Application
    171(18)
    Extending the Application
    189(6)
    Visualizing the Data on an Arduino
    195(7)
    Summary
    202(1)
    Chapter 7 Visualizing Data
    203(30)
    Introduction to D3.js
    203(1)
    How D3.js Works
    204(9)
    Method Chaining
    213(1)
    Visualizing Data from the Arduino with D3.js
    213(11)
    Tidying Up the Code
    224(1)
    Revealing Module Pattern
    224(8)
    Summary
    232(1)
    Chapter 8 Create a Web Dashboard
    233(46)
    The Dashboard
    233(1)
    Principles of Data Visualization
    234(2)
    Types of Visualization
    236(1)
    Labeling a Visualization
    237(1)
    Color
    237(1)
    The Sensors
    237(1)
    DHT11 Temperature and Humidity Sensor
    238(1)
    Photoresistor
    238(1)
    Importing Libraries
    238(28)
    Adding in Daily Values
    266(12)
    Summary
    278(1)
    Chapter 9 Physical Data Visualization with Live Data
    279(30)
    API
    279(1)
    USGSAPI
    280(2)
    Getting Data from an External Server
    282(1)
    Callbacks and Promises
    282(3)
    Request Response Status Codes
    285(1)
    The Node.JS Application
    286(1)
    setTimeout vs. setlnterval
    287(1)
    The GeoJSON Object
    288(7)
    The Arduino Components
    295(1)
    A Piezo Buzzer
    295(12)
    Summary
    307(2)
    Chapter 10 Creating a Game Controller
    309(60)
    Animation
    309(1)
    The HTML5 Canvas Element
    310(1)
    CSS Animation
    310(1)
    3D on the Web
    310(1)
    WebGL
    311(1)
    3D Space
    311(2)
    3D Meshes
    313(1)
    Shaders
    313(2)
    Three.js
    315(1)
    Three Vectors
    315(6)
    The Game
    321(4)
    The Web Application
    325(3)
    Building Up the Game
    328(39)
    Summary
    367(2)
    Appendix A Arduino Community And Components
    369(4)
    Arduino Community
    369(1)
    Arduino Components
    370(3)
    Appendix B More Front End Development
    373(12)
    JavaScript
    374(1)
    ES6 and Beyond
    374(3)
    JavaScript Frameworks
    377(1)
    Databases
    378(1)
    Node.js Template Engines
    379(1)
    Serial Port
    379(1)
    CSS
    380(1)
    Flexbox
    380(1)
    CSS Grid
    380(1)
    Data Visualization
    380(1)
    Data Visualization Libraries
    381(1)
    Data Visualization Resources
    382(1)
    Maps
    383(1)
    Color
    383(2)
    Index 385
    Indira is an accomplished developer and motion designer who has expertise in computer programming and broadcast graphics. For the last six years she has concentrated on web development and data visualizations. She currently works at Future Cities Catapult as a creative web developer where she has worked on prototypes and projects that have included interacting with Arduinos. She is also an active member in the development community and has just started a meet up in London on WebVR. Indira holds a Masters in 3D Computer Animation from Bournemouth University, and a Masters in Computer Science from Birkbeck University of London. She has worked on web applications, interactive art installations, popular game titles, independent films and for network television.