Interfacing sensors and motors with the Launchpad

In this section, we will see how to interface each sensor with the Launchpad. The Launchpad can be used to interface motor controllers and also to interface sensors. Here is a block diagram showing how to connect the Launchpad and sensors:

Figure 16: Interconnection between the Launchpad and sensors

The Launchpad works on 3.3V (CMOS) logic, so we may need a logic level shifter to convert from 3.3V to 5V and vice versa. In board like Arduino UNO is having 5V level, so it can directly interface to motor driver without any need of level shifter. Most of the ARM based controller boards are working in 3.3V, so level shifter circuit will be essential while interfacing to a 5V compatible sensor or circuit.

You can clone the section code using the following command: $ git clone https://github.com/qboticslabs/ros_robotics_projects
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.31.240