Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

using a RTC in SF basic

MrDEB

Well-Known Member
I have a DS-1302 RTC module but how to use it?
I recall Jon Chandler made a vu meter clock but what he used for timing?
Am planning on a clock that has no hands, just LEDs but precision would be nice.
 
I think maybe I can flip the Mosfet over, flatten out the legs, then solder to the board?
I think this might work.
I have new boards being shipped, so will unsolder the MOSFETs and check this out before using a new board
 
Flipping the MOSFET won't work' Need a SOT23 footprint.
researching using an NPN transistor. Want something that will mount directly or will need to CA glue the Mosfets and hardwire?
Beau Schwabe is using NPN transistors as well (post #105)
 

Attachments

  • Screenshot (70).png
    Screenshot (70).png
    186.7 KB · Views: 34
I don't see how, since the pinout is basically the same. Perhaps reading replies to your posts would have avoided this problem?

mosfet vs transistor.jpg
 
After reviewing post#122 etc am contemplating going with multiple boards.
Curious why use the 74hc595 instead of the cd4017?
The two are completely different devices.
The 74hc595 is a shift register with output latches.
The cd4017 is a counter with 10 decoded outputs.
 
This is where I am headed for a clock design using CD4017.
I'm not done with it, but it's where I am headed.
Thinking of connecting ALL the minute cd4017 RESET inputs together?
 

Attachments

  • Schematic_PICTURE-CLK_2024-12-03.pdf
    259.7 KB · Views: 30
This is where I am headed for a clock design using CD4017.

I really, really feel compelled to ask.....

Why do you mention Beau S 's circuit that is simple, straightforward, demonstrated to work AND allows you to display any pattern you want on the LEDs, then decide to create your own fakata circuit that if it does what you expect (it won't – what's the source/sink current of the CD4017?) will allow you to show exactly two LEDs at a time in a fixed pattern?

Your copy&paste™ technique may work (poorly) for software, but it gets expensive quickly when applied to hardware.
 
Last edited:
One big reason is simplicity. Never worked with the 74hc595.
My plan is to use porta.(x) as the clock input to the cd4017. Sounds simple??
Going to order some cd4017 and breadboard the proposed circuit.
Yes I need to calculate current draw etc.
 
My plan is to use porta.(x) as the clock input to the cd4017. Sounds simple??

No. It sounds dumb. Stupid in fact. Destined to failure. With a 5 volt supply, the CD4017 can source or sink ONE (1) mA.

But do as you please. You seem to like making scrap boards.
 
One, and only one, of the ten outputs from the CD4017 will always be on.

So, one LED of the 1_10 group will be on. and one of the 11_20 group will be on, and so on for all of the ten led groups feed from a CD4017.
 
One, and only one, of the ten outputs from the CD4017 will always be on.

So, one LED of the 1_10 group will be on. and one of the 11_20 group will be on, and so on for all of the ten led groups feed from a CD4017.

I'm thinking he only wants one LED for minutes and one for hours although his current scribblematic won't accomplish that.
 

Latest threads

New Articles From Microcontroller Tips

Back
Top