3x3x3 LED Cube problem

Find out how to setup your programmer's software and how to solve many common problems.

Moderator: phalanx

Post Reply
ranga88
Posts: 2
Joined: Tue Oct 28, 2014 10:59 am

3x3x3 LED Cube problem

Post by ranga88 » Tue Oct 28, 2014 11:15 am

Hi,

I need some help to resolve the following problem iI faced making the 3x3x3 LED cube,

I have built the cube as described on this site http://elbotics.blogspot.com/2011/12/pi ... -cube.html with 16f84a and it worked fine. Then I tried to modify the assembly code to use 16f628a. With the new code cube works for nearly one minute and then it stops at one random LED pattern. Can anybody guess what would be the problem? I used RB0-RB7 & RA0 for LEDs and RA1-RA3 for layers as given in the schematics.

waltr
Support Volunteer
Posts: 2823
Joined: Tue Sep 08, 2009 12:07 pm
Location: Philadelphia, USA

Re: 3x3x3 LED Cube problem

Post by waltr » Wed Oct 29, 2014 7:43 am

Compare data sheets to see what is different between those two PICs.
Use the MPLAB Simulator to debug the code.

ranga88
Posts: 2
Joined: Tue Oct 28, 2014 10:59 am

Re: 3x3x3 LED Cube problem

Post by ranga88 » Fri Oct 31, 2014 8:27 am

Yes, I made some modifications to the code. I simulated it with Proteus. It gave me the following simulation log.
Image

Post Reply