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.
@tapu:
My suggestion: try to use a better 5V power supply with decoupling capacities (as close as possible to the RTC).
The DS1307 is very sensitive to the quality of its power supply.
Re: Ds3231 RTC: temperature display (mikroC)
Yes, because my post above is a (well-functioning) solution, not a question. I just wanted to help others, so I published it.
Kind mods, please move this to the right place (I couldn't find any better). Thank you.
Regards:
zuisti
On request I wrote a simple and fast function to display the temperature
measured by the Ds3231 internal sensor.
- no any floating operation (integer arithmetic only)
- no any character buffer (each digit is displayed immediately after computed)
From the Ds3231 datasheet:
Temperature is...
As I see this is a hard, very big but nice job. Thanks!
Unfortunately, I don't have the time to watch long videos, but I know they may be useful.
It would be good to see the whole project with the source files (in a RAR).
Kind regards:
zuisti
PS:
I gave you some points on the board (as a thank you)
Hi dahmano;
I wrote such VU meter programs but in mikroC, not in mikroBasic. You can find them here, on the forum ...
However, long ago I wrote VU programs using the Proton Basic (PDS).
Now I upload (only for you :wink:) two versions.
I'm using the Proton Basic also now, but only as a very...
This is an almost impossible "mission", the input pulse is too short.
And ..you know the usual rule:
the transistor (used as a fast switch) should not be driven into the saturation range ...
Hi Garyl;
I advise you to try it in reality. I've readed this somewhere:
In Proteus the T0CON.TMR0ON bit works incorrectly in counter mode (ie if T0CON.T0CS = 1),
but it's working in timer mode (T0CON.T0CS = 0).
Tried also by me, it's true.
My rearranged (and repaired) initialization:
//...
Attached the expanded and improved version 2.1
What's new ..
- Two new projects:
-- the 'one-line' stereo VU meter, in the "ONELINE" folder (see my post #2)
-- On request a 2x10 LED version, in the "16F88_2x10led" folder.
- Fixes:
-- The displaying of the text "lin/log" on the upper LCD...
Hi Andy;
I do not know if it can be, but maybe that will help a little:
https://www.abacom-online.de/updates/Sprint-Layout60_Viewer.exe
Using this you can see and also print the lay6 file.
Hi mcmsat13;
Do you know that the PIC16F628A does not have AD converter but only two analog comparators?
Please study its datasheet.
However, the PIC12F683 has a 4-channel 10-bit AD converter.
zuisti
Hi schmitt trigger!
I think you are more of an 'analogue' man (nomen est omen ;-)). For a long time I was also like you, too ...
Thank you for your kind words.
Welcome to the club (although I am only 73 years old :lol:).
At this time I also built a VU meter, first with discrete transistors, but...
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.