Exploring controllers and I/O
Our robot code will need to run on a controller at the center of the robot. Robots usually have a primary controller, a computer of some kind. They may also have some secondary controllers, whereas some of the more unusual robots have many controllers. The controller connects all the other parts together and forms the basis of their interactions.The interactions require connecting a controller to the components. For this, we need to get a better understanding of the Input/Output (I/O) pins.
I/O pins
I/O pins are used for input and output from the controller. They give the controller the ability to connect to sensors, outputs, and motor drivers.The number and types of I/O pins on a controller can limit what you can connect to a robot without using secondary controllers. You may also see the term General-Purpose Input/Output (GPIO), referring to pins with flexible functions instead of structured I/O ports like USB and HDMI. Controller I/O pins have different...