Go to advanced search

by paulv
Sun Dec 11, 2016 10:25 am
Forum: Media centres
Topic: How-To: Un-geoblock Netflix and cast movies to a TV
Replies: 12
Views: 23230

Re: How-To: Un-geoblock Netflix and cast movies to a TV

Hi Ida,

Glad this post was useful for you.
Unfortunately, I can't help you with the "whitelisting", I have no experience with that.

Success!
by paulv
Tue Oct 11, 2016 7:02 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59486

Re: Is this the correct way to install the watchdog package?

Hi gkoper, Thanks for contributing to this post. My own experience, after several years of working with the RPi's, is that the RPi environment is still very much a work in progress (no, that's a bit too generous, let's call it process). As other users regularly comment, the goal posts seem to get mo...
by paulv
Sun Oct 02, 2016 1:14 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59486

Re: Is this the correct way to install the watchdog package?

Are you on the same software version that I used to report my post? Linux raspi-svr 4.4.9+ #884 Fri May 6 17:25:37 BST 2016 armv6l GNU/Linux If you are on a newer version, you can thank the powers to be for yet another change of the goalposts, and I can't help you at this moment. Maybe somebody else...
by paulv
Sun Oct 02, 2016 12:50 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59486

Re: Is this the correct way to install the watchdog package?

shalvan,

You're not very specific.
What does the status report tell you? Can you post that?
by paulv
Thu Sep 29, 2016 4:07 am
Forum: Automation, sensing and robotics
Topic: HOW-TO Build an Automatic Power Supply for the Pi
Replies: 39
Views: 36780

Re: HOW-TO Build an Automatic Power Supply for the Pi

Hi Haccks, How much it would cost is difficult to say. If you're a hobbyist, you will have most parts already. If not, it really depends on where you live and get your parts from. However, a more modern version is available that can be built relatively easy and not very expensive. Depending on where...
by paulv
Mon Sep 26, 2016 5:21 pm
Forum: Advanced users
Topic: (Is this) The correct ways to install the watchdog package?
Replies: 46
Views: 59486

Re: Is this the correct way to install the watchdog package?

Hi Samweis,

This is most likely the appropriate way of getting the watchdog to behave with systemd.
I found that out using another package, so this is probably the way to go.

Thanks for contributing!

Paul
by paulv
Mon Sep 26, 2016 4:26 am
Forum: Automation, sensing and robotics
Topic: Yet Another Rotary Encoder Solution (Python)
Replies: 8
Views: 12789

Re: Yet Another Rotary Encoder Solution (Python)

If you follow my hardware example and software design for the rotary switch, you need 10K pull-downs. Look at the diagram in the first post of this topic. I used 10K pull-down resistors in this application, because that is the value needed for the optimum de-bounce in combination with the capacitor ...
by paulv
Mon Sep 19, 2016 9:14 am
Forum: Automation, sensing and robotics
Topic: Yet Another Rotary Encoder Solution (Python)
Replies: 8
Views: 12789

Re: Yet Another Rotary Encoder Solution (Python)

