Go to advanced search

by PieterG
Tue Jan 12, 2021 1:41 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

It appeared to be working on my breadboard and I moved on... So I burned my fingers... Decided to have one PCB with an added button next to the N2222. So there also can be a "kill all at one push of a button".. just because it can be done.. This PCB will get its own pins and ends up with i...
by PieterG
Mon Dec 07, 2020 1:53 pm
Forum: Beginners
Topic: Grateful for all the support - I would like to learn more
Replies: 26
Views: 1108

Re: Grateful for all the support - I would like to learn more

Thanks for all the input, the kiddy thingies I think I am beyond ... a little about my present skills. I can do a little soldering, yes with the occasional fingerburns.. but it works. I know to use metal clamps on some parts to lay off the heat of the soldering iron.. I can read some schematics (hav...
by PieterG
Thu Dec 03, 2020 3:03 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

Great thanks! making my drawings en creating the parts list as I write this..

Update: Nice, we can order all online but with Covid and X-mas delivery took a while. I finally received the parts and can go burn my fingers soldering all together...
by PieterG
Wed Dec 02, 2020 4:06 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

Oh wow, that many? Ha, I will never have that many.. 240 pi's in a row sounds like I try bitcoin mining with a bunch of PI's don't think I will ever grow rich. So in either way If I have 10 Pi's in both serial/parallel or full parallel that would not hurt the 2N2222 transistor in any way? (and I lea...
by PieterG
Wed Dec 02, 2020 2:46 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

As creating it all in parallel allows a more consistent setup, also when more PI's get added in the future I prefer parallel.. But with series of three I can So each opto coupler a 390 Ohm resistor it is then. As the 5V pin has max recommended current draw of 1A, in theory I can have a huge lot PI's...
by PieterG
Wed Dec 02, 2020 1:17 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

I was in the pumping business once.. fresh water supply and sewage.. Valves, reducers and such.. symbols are somewhat similar ;) I was figuring if all needed to be in parallel would the resistor in all cases be 390 Ohm? Or would there some rule of thumb when it comes to these values? schemeP.jpg Sor...
by PieterG
Wed Dec 02, 2020 12:36 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

Thanks for your help. I am trying to grasp the schematics. What I see is that the first three are triggered by transistor tied to pin 21. But the series of two and the one single.. Shouldn't they be switched from pin 21 as well? As I see the two and one are 'on' without the transistor. But then agai...
by PieterG
Wed Dec 02, 2020 8:15 am
Forum: Beginners
Topic: Grateful for all the support - I would like to learn more
Replies: 26
Views: 1108

Re: Grateful for all the support - I would like to learn more

Thanks! lucky that book is available in Dutch as well (though wonder why Gordon McComb is not on the Dutch cover). I will see If I can find it in our library see if my brain is up to it... Then I'll buy a copy of my own :) The mag-pi's I need to check too.. but they look more or less like the LEGO i...
by PieterG
Tue Dec 01, 2020 9:33 pm
Forum: Beginners
Topic: Grateful for all the support - I would like to learn more
Replies: 26
Views: 1108

Grateful for all the support - I would like to learn more

I like the efforts of all members helping me and others out with my and their issues. I am ok with scripting and all, but electronics itself is beyond my knowledge other than the average battery powered flashlight ;) I can read some schematics, I can build a circuit from there but I lack the knowled...
by PieterG
Tue Dec 01, 2020 7:46 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

One is USB connected to a UPS. (APC BU700GR) Just as a sanity check, you should already be aware that APCUPSD offers both client and server roles - or master / slave modes - where if installed on all three Pi's, with 1x server role and 2x clients - APCUPSD when correctly configured will ensure safe...
by PieterG
Tue Dec 01, 2020 7:19 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

Oh wow! Thanks! This is awesome. And I had to read a lot about the opto couplers.. new technology for me but that's the three leds you are mentioning. A lot of it is pretty new for me. But I now understand.. the "switch" at the other "end" is triggered by light of the led. Learne...
by PieterG
Tue Dec 01, 2020 3:21 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

Oh sorry I missed that.. all at the same time is ok..

I need to Google "opto isolators" ;)

Tx,
by PieterG
Tue Dec 01, 2020 3:12 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

Re: remote shutdown using pins

yes.. each PI has a small display and a button display shows status button is connected to both boot the PI and also to halt it. With diodes added to protect the display. Don't mind my soldering skills.. I know it could be better.. oh and two limbs of the button where cut off ;) to keep it as small ...
by PieterG
Tue Dec 01, 2020 2:42 pm
Forum: Beginners
Topic: remote shutdown using pins
Replies: 21
Views: 523

remote shutdown using pins

I combined two projects into one and like to add some more interesting features. https://www.instructables.com/Simple-Raspberry-Pi-Shutdown-Button/ https://www.thingiverse.com/thing:3022136 I now have three PI4's in a row, more to follow... One is USB connected to a UPS. (APC BU700GR) APCUPSd is ins...
by PieterG
Sun Nov 01, 2020 11:57 am
Forum: Beginners
Topic: turn off fan by shutdown only
Replies: 12
Views: 2107

