concept serial communication in category javascript

appears as: serial communication
JavaScript on Things: Hacking hardware for web developers

This is an excerpt from Manning's book JavaScript on Things: Hacking hardware for web developers.

LCD modules are available with different interfaces, including several serial options (you’ll learn about serial communication in chapter 7). The module shown in figure 5.13 has a parallel interface.

  • Parallel communication is fast by its nature, but it can be cumbersome. Serial communication—one bit at a time—is the method of choice for exchanging data in hobby electronics.
  • 7.2. The basics of serial communication

    Although the core concept of serial communication isn’t hard to grasp—one bit at a time down the wire—there are an intimidating number of ways that it can actually happen. How fast should those bits move around? How many bits make up each discrete grouping (frame) of delivered data? How are errors detected and corrected? If there are more than two components communicating, how does data get sent (addressed) to the correct component? Is one component in charge (the master) of several connected components?

    Figure 7.4. For devices to exchange data using serial communication, they need to know how to talk to each other.