Device Control Using Telephone Wireless Stepper Motor Controller
Interfacing Keyboard to 8051 Interfacing ADC to 8051
Interfacing Stepper motor to 8051 Interfacing Seven segment to 8051
C Code To Interface With Parallel Port Printer Port Applications
C Code To Interface Game port Joystick C Code To Run Stepper Motor
Device
Control Using Telephone:
Some technologies like IR remote control are used for short distance applications. In such case if we have system which does not require any radiations or which is not harmful, long remote control switch!! Yes here is the solution. Here I am introducing such a system which does not require any radiations, any laser beam which has no limitation of range, I mean it can be used from any distance from meters to thousand kilometers using a simple telephone line or mobile phone.
Wireless
Stepper Motor Controller:
Stepper motors uses an electrical pulse and converts it into an mechanical movement, with a step sequence. The stepper motors rotate in step angles. Each time when the pulse is applied to different coils with sequence, stepper motor rotates.
The key board here we are interfacing is a matrix keyboard. This key board is designed with a particular rows and columns. These rows and columns are connected to the microcontroller through its ports of the micro controller 8051. We normally use 8*8 matrix key board. So only two ports of 8051 can be easily connected to the rows and columns of the key board.
The output of any sensors which deals with physical equality like temperature, humidity, pressure, viscosity, velocity which are used most of the data acquisition flat forms are in the form of analog signals or continuous signals. Microcontrollers, microprocessors are do nothing with these signals. Because they require the signal in the form of binary numbers. So we should convert these analog signals into digital format. Then here comes ADC (Analog to digital converters) in picture.
Interfacing Stepper motor to 8051:
Normally the stepper motor has a central permanent magnet rotor called shaft, which is surrounded by four coils called stator. This type of stepper motor is called four phase stepper. This type of stepper motor contains six wires, out of these four are used for pulse input and remaining two or common. Either it is connected to ground or +Vcc. To rotate the stepper motor the pulses to four coils are given in sequence and repeating in the sequence.
Interfacing Seven segment to 8051:
A seven segment display has seven LEDs connected in a sequence to give a regular shape and a LED to display the dot for decimal point. It has 10 pins. Out of this two pins are common for all LEDs and remaining are opposite polarity terminals of the LED. When common anode seven segment display is used, two common terminal pins are connected to +5v or logic high state and another terminal are kept at logic low state. Then respective LED glows.
C Code To Interface With Parallel Port:
Program To Obtain Base Address Of Printer Port
Program To Write Data To Parallel Port (Data Port, Control Port)
Program To Read Data From Parallel Port
C Code To Interface Game port Joystick:
Program To Read Joystick Button Values
Program To Read Joystick (X,Y) Co-ordinates
Printer port is the easiest way to connect an external digital
circuitry to the pc. only a few lines of code is required to read the
bit status at the I/O pins of printer port. Following are just some of
the very wide range of applications that can be built using printer
port.
I've gathered and put together enough information for all you people to perform hardware level I/O in VB.
Program To Run Stepper Motor In Half Step Single Coil Mode
Program To Run Stepper Motor In Half Step Double Coil Mode
Program To Run Stepper Motor In Full Step Mode
Program To Drive The Stepper Motor Using Keyboard