Here is my 3x3x3 LED Cube project. It runs using a PIC16F84A. Each layer of 9 LEDS are connected with all of the cathodes together. The cube is multiplexed, means that only one layer is on at any one time. It happens so quickly so the whole cube looks like it is illuminated.
Circuit:
In my circuit i don"t mention about the power supply you can use a regulated 5v supply for the proper working of the cube.You can substitute the value of the 2N3904 with any npn high current rating transistor.The value of the oscillator(crystal) is 4 MHz.
Crystal Connection
3x3x3 led cube made up of Pic16f84a micro-controller.
can we get the program of this project?
ReplyDeleteyes. plz contact me
Deletehi,my name is skydiver,can we get the program ___hex of this project?
ReplyDeleteK
DeleteContact me albinvadakkekara@gmail.com
DeleteHi sir,i send you a mail but no response.Please give me the hex for your project.Many thanks!
ReplyDeletei will send u frnd now i am in college
DeleteThis comment has been removed by the author.
ReplyDeleteI am still waiting sir...
ReplyDeleteCristi plz look the post i had updated with the codes
Deletefor the cube, i am using 2mA diodes, how many mA is the output current of PIC16F84A-04/p, cause i think that 220ohm resistors are not enough. Can i put on +Udd more than 1kohm resistor ?
ReplyDeleteplz refer this information.
DeleteVoltage on any pin with respect to VSS (except VDD, MCLR, and RA4):-0.3V to (VDD + 0.3V)
Voltage on VDD with respect to VSS:-0.3V to +7.5V
Voltage on MCLR with respect to VSS:-0.3V to +14V
Voltage on RA4 with respect to VSS:-0.3V to +8.5V
Total power dissipation:800mW
Maximum current out of VSS pin:150mA
Maximum current into VDD pin:100mA
Input clamp current, IIK (VI < 0 or VI > VDD):± 20mA
Output clamp current, IOK (VO < 0 or VO > VDD):± 20mA
Maximum output current sunk by any I/O:25mA
Maximum output current sourced by any I/O pin:20mA
Maximum current sunk by PORTA:80mA
Maximum current sourced by PORTA:50mA
Maximum current sunk by PORTB:150mA
Maximum current sourced by PORTB: 100mA.
So i wouldn't burn my LED's ?
Deletei had already build with 220R resistor. I don't face any problem till now.
Deleteit's ok, but your diodes works at 2mA or 20mA ?
ReplyDeleteplease check the circuit once again where you find the diode in the circuit. A 220R resistor is connect blw the led and the ports.
Deleteoh god, I've made a circuit... but i ask you for LED's, are they working on 2 milli amps or 20 milli amps. i know that you put 220 ohm resistors, but if my diodes works on 2mA i will burn them with that low resistance. So i am asking you, how much milli amps your LED's are using.
ReplyDeleteIvan please send tour circuit to me
DeleteYou still don't understand my question.
ReplyDeleteWhat help did i want do for u? I don't get your ques..........
DeleteCan i put on +Udd more than 1kohm resistor. What you mean by +Udd ????
DeleteIvan are you using a 2mA rating leds in your circuit???
DeleteThe Data Sheet says the PIC16F628A, can sink 25ma on each I/O pin. And, the chip can sink a total of 200ma. at any one time.
DeleteIf you connect an LED in series with a 220 ohms resistor to each PortB I/O pin, you will never come close to reaching the 200ma limit. (with each LED circuit tied to +5v, the LED is lit when the controlling I/O pin is at logic LOW, providing a ground path for the LED current {sink current})but if you connect it without the resistor the led will fried before the pic.
yes, i am using 2mA led diodes in my circuit, and i ask you, your your leds, how mA are they rating ?
ReplyDeleteivan wants to know the power rating of the led's you are currently using. Are you using 2mA 20mA or 25mA in your ciruit?
ReplyDeleteIvan im using 20mA led
ReplyDeletethanks. Do i need 2 capacitors of 22 - 33 pF with quartz crystal, cause i don't see them on the scheme ?
ReplyDeleteIvan you need only 2 capacitor of either 22 or 33 pF. I don't add in my circuit. i will update it now
Deleteuploaded the circuit
DeleteIvan if u have any problems plz share with me.....
Deletecan i use two caps of 39pF ?
ReplyDeleteIvan you can use it.
DeleteCan I have the hex_ code for this project?
ReplyDeleteCan I have the hex_ code for this project?
ReplyDeleteI will update the link. You can download from there.
ReplyDeleteplease albin george help me on my project and send me th programme for cube3*3*3 '16f84a' .i sended to u a message on ur gmail . please help me!
ReplyDeletecan we the code program of this proyect
ReplyDeletecan we the code program of this proyect
ReplyDeletePlease send programme code on ivanctr8@gmail.com
ReplyDelete