Reader small image

You're reading from  Full Stack Web Development with Raspberry Pi 3

Product typeBook
Published inAug 2017
Reading LevelExpert
PublisherPackt
ISBN-139781788295895
Edition1st Edition
Languages
Right arrow
Author (1)
Soham Kamani
Soham Kamani
author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani

Right arrow

Summary

In this chapter, we went deep into the hardware of our Pi. You learned about the GPIO pin configuration and took a detailed look at how they work in the Read mode as well as the Write mode. Next, we went on to learn how to fine-tune our control over the GPIO pins using the gpio command-line utility.

Finally, we looked at the DHT11 sensor to measure temperature and humidity. We used a supporting C library so that our node code could interface with the sensor and finally wrote a program in JavaScript that printed the temperature and humidity readings to the console.

Our Raspberry Pi now has some sensory capability and has the data it needs to be an IoT device. In the next chapter, you will learn how to expose our sensor readings to the public by integrating with the node server we built in the previous chapter.

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Full Stack Web Development with Raspberry Pi 3
Published in: Aug 2017Publisher: PacktISBN-13: 9781788295895

Author (1)

author image
Soham Kamani

Soham Kamani is a full-stack developer who has extensive experience in the JavaScript ecosystem. He works as a consultant, developing end-to-end web-based solutions for clients around the world. He is an open source enthusiast and an avid blogger. He has worked on many frameworks and technologies such as React, Angular, Node, Express, Sails, SQLite, Postgres, and MySQL, and he has worked on many projects in the IoT space using Arduino and Raspberry Pi systems.
Read more about Soham Kamani