Well, you need to remember that the RPi GPIO pull-ups are only about 50K Ohms. They were most likely designed for CMOS applications and the likes, not for hobbyists. For an exercise, calculate the current that flows from a 3.3V supply. You need to be aware of this limitation (a very meager pull-up/d...
by paulv
Sat Sep 10, 2016 7:33 am
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23572

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

Hi maranatha, What you are seeing is the "normal" end of the shutdown (power down) process. In simple terms, the main process thread (0) gets terminated, and that "seems" to cause a kernel panic. Study the last statements on the console. It is OK. You can search this Forum for more information or us...
by paulv
Tue Sep 06, 2016 7:05 am
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23572

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

Just use the part that details the activation of the powerdown overlay to get a GPIO pin that signals the end of the halt/shutdown/powerdown sequence.
by paulv
Mon Sep 05, 2016 10:12 am
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23572

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

maranata,

I suggest you carefully read my post because it has the answer to your question.
Success!
by paulv
Tue Aug 23, 2016 7:28 pm
Forum: Automation, sensing and robotics
Topic: Yet Another Rotary Encoder Solution (Python)
Replies: 8
Views: 12789

Re: Yet Another Rotary Encoder Solution (Python)

Hi Danny, Glad you like it. If you want to add a button, I suggest you have a look at the following post, because depending on your application and environment, adding a simple button seems easy enough, but can be frustratingly difficult. https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=13374...
by paulv
Mon Aug 22, 2016 2:13 pm
Forum: Advanced users
Topic: Characterizing GPIO input pins
Replies: 44
Views: 18230

Re: Characterizing GPIO input pins

Well, it seems you're between a rock and a hard place. If you've followed my post, then you know about the two major issues with RPi.GPIO. There is little you can do about the "OS" glitches, but they don't happen that often. You can avoid the double edge-triggering on the falling edge triggering in ...
by paulv
Mon Aug 22, 2016 7:41 am
Forum: Advanced users
Topic: Characterizing GPIO input pins
Replies: 44
Views: 18230

Re: Characterizing GPIO input pins

Sorry, the way the ISR is written, to avoid the mishaps and issues with the RPi.GPIO code, you have to copy it for every button.
by paulv
Sat Aug 20, 2016 8:13 am
Forum: Advanced users
Topic: Characterizing GPIO input pins
Replies: 44
Views: 18230

Re: Characterizing GPIO input pins

Hi momoaux, Unfortunately, I cannot figure out what it is you need help with. In essence, you need two separate versions of the interrupt service routines (ISR) that check the button presses (one for A and one for B), and use a "main" piece to test for the relationship between them. One way of doing...
by paulv
Mon Jul 25, 2016 7:35 pm
Forum: Beginners
Topic: HOW-TO Start/Stop/Powerdown Pi with 1 Button
Replies: 30
Views: 23572

Re: HOW-TO Start/Stop/Powerdown Pi with 1 Button

Hi belese, Using a voltage divider instead of a zener is fine. (look at the next diagram in the post where I did the same) From this, I assume that you use the first diagram of this post. The fact that the RPi reboots automatically after the powerdown has been requested is not a function of my hardw...
by paulv
Thu Jul 14, 2016 9:11 am
Forum: Device Tree
Topic: poweroff no longer works on GPIO-28-31? [SOLVED]
Replies: 5
Views: 1766

Re: poweroff no longer works on GPIO-28-31? [SOLVED]

Oh Phil, I caused you to waist needless efforts in trying to solve my problem. I investigated the issue on my Model A this morning and tried to replicate it on my B's. They work fine. Turns out, I have a defective Model A. Ports 28 and 29 are shorted to ground. I never, ever assumed this would be th...
by paulv
Wed Jul 13, 2016 6:32 pm
Forum: Device Tree
Topic: poweroff no longer works on GPIO-28-31? [SOLVED]
Replies: 5
Views: 1766

Re: poweroff no longer works on GPIO-28-31?

Hi Phil, There is no such statement anywhere. This is the config.txt file I use to move between my Models (1) A and B, and the Models 2B and 3B. Up until a few weeks ago, this worked. Today, these ports do no longer (seem to?) work. It seems they are pulled to ground really hard, not with the 50K in...
by paulv
Wed Jul 13, 2016 11:59 am
Forum: Device Tree
Topic: poweroff no longer works on GPIO-28-31? [SOLVED]
Replies: 5
Views: 1766

poweroff no longer works on GPIO-28-31? [SOLVED]

[UPDATE] It turns out that GPIO port 28 and 29 on P5 are shorted to ground (3 Ohm and 5 Ohm) on my Model 1 A. Ports 30 and 31 work fine. I have never used these 4 ports, and never noticed any strange behavior on the others on P1. I see no evidence of an issue on the PCB with a strong magnifying glas...
by paulv
Wed Jul 13, 2016 8:15 am
Forum: Advanced users
Topic: using the SCT-013 with the pi via the MCP3008
Replies: 6
Views: 7921

Re: using the SCT-013 with the pi via the MCP3008

I have written a detailed post connecting an SPI A2D convertor (MCP3002) to the RPi, that should give you enough hints to convert to the MCP3008 (which really is overkill for this application). See if this helps to get you on your way: https://www.raspberrypi.org/forums/viewtopic.php?f=37&t=123962 E...
by paulv
Tue Jul 12, 2016 7:35 pm
Forum: HATs and other add-ons
Topic: Pi Power Controller Project (safe reboot anytime)
Replies: 5
Views: 2028

Re: Pi Power Controller Project (safe reboot anytime)

Have a look here : viewtopic.php?f=37&t=145954&p

Or here, depending on your application : viewtopic.php?f=37&t=150358&p

Enjoy!
by paulv
Sun Jul 10, 2016 8:05 pm
Forum: Other projects
Topic: Soft Power Switch
Replies: 4
Views: 1836

Re: Soft Power Switch

Have a look at this post or the references to other ones in it. It may do what you want viewtopic.php?f=37&t=145954

Success
by paulv
Sun Jul 10, 2016 7:39 pm
Forum: Automation, sensing and robotics
Topic: Ultimate rotary encoder switch decoder
Replies: 18
Views: 25560

Re: Ultimate rotary encoder switch decoder

I did one design a while a go too. I think mine is even more simple.
viewtopic.php?f=37&t=126753&p

Enjoy!
by paulv
Sun Jul 10, 2016 7:25 pm
Forum: HATs and other add-ons
Topic: Mausberry 2A Car Switch - Cutting Power Unexpectedly
Replies: 5
Views: 2758

Re: Mausberry 2A Car Switch - Cutting Power Unexpectedly

I think that what you want is described in this post, if not, it will should give you enough information to work from : viewtopic.php?f=91&t=129357

Success!
by paulv
Sun Jul 10, 2016 7:18 pm
Forum: Other projects
Topic: Charging Li-ion cells
Replies: 2
Views: 1054

Re: Charging Li-ion cells

Use the search function of the forum and look for "powerboost" to find posts that will point you to information relative to what you want to do.

Be careful with li-ion cells, if you do not charge them correctly, they have a nasty way of letting you know.

Go to advanced search