Skip to Main Content
JavaScript on Things
book

JavaScript on Things

by Lyza Gardner
March 2018
Beginner content levelBeginner
448 pages
15h 26m
English
Manning Publications
Content preview from JavaScript on Things

Chapter 3. How to build circuits

This chapter covers

  • Using Ohm’s law to manipulate voltage, current, and resistance in a circuit
  • Prototyping basic circuits on breadboards
  • The difference between parallel and series circuits
  • Nitty-gritty details about LEDs and how to wire them up in several useful configurations
  • Identifying and selecting the right resistor for different circuits and components
  • Calculating the resistance in a series circuit and a parallel circuit

For this chapter, you’ll need

  • 1 Arduino Uno
  • 4 standard LEDs, red
  • 4 220 V resistors
  • 4 560 V resistors
  • 1 100 V resistor
  • 1 push-button switch
  • 1 9 V battery
  • 1 9 V battery snap ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

JavaScript Everywhere

JavaScript Everywhere

Adam D. Scott
JavaScript

JavaScript

T. J. Crowder

Publisher Resources

ISBN: 9781617293863Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link