Microcontroller Basics Course (2)
port characteristics and port accesses
In the first instalment of this basics course, we introduced the assembler that we will be using. Now we come to the first practical applications using the processor ports. First, though, we have to take a look at the physical characteristics of the port connections.Anyone who already has a bit of experience with digital electronics knows that there are many different types of outputs. Each type has quite specific characteristics, regardless of whether it is a TTL, CMOS, tri-state, opencollector or open-drain output, and if you want to connect something to the output you need to be aware of these characteristics.In any case, the Port 1 outputs of an 8051 microcontroller do not fall in line with any of the know logic families, but instead employ a rather unique solution. These ports are what is known as ‘quasi-bidirectional’, which means that they can be used as inputs or outputs without having to be specially switched over.
Downloading of this magazine article is reserved for registered users only.Login
| Register now!
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends its business partner Eurocircuits as the company of choice for its own prototypes and volume production in selected cases.