Author Topic: 5 Minute Timer  (Read 4552 times)

0 Members and 2 Guests are viewing this topic.

Offline dudester_was_hereTopic starter

  • Newbie
  • Posts: 5
  • Country: au
5 Minute Timer
« on: March 11, 2025, 07:47:05 am »
Hi,

I need to power a 5V lighting display for 5 minutes after a momentary button is pressed.
Current draw will be about 240mA.
I have a very tight space 50mm x 50mm x 7mm high !!! 
I know 555's are not ideal at these time spans...
Happy to use a micro like an ESP32 (that will fit) but cant fit a relay in this space...

Any idea's?
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3438
  • Country: au
Re: 5 Minute Timer
« Reply #1 on: March 11, 2025, 08:17:22 am »
Hi,

I need to power a 5V lighting display for 5 minutes after a momentary button is pressed.
Current draw will be about 240mA.
I have a very tight space 50mm x 50mm x 7mm high !!! 
I know 555's are not ideal at these time spans...
Happy to use a micro like an ESP32 (that will fit) but cant fit a relay in this space...

Any idea's?

Maybe the HEF4541, a 2^N binary divider monostable, designed for long times to about 1% ballpark.
 

Offline dudester_was_hereTopic starter

  • Newbie
  • Posts: 5
  • Country: au
Re: 5 Minute Timer
« Reply #2 on: March 11, 2025, 08:20:56 am »
OK, thanks.
Never used those, can you point me in the right direction for a schematic?
 


Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3438
  • Country: au
Re: 5 Minute Timer
« Reply #4 on: March 11, 2025, 08:39:41 am »
OK, thanks.
Never used those, can you point me in the right direction for a schematic?

The TI and Nexperia data have partial schematics.
It is a R.C.R oscillator, with graphs, and you wire phase to set polarity and mode for one-shot.
Pick either a PMOS or NMOS switch for your 5V 240mA load.
 

Online Picuino

  • Super Contributor
  • ***
  • Posts: 1481
  • Country: es
    • Picuino
Re: 5 Minute Timer
« Reply #5 on: March 11, 2025, 08:51:41 am »
Perhaps the CMOS part ICM7555 (similar to NE555) can do the job?

https://www.nxp.com/docs/en/data-sheet/ICM7555.pdf

FEATURES:
   * Timing from microseconds through hours


5-to-30-minute-timer-circuit-7555/



« Last Edit: March 11, 2025, 08:55:39 am by Picuino »
 
The following users thanked this post: dudester_was_here

Online Picuino

  • Super Contributor
  • ***
  • Posts: 1481
  • Country: es
    • Picuino
Re: 5 Minute Timer
« Reply #6 on: March 11, 2025, 09:01:32 am »
Although this could be a good time to learn how to use microcontrollers such as the Attiny85 or the smaller PICs.

https://www.instructables.com/How-to-Program-an-Attiny85-From-an-Arduino-Uno/
« Last Edit: March 11, 2025, 09:08:20 am by Picuino »
 

Offline dudester_was_hereTopic starter

  • Newbie
  • Posts: 5
  • Country: au
Re: 5 Minute Timer
« Reply #7 on: March 11, 2025, 09:03:46 am »
Although this could be a good time to learn how to use microcontrollers such as the Attiny85 or the smaller PICs.

Im fine with micro's'(digital), would much rather do it with a micro actually but I cant fit a relay in the space
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3438
  • Country: au
Re: 5 Minute Timer
« Reply #8 on: March 11, 2025, 09:14:59 am »
Perhaps the CMOS part ICM7555 (similar to NE555) can do the job?
That’s very hard to test, and has poor tolerance.
The 74hc5555 would be a better choice, but Nexperia have EOL on this.
 

Offline fchk

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: de
Re: 5 Minute Timer
« Reply #9 on: March 11, 2025, 09:17:31 am »
I need to power a 5V lighting display for 5 minutes after a momentary button is pressed.
Current draw will be about 240mA.
I have a very tight space 50mm x 50mm x 7mm high !!! 

