The 8051 micro-controller comes in different shapes and sizes, depending on the model (variant) that you choose. I talked about the most common pin configuration for 8051 in my previous post. These pins can serve as either input or output to the micro-controller. They can be used independently or in groups. When few pins are combined together to form a group, it’s called a port. Let’s discuss the ports available in 8051.