© Stewart Watkiss 2020
S. WatkissLearn Electronics with Raspberry Pihttps://doi.org/10.1007/978-1-4842-6348-8_6

6. Interfacing with Other Devices

Stewart Watkiss1 
(1)
Redditch, UK
 

This chapter will look at how to interface with other devices using serial protocols such as I2C and SPI. It will also cover ways to connect devices that need different voltages and converting between analog and digital signals. This will include projects that display an output on an LCD display and how to change the brightness of an LED output using a digital output.

You will then learn how you can control DC motors using a H-bridge motor driver circuit and how the PWM signal can be used to control the speed of the motor.

Changing Voltage with a Level Shifter

Sometimes it ...

Get Learn Electronics with Raspberry Pi: Physical Computing with Circuits, Sensors, Outputs, and Projects now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.