What If It Doesn’t Work?
See What If It Doesn’t Work?, and make sure that you’ve connected all parts properly to the breadboard. Take special care with the PING))) and the TMP36 sensors, because you haven’t worked with them before. Make sure you’ve connected the right pins to the right connectors of the sensors.
In case of any errors with the software—no matter whether it’s JavaScript or Arduino code—download the code from the book’s website and see whether it works.
If you have problems with serial communication, double-check whether you’ve used the right serial port and the right Arduino type. Remember to adjust the path to your Arduino’s serial port in the first line of dashboard.js. Also check whether the baud rate in the JavaScript code ...
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.
Read now
Unlock full access