Dear sir, I configured a 5 digit up counter with PIC16F84, 5 seven segments.Once simulated it seems not working. I realize simulation speed rapidly drops low as 1%. Pl concentate on this. I have attached my circuit
for reference.!
Thanks!!
Nandasena agampodi.
Hi.
I can't test the circuit, because you didn't send the .hex file.
And you didn't mention wich simulide version are you using, but looks like you are not using last available version, so i'm not sure what can work for you .
Using transistor at high frequencies can be very slow, specially bjt, mosfet are faster.
But if you don't need the analogic capabilities of transistors, beter use an inverted buffer with open collector output.
It is also better to use a single 7segment configured as 5 displays than 5 separate 7segments, for simplicity and simulation speed.
Attached your circuit with modifications mentioned.
I can't test without hex file, let me know how it works.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2019-08-09
Dear sir,
Thank you very much for your king attention. I am using Simulide version 0.2.9. In the questionable circuit used transistors are all C 828. Here i am forwarding the hex file.
Nandasena agampodi.
It would be nice to simulate your exact circuit, but as i said bjt transistor are very cpu intensive, so it is difficult for simulide to simulate bjt at high frequencies.
In this case you are using transitors just as switching devices, so you can use inverted buffers instead to get the same funcionality and get a much faster simulation.
About simulide version:
The main change from 0.2.X to 0.3.X versions is PIC simulation.
In 0.3.X versions PIC simulation is much better and solved quite a few issues, for example open collector pins ( A4 in PIC16F84 ) not working in 0.2.X.
So you definetly should use 0.3.10 or better 0.3.11.
You can dowload 0.3.10 here: https://sourceforge.net/projects/simulide/files/SimulIDE_0.3.10/
And 0.3.11 here (at end of post): https://www.patreon.com/posts/simulide-0-3-11-25271918
In 0.3.X you can also animate circuit to see wires in red for High digital state and blue for Low state. If you set simulation speed to 100 you can see what is going on on your PIC outputs.
If you want to test your firmware you can use a simplified version of your circuit attached to this post. This circuit is working at 100% speed for me in 0.3.10 and 0.3.11
Dear sir, I configured a 5 digit up counter with PIC16F84, 5 seven segments.Once simulated it seems not working. I realize simulation speed rapidly drops low as 1%. Pl concentate on this. I have attached my circuit
for reference.!
Thanks!!
Nandasena agampodi.
Hi.
I can't test the circuit, because you didn't send the .hex file.
And you didn't mention wich simulide version are you using, but looks like you are not using last available version, so i'm not sure what can work for you .
Using transistor at high frequencies can be very slow, specially bjt, mosfet are faster.
But if you don't need the analogic capabilities of transistors, beter use an inverted buffer with open collector output.
It is also better to use a single 7segment configured as 5 displays than 5 separate 7segments, for simplicity and simulation speed.
Attached your circuit with modifications mentioned.
I can't test without hex file, let me know how it works.
Regards.
Dear sir,
Thank you very much for your king attention. I am using Simulide version 0.2.9. In the questionable circuit used transistors are all C 828. Here i am forwarding the hex file.
Nandasena agampodi.
Hi Nandasena.
It would be nice to simulate your exact circuit, but as i said bjt transistor are very cpu intensive, so it is difficult for simulide to simulate bjt at high frequencies.
In this case you are using transitors just as switching devices, so you can use inverted buffers instead to get the same funcionality and get a much faster simulation.
About simulide version:
The main change from 0.2.X to 0.3.X versions is PIC simulation.
In 0.3.X versions PIC simulation is much better and solved quite a few issues, for example open collector pins ( A4 in PIC16F84 ) not working in 0.2.X.
So you definetly should use 0.3.10 or better 0.3.11.
You can dowload 0.3.10 here: https://sourceforge.net/projects/simulide/files/SimulIDE_0.3.10/
And 0.3.11 here (at end of post): https://www.patreon.com/posts/simulide-0-3-11-25271918
In 0.3.X you can also animate circuit to see wires in red for High digital state and blue for Low state. If you set simulation speed to 100 you can see what is going on on your PIC outputs.
If you want to test your firmware you can use a simplified version of your circuit attached to this post. This circuit is working at 100% speed for me in 0.3.10 and 0.3.11