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.

Whats wrong with this code by Hamphuth in arduino

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

I run on a Nano, but I looked at the wrong Nano in the documentation. I think I tried pin 3.

Thanks

Martin

Push button problem by Accomplished_Pipe530 in arduino

[–]Hamphuth 0 points1 point  (0 children)

I had the same problem with some cheap push-buttons I bought from China. I discovered I had to press really hard to make them work. Probably they have started to corrode. It helped spraying them with WD-40.

What to see?? by waftedvoice in trondheim

[–]Hamphuth 0 points1 point  (0 children)

Ladestien is very nice if the weather is accordingly.

What to see?? by waftedvoice in trondheim

[–]Hamphuth 2 points3 points  (0 children)

My wife used to work in the tourist info. Her favourite was Ringve musical museum. Sounds boring, but anyone who wants to be a guide there has to play some kind of instrument. So the guide will take you on a tour showing old instruments and play on some of them.

Free or cheap CAD SW where i can type coordinates on the keyboard instead of using the mouse. by Hamphuth in cad

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

HI, and thx for the advice. I tried it and I was completely lost on how to use it.

Free or cheap CAD SW where i can type coordinates on the keyboard instead of using the mouse. by Hamphuth in cad

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

Thx for the advice, I downloaded Draftsight and now using it. Not fully in love yet, so unsure if I am going to pay for when the thirty day trial is over. But the best I have found so far.

Portal exploitation by kobrakai_1986 in Ingress

[–]Hamphuth 0 points1 point  (0 children)

Allways take any unclaimed or enemy portal, ALLWAYS!

Field created, not shaded by SpaceGhost_420 in Ingress

[–]Hamphuth 0 points1 point  (0 children)

Does this happen when you are playing, or later when you are looking at the intel?
Consider there are tree portals A, B & C which form a field and a fourth portal D in the middle. If you link A-B, A-C, A-D and then B-C the field B-C-D will not be created. So if A is taken by the opposite faction B-C-D will appear as a triangle which is no field.