PC Interfacing Basics :Synchronous Serial Interfaces (SPI, I2C, Microwire) ,Asynchronous Serial Interfaces and RS-232 Electrical Standards

Synchronous Serial Interfaces (SPI, I2C, Microwire) There are two very common synchronous data protocols, Microwire and SPI, from which a variety of standard devices (memory and peripheral functions) have been designed around, including serial EEPROMs, sensors and other I/O functions. I consider these protocols to be methods of transferring synchronous serial data rather than intelligent […]
Continue reading…

 

PC Interfacing Basics : The Parallel (Printer) Port and Video Output

PC Interfacing Basics From a practical point of view, chances are you will be designing an interface or enhancement to your PC. Most modern commercial devices utilize USB ports, but you can still do a lot of interesting projects with the ‘‘legacy’’ interfaces built into the PC. Along with this, a basic understanding of your […]
Continue reading…

 

Computer Processors and Support:Power Supplies and Programmable Logic Devices

Power Supplies It is surprising to many people that you can add a simple voltage regulator to power your projects for just a few dollars; cheaper than a set of rechargeable batteries. Voltage regulators, powered by an AC/DC ‘‘Wall wart’’ power converter, will convert one DC voltage to another that can be used by the […]
Continue reading…

 

Computer Processors and Support:IEEE754 Floating Point Numbers and Memory Types

Computer Processors and Support I’m sure that you realize that computer processors are really just a great big sequential circuit, but I’m sure that you have no idea where to start understanding how they work. Traditional computer processors are designed using a selection of six or so basic design philosophies that give them different characteristics. […]
Continue reading…

 

Reading Datasheets : Chip Operating Characteristics , IEEE Logic Symbols and Power Usage and Fanouts

Reading Datasheets I’ve never understood why college and university courses do not give an introductory course in reading digital electronic device datasheets. Despite how prepared you are for them, you will feel quite overwhelmed the first time you have to look through a number of datasheets trying to find a part that meets your requirements. […]
Continue reading…

 

Circuit Interfaces :Pulse Width Modulation , Button ‘‘Debouncing’’ and Switch Matrix Keypad Interfacing

Pulse Width Modulation Despite showing how logic gates and other digital devices are built from simple analog components, they do not handle working with analog voltages very well. There are some circuits that will produce a valid analog (an arbitrary voltage, not just logic ‘‘high’’ and ‘‘low’’) voltage but they do not work very well […]
Continue reading…

 

Circuit Interfaces :Address and Data Decoders and Multi-Segment LEDs

Circuit Interfaces For a sequential digital electronic circuit to be effective, it has to interface with something. This something could be a person or it could be other digital electronic circuits. If you were to look at different interfaces for either case (human or machine), you will discover that as the function of the circuit […]
Continue reading…

 

Complex Sequential Circuits:Linear Feedback Shift Registers and Hardware State Machines

Linear Feedback Shift Registers One of the most interesting logic devices you can work with is the ‘‘linear feedback shift register’’ (‘‘LFSR’’). It is built from a shift register along with two or more XOR gates modifying the contents of the register as shown in Fig. 9-12. This circuit can be used to ‘‘pseudo-randomize’’ data, […]
Continue reading…

 

Complex Sequential Circuits:Counters and Shift Registers

Complex Sequential Circuits As the saying goes: ‘‘You now know enough to be dangerous.’’ You should be fairly comfortable with working with logic functions and equations, have an understanding of electronics and how to interface logic chips (of different families together), understand the basics of memory and have gone through a number of clocking schemes. […]
Continue reading…