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 ...