Showing posts with label sp. Show all posts
Showing posts with label sp. Show all posts
Tuesday, August 26, 2014
SP LED Scanner
Here may be a easy LED chaser simulating a scanner through the rear and forth light-weight result. It used high bright White LEDs to grant the chaser result. The schema uses an oscillator to provide quick pulses and a decade counter to drive the LEDs.
IC1 is intended as an astable multivibrator to grant continuous positive pulses to the last decade counter. Variable resistor VR1, R1 and C1 kind the timing elements. By adjusting VR1, its attainable to alter the speed of the scanning LEDs.
Output pulses from IC1 are fed to the clock input of the last decade counter IC2. Resistor R2 keeps the clock input of IC2 low once every positive to negative transitions of input pulses. this can be necessary as a result of generally the clock input of the last decade counter stays positive and doesnt settle for input pulses.
IC1 is intended as an astable multivibrator to grant continuous positive pulses to the last decade counter. Variable resistor VR1, R1 and C1 kind the timing elements. By adjusting VR1, its attainable to alter the speed of the scanning LEDs.
Output pulses from IC1 are fed to the clock input of the last decade counter IC2. Resistor R2 keeps the clock input of IC2 low once every positive to negative transitions of input pulses. this can be necessary as a result of generally the clock input of the last decade counter stays positive and doesnt settle for input pulses.

LED Scanner Circuit
All the 10 outputs are utilized in the schema to drive the LEDs. Diodes D1 through D10 (IN 4148) do the trick of forward and backward chasing result. Out of the 10 diodes, eight diodes kind OR gates to direct the outputs of IC2 to LEDs. The remaining 2 diodes maintain the brightness of the 2 ungated LEDs. 1st six outputs of IC2 works within the straight thanks to provide the running result.
The diode connected to the pin five of IC2 is connected to the cathode of the diode from pin ten (5th LED). This reverses the running sequence within the backward direction. Output half-dozen drives the fourth LED and also the method repeats up to the 2nd LED connected to output pin2.The reset pin fifteen and also the Clock inhibit pin thirteen of IC2 are connected to ground so IC2 will run freely.
The diode connected to the pin five of IC2 is connected to the cathode of the diode from pin ten (5th LED). This reverses the running sequence within the backward direction. Output half-dozen drives the fourth LED and also the method repeats up to the 2nd LED connected to output pin2.The reset pin fifteen and also the Clock inhibit pin thirteen of IC2 are connected to ground so IC2 will run freely.
Thursday, August 21, 2014
SP How to Make an AVR Perform Multiple Tasks
This article describes a way to create an AVR perform multiple tasks. Beginners who want to urge an in-depth information in AVR assemble language programming will seek this project. The assembly language helps to utilize all the functions and capabilities of the processor. browse on to grasp a lot of.

The most vital and major functionality of an operating system is performing multiple tasks on the CPU. whats being done here is time sharing multitasking which too on an AVR. An Atmega32 is ready up to perform Round-Robin Multitasking. Quasi-parallel execution of multiple tasks is feasible through Round-Robin Multitasking. The tasks are time-sliced and dont seem to be tired parallel.
The project demonstrates how the switching mechanism is finished between seven individual tasks. The RAM is split between the amount of processes that are running. A timer is employed here and a trigger is executed when it reaches a compare worth. the required registers are pushed onto the stack.
Now comes the method of switching between the varied tasks. A backup of the present stack pointer is needed as this helps to spot the previous task that was being executed. concerning fifty bytes of memory is formed offered to store the task index. this is often the stack pointer backup table.
Now suppose, task one is interrupted by the timer, the CPU registers and also the standing registers are pushed. The task index is checked at this time and also the stack pointer of future task is currently obtained. currently this task starts executing and this continues for a number of microseconds till its interrupted. This cycle continues and this provides an effect that every one tasks are being performed parallely.
Subscribe to:
Posts (Atom)