O'Reilly logo

Internet of Things with Python by Gastón C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we learned about sensors and their connection types. We understood that it is necessary to consider many important things when choosing sensors and that they make it easy for us to measure different variables from the real world. We learned the importance of considering the units of measure because sensors always provide values measured in a specific unit that we must consider.

We wrote code that took advantage of the modules and classes included in the upm library that made it easier for us to start working with analog and digital sensors. In addition, we wrote code that interacted with a digital accelerometer through the I2C bus because we wanted to be able to take advantage of additional features provided by the sensor ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required