Showing posts with label AT90Sxxx Projects. Show all posts
Showing posts with label AT90Sxxx Projects. Show all posts

Monday, March 18, 2013

Control Led Matrix Circuit With AT90S2313 Microcontroller

LED ball physically assembled in a matrix of dimension 20 Rays and 7 LEDs. LEDs are governed microcontroller and two decoder K155ID10. Operating current 80mA decoders, this is enough to connect the LED matrix in the dynamics of directly between the microcontroller and decoders, excluding transistors, the brightness of LEDs is sufficient. The control circuit assembled on two boards, located in the center of the ball, moving away from them rays – soldered in one line cathodes, LEDs, and the anodes are connected by layers of thin wire as a cobweb. This is the figure of the circuit;
 

Before installing the need to bend legs of chips at 90 degrees, solder all the details of one party to the first charge, then at the opposite conclusions to put a second charge and finish soldering. Podpayat supply wires and programming, flash microcontroller and check the output signals. Only then can continue mounting LEDs. To facilitate the work necessary to prepare a template – a hole in the cardboard (plywood, plastic) 7 holes for the LEDs on the same line two centimeters. Then bend cathodes of LEDs 90 degrees right next to their body, insert the LEDs into the template and unsolder beam deflected conclusions. Each of the 20 rays soldered into the board and turn down under the picture. To give the rigidity of the whole structure, anodes maximum distance from the center LED solder together a 10-centimeter segments of tinned copper wire, giving the correct type of construction of the dodecahedron (face-pentagon at each vertex, three edges). Then solder each layer remaining anodes of LEDs and connect each layer to the relevant conclusions resistance. With proper installation will start building a microcontroller embedded in his light effects. For a change, it automatically changes the number of repetitions, speed, brute force effects. This is enough to exclude the interference of the operator. The program is written in a medium BASCOMAVR, if desired in the source code can add or change inherent effects.

read more "Control Led Matrix Circuit With AT90S2313 Microcontroller"

Tuesday, January 17, 2012

Control Running LED Circuit


This running LED or LED chaser is a good project for beginners in the microcontroller technology. It is easy to build, and the assembler program code can be easily adapted. This running LED light has 15 red 3mm LED's. The 15 outputs of ports B and D are used to drive the LED. This is the figure of the circuit.



The LED's light up in a pattern that can be made in the program code, the LEDs run back and forth. With a push button you can select another pattern at which the LEDs runs. There are three running LED patterns which you can run: with one LED, three LED and five LED. The project uses the ATTiny2313 microcontroller but the ATTiny2313 can also be used. The AVR port can draw 20mA current so you only have to place a resistor at the port of the AVR to limit the current to 20mA. The LEDs are connected to ground so when the output of the port is high the LED will go on. The circuit uses a ceramic resonator of 10 MHz as oscillator. When you use ATTiny2313 you can discard the resonator because they have an on chip clock source. The fuse bits can be programmed to run the chip at 8Mhz.The circuit has to be powered with 5V DC regulated.


read more "Control Running LED Circuit"

Thursday, January 5, 2012

Control Stepper Motor Driver Circuit Using AT90S2313P


This is a design circuit for drive a motor. Using this circuit, you can drive a unipolar stepper motor. It operates in full step mode. You can get a stepper motor from an old 5.25 disk drive. The AVR attiny2313 micro controller controls the pulses for the stepper motor. This is the figure of the circuit.



The pulses are amplified by the ULN2003 driver. The driver accepts 5V inputs, the output for the driver is up to 30V so you can connect an stepper motor of up to 30V. With the two push switches you can drive the stepper motor CW or CC. The hardware consist of the AT2313 microcontroller which drives the ULN2003 driver and two push buttons to control the direction. The program code is made with the AVR BASCOM compiler.
read more "Control Stepper Motor Driver Circuit Using AT90S2313P"