Reader small image

You're reading from  Raspberry Pi Sensors

Product typeBook
Published inApr 2015
Publisher
ISBN-139781784393618
Edition1st Edition
Right arrow
Author (1)
Rushi Gajjar
Rushi Gajjar
author image
Rushi Gajjar

Rushi Gajjar is an entrepreneur, embedded systems hardware developer and a lifetime electronics enthusiast. He works in the field of research and development of high-speed single-board embedded computers and wireless sensor nodes for the Internet of Things. Prior to that, his extensive work as a freelancer in the domain of electronics hardware design introduced him to rapid prototyping development boards and single board embedded computers such as the Raspberry Pi. In the spare time, he loves to develop the projects on Raspberry Pi including sensors, imaging, data logging, web-servers, and machine learning automation systems. He authored a DIY and hardware based book titled Raspberry Pi Sensors which takes deep dive in developing sensor interfacing based projects with Raspberry Pi. His vision encompasses connecting every entity in world to the Internet for enhancing the human living experience. https://www.linkedin.com/in/rushigajjarhttp://www.amazon.com/Raspberry-Pi-Sensors-Rushi-Gajjar/dp/1784393614/ref=sr_1_9?ie=UTF8&qid=1453884207&sr=8-9&keywords=raspberry+Pi+Sensorshttp://rushigajjar.blogspot.in/
Read more about Rushi Gajjar

Right arrow

Building the project!


It's now time to connect the ultrasonic sensor with the RasPi board. The ultrasonic sensor works on a 5V power supply. Fortunately, we have the 5V supply pin on the RasPi board. We can provide the 5V supply from RasPi to the ultrasonic sensor. However, in reply, the ultrasonic sensor generates a 5V echo signal as an output to RasPi.

Tip

It is always recommended that you connect the ground terminals of the devices first and then the voltage supply terminals. This should be followed with almost all the electronic devices we connect with development boards such as RasPi.

As you have read in Chapter 2, Meeting the World of Electronics, we know that our RasPi needs the 3.3V level on the GPIO pins to operate safely. So, how do we connect them? It is a serious matter. In this regard, Kirchhoff will help us. With the help of Kirchhoff's current and voltage laws, we can divide the voltage into two parts. If we divide the 5V supply into 3.3V and 1.7V, we can use the echo pulse coming...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi Sensors
Published in: Apr 2015Publisher: ISBN-13: 9781784393618

Author (1)

author image
Rushi Gajjar

Rushi Gajjar is an entrepreneur, embedded systems hardware developer and a lifetime electronics enthusiast. He works in the field of research and development of high-speed single-board embedded computers and wireless sensor nodes for the Internet of Things. Prior to that, his extensive work as a freelancer in the domain of electronics hardware design introduced him to rapid prototyping development boards and single board embedded computers such as the Raspberry Pi. In the spare time, he loves to develop the projects on Raspberry Pi including sensors, imaging, data logging, web-servers, and machine learning automation systems. He authored a DIY and hardware based book titled Raspberry Pi Sensors which takes deep dive in developing sensor interfacing based projects with Raspberry Pi. His vision encompasses connecting every entity in world to the Internet for enhancing the human living experience. https://www.linkedin.com/in/rushigajjarhttp://www.amazon.com/Raspberry-Pi-Sensors-Rushi-Gajjar/dp/1784393614/ref=sr_1_9?ie=UTF8&qid=1453884207&sr=8-9&keywords=raspberry+Pi+Sensorshttp://rushigajjar.blogspot.in/
Read more about Rushi Gajjar