For future consideration, here is a graphical programming tool to program
either an Arduino board or Atmel chip. You drag and drop functional blocks
onto canvas and config, like assign what pin is for Power On (5 in this case)
and Power off (6 in this case). The tool then generates the Arduino C code
and programs the board / chip. You can see the code generated expanding
the right hand window.
I used, in this case, Arduino Nano board, ~ $ 2. You can also use basic 8 pin Atmel
chip, but have to use a Arduino board to program it. Slightly more involved
programming setup.
Program is mBlock, free to download.
Using board time delays fairly accurate, and mechanical push buttons are debounced
so no false triggers of relay. Also power up no relay glitching. Board as shown powered
from USB, can power board directly from another source easy to wire up as board has
regulator on it..
Delay to off is set at 10 secs, could be minutes, hours, whatever.
View attachment 162909
Lots of fun, to learn basic programming. Videos on web to learn.
Regards, Dana.
--- Updated ---
This is roughly the lashup -
View attachment 162912
Regards, Dana.
Shown below is what I had in mind. But while a 3-minute delay with a 555 is possible, it requires large values for the timing elements R1 and C1. With such values, you have to be careful to select a capacitor with low leakage and keep the PCB surface clean.Thank you all for your time suggestions and help.
actually I do like to code, but with this task using a controller is not an option.
regarding the questions:
the power supply is a 48 V battery, and I intend to drop it to 12 v or 5 for this circuit.
the load is actually a relay that would activate another circuit, so the final current will be very low.
the delay will probably be about 3 minutes.
I have a general relay that I bought at digikey, will buy a specific relay if there is a need.
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?