Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Yes, it was solved in the example of previous code which had not ascii table. This is new version code which includes ascii table conversion and more statement im the İSR.
@pic.programmer ;
please study this code and tell me what is the cause of digit ghosting :( If i try for -12.34 the one or two segment of digit which is with "dot point" are ghosting. Furthermore, if i write 123 to number it is displayed as "12300"
Is it because many conditional operator...
@SunnySkyGuy , yes, i've solved the ghosting problem. It was because of code error. But, there is new concern i do not really understand the current value that flows in my circuit. It is 7mA or 8mA while blinking. Is it too low for 5 digit ? It is DC current but, if each digit's standart working...
You should predict the time between each sequence. It is easy at constant speed if the motor feels no torque. You can measure its speed (at desired level) in one transition region. If it is 2 pole bldc motor, one electrical turn = one mechanical turn so that each interval is 60 degree pi/3...
Here to chr to ascii conversion example after that there must be another function definitions that converts chars to integers, floats,etc. to increase or decrease its values by pressing the buttons.
- - - Updated - - -
Also, there is limited letters or digits can be displayed on 7 segment...
Jayanth ;
Thanks for all your efforts. Actually, different arrays and if condition in the ISR is good idea to display whether digits or letters. But, i am trying to make more compact algorithm. For example :
There is one table which consist of {1,2,3,4,.......,A,b,C,F.......-,.} digits,letters...
pic.programmer ;
Thank you for all your help. Now it is time to display letters on the screen. Do you think that i should update the mask array with writeable letters or do you have any smarter idea for example coded each letter or digit into ascii table or something like that ?
if(byte & mask){
SER_IN_h;
}
else {
SER_IN_l;
}
Compiler gives error when trying to this. Also, if i give 1 to digit it will turn on not inverting setup. So, i change display[0x00,0x00....]
The actual circuit have 2 TLC274
Counter is TC4017 but in the picture i drawn it CD4017 it is not problem
Connection is correct i tested.
TLC274 power is +5.7V and TC4017 and TPIC5b's are +5V(because if i supply TLC274 with +5V outputs are approx. 4.3V)
I've tested TC4017 outputs while RST=0...
Yes, they are TLC274 opamps. I've tested in static conditions. For example, in the beginning i pause the code while rst pin of TC4017 high and measure the pins. Q0 never go high !
I've connect the output of the opamp which goes to TC4017 RST pin into the other breadboard and measured it. It...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.