concept software serial in category javascript

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

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

Fortunately, there’s a way! The work a UART performs is certainly more efficient and speedy when implemented in hardware, but it can be emulated in software. So-called software serial allows you to communicate in async serial via microcontroller pins that wouldn’t normally support it at the hardware level. Software serial can be processor-intensive and it isn’t as fast as a UART, but it can be fast enough and gets the job done.

Johnny-Five’s GPS class parses NMEA sentences from the GPS hardware using software serial and organizes them into handy properties like latitude and longitude.