Archives For interface

Of all motors, step motor is the easiest to control. It’s handling simplicity is really hard to deny – all there is to do is to bring the sequence of rectangle impulses to one input of step controller and direction information to another input. Direction information is very simple and comes down to “left” for logical one on that pin and “right” for logical zero. Continue Reading…

For the seven segment display you can use the LT-541 or LSD5061-11 chip. Each of the segments of the display is connected to a pin on the 8051 (the schematic shows how to do this). In order to light up a segment on the the pin must be set to 0V. To turn a segment off the corresponding pin must be set to 5V. This is simply done by setting the pins on the 8051 to ‘1’ or ‘0’. Continue Reading…

Serial communication is basically the transmission or reception of data one bit at a time. Today’s computers generally address data in bytes or some multiple thereof.  A bit is basically either a logical 1 or zero.  Every character on this page is actually expressed internally as one byte.  The serial port is used to convert each byte to a stream of ones and zeros as well as to convert streams of ones and zeroes to bytes.  The serial port contains an electronic chip called a Universal Asynchronous Receiver/Transmitter (UART) that actually does the conversion.

Continue Reading…