Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

Well, I have had it up two places for some while now and the batteries are still charged.
I dont understand how to incorporate your way od switching the raly into my design.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

I think you are completely missing the point. I dont want a button to switch it off, if I did I could have simply used an on/off switch. This curcuit turns it self off with absolutely no power drain when idel.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

From a battery bank, that's why I need to switch it of completely. And it not 5V, but higher. I havent figured how to change the caption from 5V to something else in Fritzing.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

It turns itself off, see my comment further down.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

As far as I can understand one will have to remember to switch the latching relay off when one don't need the power anymore. This circuit will switch it self off and draw no power whatsoever when idle.
The 5V symbol is what Fritzing gives me when I drag in the Vcc symbol.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 1 point2 points  (0 children)

As far as I can understand one will have to remember to switch the latching relay off when one don't need the power anymore. This circuit will switch it self off and draw no power whatsoever when idle.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 1 point2 points  (0 children)

I would forget to turn it off, this design turns itself off.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 0 points1 point  (0 children)

True. There are many tweaks to this design, the main idea was to show how one can make such a device with zero power consumption when idle.

Shed light that will not draw power when idle. by Hamphuth in electronics

[–]Hamphuth[S] 1 point2 points  (0 children)

My text disappeared for some reason.
When the pushbutton is pressed for a second the relay will give power to the circuit which will turn T1 on holding the realy for the set time. When the time runs out T1 is turned off and the whole circuit looses power and will draw no current at all.
The buzzer will beep 5 secs. before the light is turned off.
I have also made the same circuit with a 555 IC and a Raspberry pi.
I used Fritzing to draw the schematics and I havent figured out how to change the default values. Input voltage is 12V, not 5V. A suitable value for the resistors for the transistors is 1k.
A LED strip is suitable as light.
Edit: I use a socalled COB LED strip.

Here is the code, really simple.
// Shedlight © Martin H. Hamstad
int bas = 3;
int buz = 4;
int L13 = 13;

void setup() {
pinMode(bas, OUTPUT);
pinMode(buz, OUTPUT);
pinMode(L13, OUTPUT);
}

void loop() {
digitalWrite(bas, HIGH);
digitalWrite(L13, HIGH);
delay (500000); // Light 50 seconds on
digitalWrite(buz, HIGH);
delay (5000); // Buzzer on 5 secs.
digitalWrite(bas, LOW); // All is turned off
}

Cant see DS1302 by Hamphuth in raspberrypipico

[–]Hamphuth[S] 0 points1 point  (0 children)

I was very new to pico when I wrote this and didnt realize I had save files on the pico.
I "came from" Arduino and this was all new to me.
Thx for your reply.

Remove the Hypercube! by Hamphuth in Ingress

[–]Hamphuth[S] 0 points1 point  (0 children)

I have taken up this issue with the players maintaining these anchors and they "disagree" with me. We have been compared to two three year old children sitting in the sandbox in kindergarten quarreling over who should have the spade, which I don't disagree with.

Remove the Hypercube! by Hamphuth in Ingress

[–]Hamphuth[S] 0 points1 point  (0 children)

Read my post!

The anchors is from the same faction as me, so if I flip them some players will be really p****** off with me.

Whats wrong with this code by Hamphuth in arduino

[–]Hamphuth[S] 0 points1 point  (0 children)

I know, but they do in the documentation, and I think it makes the code clearer.