Re: turn off fan by shutdown only

@Botspot

But it won't start on GPIO anymore.

For those adding a button to start stop on GPIO this will not work.
by PieterG
Fri Oct 16, 2020 7:30 am
Forum: Beginners
Topic: Maximizing the lifetime of an SD card
Replies: 22
Views: 936

Re: Maximizing the lifetime of an SD card

I am more interested in the 50 codelines, why not just share it here?
by PieterG
Thu Oct 15, 2020 12:42 pm
Forum: Beginners
Topic: act_led_trigger=> question
Replies: 2
Views: 149

Re: act_led_trigger=> question

Ah.. yes.. that is too much 'dev-talk' for me...
You are saying it is cpu activity is that right? But isn't that where the values cpu0-3 stand for?

What I am trying to figure is how to have it flash on USB storage activity. Like it was on SD activity.
by PieterG
Wed Oct 14, 2020 6:03 pm
Forum: Beginners
Topic: act_led_trigger=> question
Replies: 2
Views: 149

act_led_trigger=> question

In my setup I have a led blinking on activity dtoverlay=pi3-act-led,gpio=17 dtparam=act_led_trigger=mmc0 That was when I still booted and ran all from the SD card. Now I ported all to a USB boot (and improved performance tremendously) But I wonder, I read this: https://raspberrypi.stackexchange.com/...
by PieterG
Thu Jun 04, 2020 9:08 pm
Forum: Beginners
Topic: 64 bit OS for Raspberry PI 3 and 4 but...
Replies: 5
Views: 829

Re: 64 bit OS for Raspberry PI 3 and 4 but...

Ok. Now I feel better, but still stupid. ;)

Thank you all for clarification.

I see the Beta is OS dektop, I assume there will be a Lite in due time.
by PieterG
Thu Jun 04, 2020 8:36 pm
Forum: Beginners
Topic: 64 bit OS for Raspberry PI 3 and 4 but...
Replies: 5
Views: 829

64 bit OS for Raspberry PI 3 and 4 but...

I wonder.. the 64bit OS beta is available for download.

But now I feel stupid, and probably am too, what is the arm_64bit setting for previous raspbian then?
I thought that already was loading a 64bit OS? (by the way, I am only running raspbian lite)

Ready to learn here... as I feel very noob now.
by PieterG
Wed May 20, 2020 1:08 pm
Forum: General discussion
Topic: Raspberry Pi 4 USB mass storage beta (beta means it not ready yet, and not officially released!)
Replies: 282
Views: 105358

Re: Raspberry Pi 4 USB mass storage beta

USB sd-card readers will generally give worse performance than booting from the card directly but it's a useful quick test
So then, if I re-burn the SD card image to a USB3 thumbdrive after having done the short list, this should work too right?
by PieterG
Wed Apr 29, 2020 1:05 pm
Forum: Troubleshooting
Topic: Ethernet connection on PI4 stops every now and then
Replies: 3
Views: 291

Re: Ethernet connection on PI4 stops every now and then

Since today seems to be a very bad day... yesterday it seemed a dozen drops an hour.. now it seems to be a continuous series of up/down. The PI4s seem totally unavailable. As a test I reverted one PI4 from 64bit to 32bit. This one PI4 reverted to 32bit seems to be able to keep up the ethernet connec...
by PieterG
Tue Apr 28, 2020 7:50 pm
Forum: Troubleshooting
Topic: Ethernet connection on PI4 stops every now and then
Replies: 3
Views: 291

Re: Ethernet connection on PI4 stops every now and then

Thanks for your reply. this is the output on Pi4 # uname -a Linux host.name.com 4.19.97-v8+ #1294 SMP PREEMPT Thu Jan 30 13:27:08 GMT 2020 aarch64 GNU/Linux # /opt/vc/bin/vcgencmd version Feb 12 2020 12:36:21 Copyright (c) 2012 Broadcom version c3c8dbdf147686fb0c3f32aece709d0653368810 (clean) (relea...
by PieterG
Tue Apr 28, 2020 3:13 pm
Forum: Troubleshooting
Topic: Ethernet connection on PI4 stops every now and then
Replies: 3
Views: 291

Ethernet connection on PI4 stops every now and then

I read https://www.raspberrypi.org/forums/posting.php?mode=reply&f=28&t=271305 and it may be similar it may be not. Therefore a new topic. In short: the Ethernet Connection to my raspberry PI4's is stopping every now and then. In a long explanation I will explain the setup. I have 3 RPI4s ru...
by PieterG
Thu Apr 09, 2020 10:54 am
Forum: Beginners
Topic: Run a python script when RPi is told to reboot/halt
Replies: 5
Views: 1726

Re: Run a python script when RPi is told to reboot/halt

I am trying to do the same thing. In my .service script I have [Unit] Description=show halt message ín display Before=shutdown.target reboot.target halt.target [Service] Type=oneshot RemainAfterExit=yes User=root Group=root ExecStart=/bin/true ExecStop=python3 /home/pi/halt.py & [Install] Wanted...

Go to advanced search