Counter not working

spinnaker

Joined Oct 29, 2009
7,830
problem is 1,2,3,4 connections are positive,so how to connect common cathode displays......?
You are going to have to do much, much better than that.


1. Post a full schematic

2. Post your code.

3. Describe in full detail the issue you are having. Not just a part of a sentence.

4. Describe what you have already done to troubleshoot the issue.


Please help others to help you. Don't expect others to put more time into helping you then you are willing to put into describing your issue.
 

spinnaker

Joined Oct 29, 2009
7,830
here it is ...........
i need to prepare this project plz help me......
What help do you need? Post your address and t06fre will fly out to your home and build your project for you. :eek:


Seriously, what help do you need? What have you done so far, what is not working? What have you done to troubleshoot it?
 

Thread Starter

xshax

Joined Oct 24, 2012
11
hi guys please help me in this manner.....i shall be thankful if anyone can give a working counter (hex & diagram).....
 

spinnaker

Joined Oct 29, 2009
7,830
hi guys please help me in this manner.....i shall be thankful if anyone can give a working counter (hex & diagram).....
It is your project, you need to provide that. We are more than happy to help you with any questions but we are not going to do the work for you.
 

Wendy

Joined Mar 24, 2008
23,799
Again, you need to post real pictures of what you have done, simply declaring it does not work is insufficient. The odds are you have done something incorrectly, but if you do not work with us we can not help you.

The odds are if you do not have the patience to troubleshoot your personal work you will not do well in this hobby or profession. Troubleshooting is a large part of the learning curve.

There are no royal shortcuts in learning math. Nor electronics.
 

t06afre

Joined May 11, 2009
5,934
Again, you need to post real pictures of what you have done, simply declaring it does not work is insufficient. The odds are you have done something incorrectly, but if you do not work with us we can not help you.

The odds are if you do not have the patience to troubleshoot your personal work you will not do well in this hobby or profession. Troubleshooting is a large part of the learning curve.

There are no royal shortcuts in learning math. Nor electronics.
It has been some back and forth in this thread and other threads there the OP has posted this problem. But I think some place the OP said that he needed to swap display type from common anode to common cathode or vice versa. That is something we can work on.
 

MMcLaren

Joined Feb 14, 2010
861
problem is 1,2,3,4 connections are positive,so how to connect common cathode displays......?
The author could certainly have done a better job commenting the program, however, if you take time to analyze the code and add some meaningful comments it becomes clear that the program has been written for common cathode displays. Notice that the segment lines (RB6..RB0) are active high and the column or digit lines (RA3..RA0) are active low;

Rich (BB code):
;********************************************************
;  refresh the common cathode displays                  *
;********************************************************

EKRAN
        MOVLW   .5              ; refresh all four
        MOVWF   RAKAM           ; digits five times
        CLRF    PORTB           ; active hi segments off
        MOVLW   .255            ; active lo digit select
        MOVWF   PORTA           ; lines off
GOSTER
	BCF	PORTA,0         ; select 4th digit (RA0)
	BSF	PORTA,1         ;   "
	BSF	PORTA,2         ;   "
	BSF	PORTA,3         ;   "
	MOVF    BIR,W           ; ones, 0..9
        CALL	TABLO           ; get segment data
	MOVWF   PORTB           ; display new digit
	CALL	GECIKME         ; delay 850-uS
	CALL	GECIKME         ; delay 850-uS

	CLRF	PORTB           ; blank the display
	BSF	PORTA,0         ; select 3rd digit (RA1)
	BCF	PORTA,1         ;   "
	BSF	PORTA,2         ;   "
	BSF	PORTA,3         ;   "
	MOVF    ON,W            ; tens, 0..9
        CALL	TABLO           ; get segment data
	MOVWF   PORTB           ; display new digit
	CALL	GECIKME         ; delay 850-uS

	CLRF	PORTB           ; blank the display
	BSF	PORTA,0         ; select 2nd digit (RA2)
	BSF	PORTA,1         ;   "
	BCF	PORTA,2         ;   "
	BSF	PORTA,3         ;   "
	MOVF    YUZ,W           ; hundreds, 0..9
        CALL	TABLO           ; get segment data
	MOVWF   PORTB           ; display new digit
	CALL	GECIKME         ; delay 850-uS

	CLRF	PORTB           ; blank the display
	BSF	PORTA,0         ; select 1st digit (RA3)
	BSF	PORTA,1         ;   "
	BSF	PORTA,2         ;   "
	BCF	PORTA,3         ;   "
	MOVF    BIN,W           ; thousands, 0..9
        CALL	TABLO           ; get segment data
	MOVWF   PORTB           ; display new digit
	CALL	GECIKME         ; delay 850-uS
	DECFSZ	RAKAM,F         ; last cycle? yes, skip, else
	GOTO	GOSTER          ; branch (refresh again)
	RETURN                  ;
Are you using common cathode displays? If so, are you sure you wired the displays correctly?
 
Last edited:

spinnaker

Joined Oct 29, 2009
7,830
I would not spend too much time trying to help the OP until the OP makes some effort to help himself..


Looks like a "one post wonder" to me.
 

Thread Starter

xshax

Joined Oct 24, 2012
11
hi guys this project not belongs to me.......]
i think it belongs to profahmet. brothers i don't want to hijack anyone project.i just wanted to make 4digit counter.so i search everywhere on the internet and i found profahmet project in here.i made it.but it's not working.i need your help to run this.not to find the owner of this project.......



i'm new to here.i don't no how to create a thread and how to reply a thread (that is the reason you people misunderstand me)
 

spinnaker

Joined Oct 29, 2009
7,830
hi guys this project not belongs to me.......]
i think it belongs to profahmet. brothers i don't want to hijack anyone project.i just wanted to make 4digit counter.so i search everywhere on the internet and i found profahmet project in here.i made it.but it's not working.i need your help to run this.not to find the owner of this project.......



i'm new to here.i don't no how to create a thread and how to reply a thread (that is the reason you people misunderstand me)



Once again. You need to help yourself. We will help you with various problems you might have but we are not going to build your project for you.

That is no fun for you anyway. You might as well buy a product off of the shelf.

You will need to get started and define where you are having issues. And it can't be as general as "write the hex code for me". You need to do that and when you have SPECIFIC questions, post back here and we will try to help.
 
Top