Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

Circuit not working without reason

2 posters

Go down  Message [Page 1 of 1]

1Circuit not working without reason Empty Circuit not working without reason Sat Jan 15, 2022 8:18 pm

marjan.mrak



Hello,

here is the circuit: https://marjandeveloperelectro.blogspot.com/2022/01/twin-battery-ups-project.html

Now, when I open it again, it just doesn't work correctly anymore. There were no changes on arduino code or circuit itself - it should work as it was.

Apprently, hex and sim1 extensions are not supported so I cannot attach  project and arduino files.

Kind regards,
Marjan



Last edited by arcachofo on Mon Jan 24, 2022 11:12 am; edited 1 time in total (Reason for editing : Mark as solved (geen color).)

2Circuit not working without reason Empty Re: Circuit not working without reason Sat Jan 15, 2022 8:32 pm

arcachofo

arcachofo

Hi.
Apprently, hex and sim1 extensions are not supported so I cannot attach project and arduino files.
You can zip them and attach here.

3Circuit not working without reason Empty Files Sun Jan 16, 2022 3:49 pm

marjan.mrak



Hello,

I really should thought of that myself...

Regards,
Marjan
Attachments
Circuit not working without reason Attachmentaccu switch.zip
You don't have permission to download attachments.
(6 Kb) Downloaded 1 times

4Circuit not working without reason Empty Re: Circuit not working without reason Sun Jan 16, 2022 5:17 pm

arcachofo

arcachofo

Thanks.
This issue is already solved in development version.

But looks that the solution can't fix the error in some cases.
This is the first case I see, it will be very useful to find a better solution.

I'm thinking in a new solution that can fix these issues and potentially simplify the simulation... if I can make it work.
I will let you know here about any progress in this issue.

5Circuit not working without reason Empty Re: Circuit not working without reason Sun Jan 16, 2022 8:26 pm

marjan.mrak



Thank you. Hope to hear you soon.

6Circuit not working without reason Empty Re: Circuit not working without reason Mon Jan 17, 2022 1:32 am

arcachofo

arcachofo

I think I have a working solution.
Some testing needed though.
I will let you know when it's finished.

I tested a modified version of your circuit:
Replaced Resistors as Batteries by 10 Farad Capacitors, so it's more dynamic.
And increased the load so capacitors discharge faster.
And I think it's working beautifully:

7Circuit not working without reason Empty Re: Circuit not working without reason Mon Jan 17, 2022 9:54 am

marjan.mrak



This is the best presentation of a working concept I could ever wish for. Thank you.

I assume, that the code you're working on, isn't available for download yet?

Best regards,
Marjan

8Circuit not working without reason Empty Re: Circuit not working without reason Mon Jan 17, 2022 9:01 pm

arcachofo

arcachofo

I assume, that the code you're working on, isn't available for download yet?
Not yet.
This is a good simplification that removes some possible sources of errors.
But it is a deep change, that affects quite a few things.
So it needs deep testing before it's ready.

9Circuit not working without reason Empty Re: Circuit not working without reason Fri Jan 21, 2022 6:37 am

arcachofo

arcachofo

I assume, that the code you're working on, isn't available for download yet?
Issue was solved at Rev 861.
Available in last Tester builds.

10Circuit not working without reason Empty Re: Circuit not working without reason Sat Jan 22, 2022 9:48 am

marjan.mrak



11Circuit not working without reason Empty Re: Circuit not working without reason Sat Jan 22, 2022 5:40 pm

arcachofo

arcachofo

Thank you, everything works.
Nice to know.

And thanks to you for reporting, this one was very productive.

12Circuit not working without reason Empty Re: Circuit not working without reason Sun Jan 23, 2022 6:32 pm

marjan.mrak



Hello,
I report another example.

This circuit initially worked (triangle waveform output on DAC), but since I switched WE pin from '1' to '0', counter isn't 'counting' anymore.

Reloading the project didn't help.

Regards,
Marjan
Attachments
Circuit not working without reason Attachmentdac.sim1.zip
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times

13Circuit not working without reason Empty Re: Circuit not working without reason Sun Jan 23, 2022 9:11 pm

arcachofo

arcachofo

Thanks.
Issue solved at Rev 886.

14Circuit not working without reason Empty Re: Circuit not working without reason Thu Jan 27, 2022 2:13 pm

marjan.mrak



Hello,

another one. BTW: should I report bugs a new topic for each one, or is it OK this way?

Anyway, zipped project crashes the program, if simulation is stopped and started again. Pausing the simulation, does not cause crash.

Regards,
Marjan
Attachments
Circuit not working without reason Attachmenthd44780.sim1.zip
You don't have permission to download attachments.
(5 Kb) Downloaded 2 times

15Circuit not working without reason Empty Re: Circuit not working without reason Thu Jan 27, 2022 2:23 pm

arcachofo

arcachofo

Thanks, I will have a look.

another one. BTW: should I report bugs a new topic for each one, or is it OK this way?
Better a topic for each bug.

16Circuit not working without reason Empty Re: Circuit not working without reason Fri Jan 28, 2022 2:45 am

arcachofo

arcachofo

Anyway, zipped project crashes the program, if simulation is stopped and started again. Pausing the simulation, does not cause crash.
Crash and Tunnel problem solved at Revs 900. 901.

Keypad values shown in lcd are not correct, not sure if it is a firmware issue or what.

17Circuit not working without reason Empty Re: Circuit not working without reason Fri Feb 04, 2022 8:38 pm

marjan.mrak



I can assure you, that everything is working as planned - except for the crash of the program, of course.

Display did not "react" several times because of delay() call in arduino source code. Arduino was inside delay() while I was clicking keys on keypad.

On the other side, SimulIDE did not crash at all on my "UPS" project, where an LCD was added - it all went well from scratch.



SimulIDE is by far the most usable and useful simulator I have tried. I really hope, that you who made it, are able to enjoy the fruits of your work.

Best regards,
Marjan

18Circuit not working without reason Empty Re: Circuit not working without reason Sat Feb 05, 2022 8:55 am

arcachofo

arcachofo

Yes, now hd44780 example (guess a number) is working ok.
Keypad had a problem.

19Circuit not working without reason Empty Re: Circuit not working without reason Sat Feb 05, 2022 11:57 am

marjan.mrak



Oh, I see. You meant the keypad crashed the program...

I downloaded latest test build and I confirm - it does not crash after re-start of simulation anymore.

Thank you,
Marjan

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum