

Here are some fun counter chips in a timer circuit.
At this part will be studied about last part from motor drive train stepper. This circuit basically only to be switching current circuit flowing circumference at motor stepper. Giving sequence of data at this stepper motor can control direction of rotation from this stepper motor. Addition of velocities at motor stepper can be done by the way of increasing giving frequency of data at circuit switching current.
This control circuit later is not connected direct with circumference at motor, power supply circuit, and controlled circuit digitally in the end determines when circumference wanted in condition of OFF or on. Besides only applies transistor switching are, now have been available of driver motor that is of course is destined for motor stepper, more knowledgeable with H-Bridge. This component usually applied at motor stepper type bipolar, even though doesn't close possibility applied at motor stepper other type.
Driver Variable Circuit of Reluctance Motor figure;
Bobbin at motor stepper has the same characteristic with other inductive load characteristic. On that account when there is current passing motor bobbin, cannot be killed at once without yielding a real transient tension height. This condition usually seems to be with incidence firework sprinkling (when using DC motor with big power). This thing hardly is not wanted by can destroy switches causing need to be given addition circuit to limit emerging transient tension. On the contrary when switch is closed hence there is current streaming into motor bobbin and will yield increase of tension slowly.
To limit tension spike is emerging hence there are two alternative of the solution is with parallel at motor bobbin with second diode and alternative is by using capacitor attached by parallel with motor bobbin stepper.
Figure 2;
Diode that is attached by the parallel must be able to overcome current back of happened when open switches. Diode applied cans be in the form of common diode is used like 1N4001 or 1N4002. If it is applied diode is having characteristic 'fast switch' hence need to be given addition of capacitor attached parallel at diode.
Installation of parallel capacitor with motor bobbin can cause spike generated will cause the capacitor charge so that tension spike happened will not go out but damped by this capacitor. But most importantly is this capacitor must be able to arrest surge current at the time of happened spike. Surge current is a real big abrupt current emerging in parallel with tension spike. Capacitor value must be selected at condition of where inductance value from biggest stepper motor bobbin. This is motor characteristic stepper with variable type reluctance where the inductance value is fickle is depended from the aspect of rotation at rotor axis. Addition of capacitor so that precise will form a resonance circuit which can cause improvement of torsion at motor type this.
Driver Uni-polar Permanent Magnet and Hybrid Motor Circuit figure;
Diagrams picture
At picture is only be presented one parts to control one fruit of motor bobbin stepper. There is two alternatives that is by using former buffer or applies FET, what has a real input impedance height, as the switches component. Tension V motor is not must always equal to tension VCC at microcontroller. On that account applied by a buffer component having output open collector so that the output earns in pull-up to tension wanted.
For election base of the transistor is at characteristic IC (collector current). This transistor must be transistor power capable to overcome current as according to current required by this stepper motor bobbin. If current pulled by motor bobbin stepper simply bigger than abilities of transistor hence transistor would quickly hot and can cause the breakdown the transistor.
R pull-up 470 will give current 10 mA to transistor bases Q1. If Q1 had gain 1000 hence current which can be via is around some amperes, depended from big of current pulled by stepper motor bobbin. This current have to be more be small from current IC enabled.
For component FET can be applied component IRL540 which can flow current to 20 Ampere and can arrest back tension until 100V. This thing because of by this FET can permeate tension spike without protection of diode. But this component requires heat sink which is big and must be good enough in the case of absorbs of the temperature. It is better if it is applied capacitor to depress level tension spike generated from transition of switches from on to OFF.
This attached if in a moment we to wish to stop motor stepper, so that enough opening connection rotation clock so desists. Signal clock which in the form of square wave continue functioned for input signal counter. this Circuit applies D Flip-flop as IC core in circuit. From motor input characteristic data stepper, obtained eight different conditions. To create it is required [by] 8 level of calculation signal, and after reaching storey to 8 will return to duck's egg. Eight different conditions obtained from representation with 3 data bit having combination of bit counted 8.
This is diagrams schematic of counter clock signal:
If parallel port didn't support mode bidirectional, we can enter in maximum 9 bit by one time. To do this we can apply 5 port line input Status and 4 input (open collector) from control port. With scheme like at diagrams circuit to status register bit functioned as 4 first MSB bit. Control register becomes 4 last LSB bit. Pin Busy is MSB from altogether and LSB 4 first bit is Select. For mode nibble, will be read 8 bit by using port parallel without changing it into modus back, mean not requiring setting of bit to 5 from control register. This mode was introduced by Hewlett Packard before IBM introduces parallel port which bidirectional.
Stack is a place to save a data to whereas with process saves and takes data to apply system LIFO. For example, register SS and SP makes reference to the place by writing down command SS:SP. The code causes register SS to become segment and register SP contains offset. There are some instruction using stack, between of it is POP and PUSH. PUSH can enter a value into stack and POP will take the value from stack. In processor 8086 measures stack is word (2byte = 16 bits). There is 2 stack register that is BP and SP Stack memory applies system LIFO (Last In First Out), mean data which we save is last will become first data which we release. While, the position of stack will be show by Stack Pointer (SP).
Following is figure stack memory:
Direct related command with stack this pointer is PUSH doing storage of data and POP doing data access. So, first data for PUSH will become last data when doing POP so do on the contrary. Instruction PUSH applied saving to a data to Stack. Example: 'PUSH AX' the function "takes data from tip of stack and enters the value to AX". We need to in view of we cannot give instruction 'PUSH AL' or 'PUSH BL' because AL and BL level of 1 byte (not 1 bit).
This is the example:
MOV AX, 1234H
PUSH AX
MOV AH, 09
INT 21H
POP AX
Terminal value from code is uppers to become 1234H. Other example from code is looking like code is upper is;
MOV AX, 1234H
MOV BX, 5678H
PUSH AX
PUSH BX
POP AX
POP BX
Result of code is upper is AX=5678H and BX=1234H. Initially value 1234H is entered, then 5678H put into Stack. In sequence at order LIFO, 5678H will be released in advance and hereinafter value 1234H released at the next sequence. Address memory applied for allocation stack is in address SS : SP ( Stack Segment : Stack Pointer).
Every instruction PUSH is done, address SS:SP filled in data which will be given PUSH into register, flag or memory (this thing is depend on instruction given), automatically SP is added 2. Change of SP counted 2 because data type kept in stack is word (2 byte).