Switching 5V 500mA low side (minus is switched, plus is permanantly on +5V:
https://www.ti.com/product/de-de/TPS2041B/part-details/TPS2041BDBVR
Use a 10k Pullup on the Enable pin, leave OC open.

Timing:
A small PIC should do the trick:
https://www.microchip.com/en-us/product/pic10f322
Available in 6 Pin SOT23 package.
Power, 100n between VCC and GND, maybe an additional 10u, and thats it.

 
The following users thanked this post: dudester_was_here

Online Zero999

  • Super Contributor
  • ***
  • Posts: 22520
  • Country: gb
  • 0999
Re: 5 Minute Timer
« Reply #10 on: March 11, 2025, 09:17:40 am »
Although this could be a good time to learn how to use microcontrollers such as the Attiny85 or the smaller PICs.

Im fine with micro's'(digital), would much rather do it with a micro actually but I cant fit a relay in the space
Don't use a relay. Use a transistor. There are plenty of MOSFETS which can switch 240mA. For example, the ZVN4306AV is a though hole TO-92 part and is more than adequate.
https://www.diodes.com/assets/Datasheets/ZVN4306AV.pdf
 

Online Picuino

  • Super Contributor
  • ***
  • Posts: 1481
  • Country: es
    • Picuino
Re: 5 Minute Timer
« Reply #11 on: March 11, 2025, 09:24:34 am »
An 8-pin micro is just as large and requires fewer external components (capacitors and resistors) than a 555. It is actually smaller.
 
The following users thanked this post: Ian.M

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2710
  • Country: au
    • Halestrom
Re: 5 Minute Timer
« Reply #12 on: March 11, 2025, 10:00:56 am »
It looks like you're assuming that relays are a microcontroller thing, and that if you don't use a microcontroller then you don't need a relay.  This isn't true at all.

Your timing source can be almost anything (a micro, a 555, a CD4541, etc).  Your 5V output control can be almost anything (a single N-mosfet, a single relay, etc).
 
The following users thanked this post: Someone, Ian.M, dudester_was_here

Offline dudester_was_hereTopic starter

  • Newbie
  • Posts: 5
  • Country: au
Re: 5 Minute Timer
« Reply #13 on: March 11, 2025, 09:54:31 pm »
It looks like you're assuming that relays are a microcontroller thing, and that if you don't use a microcontroller then you don't need a relay.  This isn't true at all.

Your timing source can be almost anything (a micro, a 555, a CD4541, etc).  Your 5V output control can be almost anything (a single N-mosfet, a single relay, etc).

I was, your right.
Rethinking my ways now.

Thank you
 

Offline dudester_was_hereTopic starter

  • Newbie
  • Posts: 5
  • Country: au
Re: 5 Minute Timer
« Reply #14 on: March 11, 2025, 10:27:39 pm »
A small PIC should do the trick
I do like the idea of a PIC though I dont have the programmer.

Just remembered, I do have some arduino nano's somewhere, so maybe just use a nano with  a 2041, should be fine right ?
 
 

Offline fchk

  • Frequent Contributor
  • **
  • Posts: 429
  • Country: de
Re: 5 Minute Timer
« Reply #15 on: March 13, 2025, 10:41:12 am »
A small PIC should do the trick
I do like the idea of a PIC though I dont have the programmer.

Just remembered, I do have some arduino nano's somewhere, so maybe just use a nano with  a 2041, should be fine right ?

The Nanos are huge compared to a PIC in SOT23 size. SOT23-6 is only 2.9mm by 1.9mm for the chip, and you would have two of them, plus two caps and two resistors in 0603 size (1.6mm by 0.8mm). If size matters then this is the way to go. Ok, you need testpoints for the programming interface of the PIC.

A PICKIT3 clone sells for 20$ on Amazon etc.
 

Online PCB.Wiz

  • Super Contributor
  • ***
  • Posts: 3438
  • Country: au
Re: 5 Minute Timer
« Reply #16 on: March 14, 2025, 01:11:12 am »
The Nanos are huge compared to a PIC in SOT23 size. SOT23-6 is only 2.9mm by 1.9mm for the chip, and you would have two of them, plus two caps and two resistors in 0603 size (1.6mm by 0.8mm). If size matters then this is the way to go. Ok, you need testpoints for the programming interface of the PIC.

A PICKIT3 clone sells for 20$ on Amazon etc.

Or, there is this new entrant in the small MCU stakes

https://edacafe.com/nbc/articles/1/2123845/TI-introduces-world-smallest-MCU-enabling-innovation-tiniest-applications

16KB of flash; 12-bit analog-to-digital converter with three channels; six general-purpose input/output pins; and compatibility with standard communication interfaces such as Universal Asynchronous Receiver Transmitter (UART), Serial Peripheral Interface (SPI) and Inter-Integrated Circuit (I2C). Integrating accurate, high-speed analog components into the world's smallest MCU gives engineers the flexibility to maintain the computing performance of their embedded systems without increasing board size....
Starting at US$0.16/1k - comes in WCSP, and also SOT23-8 and SOT23-16 and DFN8 (2x2mm)

The MSPM0C1104 LaunchPad™ development kit is available for US$5.99 on TI.com.


For timing, these new parts have better calibrated RCOSC than older ones, and a lot more flash and peripherals. (eg 12b ADC)

There is no crystal option on the MSPM0C1104, but I see it has a HFCLK_IN option, on all packages and LFCLK_IN on some, for more precise timing.
They are not 5V parts, however, which may limit their applications, parts like EFM8BB50 work 1.8-5.5V and come in DFN12(2x2)
These EFM8 parts have a low tempco LFOSC, well suited to timing.

« Last Edit: March 14, 2025, 02:10:22 am by PCB.Wiz »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->