12 Comments

  1. Luca Bertagnolio
    14. April 2017 @ 15:34

    Grüzi Andreas, good to see your personal blog! And it’s even better to see the teaser to the next video just here!

    Quick question, though I am sure you will address it in your video: what is the USB dongle you have in your RasPi? Is that a remote keyboard + mice combo so that you can access the Raspi GUI?

    I have never used the Raspi GUI much at all, all my Raspis have been headless, and managed via SSH from client machines.

    Happy Easter!

    Ciao, Luca

    Reply

    • admin
      14. April 2017 @ 20:07

      You are right. It is a Logitec keyboard dongle. I used it because I did some tests with shutdown and this was not possible with SSH. I lost the connection too fast and was not able to see, if it worked.

      Reply

  2. Erich Müller
    13. May 2017 @ 8:15

    Hallo Andreas,

    on the fuel gauge display you used seem to be unpopulated parts locations, any idea what these could be and what additional usage would they provide?

    Dank und Gruß aus Darmstadt,
    Erich

    Reply

    • admin
      13. May 2017 @ 8:21

      I just used a pin on the IC (I soldered a wire to that pin).

      Reply

  3. Andreas
    22. May 2017 @ 11:15

    What is the value of electrolytic capacitor used at 14:14?

    Reply

  4. Iain Henderson
    19. December 2017 @ 2:00

    If you wanted an easier way to run some python as a service (one that will run in the background every time). You could create a file called /etc/systemd/system/fan.service containing the following:
    “[Unit]
    Description=Fan Controller

    [Service]
    ExecStart=/usr/bin/python

    [Install]
    WantedBy=multi-user.target”

    After that exists (with path to script referencing the actual path) do:
    sudo systemctl daemon-reload
    sudo systemctl enable fan
    That will cause the script to be triggered at startup with the following starting or stopping the service respectively
    sudo systemctl start/stop fan

    Reply

    • admin
      5. January 2018 @ 16:04

      Thank you for your info. A few of my viewers also pointed me to this concept. I am still a Linux beginner…

      Reply

  5. VALDO LOPES
    4. March 2018 @ 22:01

    Good job! could you tell me this script without the battery part? I use Rasp right in the source and I can not find a suitable PWN script anywhere.

    I’m sorry, I’m still learning

    Reply

  6. Marco
    9. September 2018 @ 12:39

    Hi Andreas,

    What NPN transistor are you using for this setup?

    Reply

    • admin
      9. September 2018 @ 22:46

      I do not remember. If it is an NPN I probably used a 2N2222. But most other small transistors will do.

      Reply

  7. Ricardo
    5. December 2019 @ 13:46

    Hi Andreas,

    After the ‘sudo shutdown -h now’, did you figure out a way to auto-switch the PI on once the power is back?

    Maybe via a diode+resistor from VCC, switching on a NPN between GPIO3 and GND?

    Best regards from Brazil
    Ricardo

    Reply

    • admin
      5. December 2019 @ 14:00

      No, I do not know how to do that.

      Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.