Go to advanced search

by paulv
Wed Jan 11, 2017 7:14 am
Forum: Advanced users
Topic: Bricked pi2b after rpi-update.
Replies: 27
Views: 5231

Re: Bricked pi2b after rpi-update.

This is a Pi 2 Model B V1.1, made in the UK. It has a tiny QR-code sticker on the back with what seems like a date code (28/11) I purchased it in 2016, so it was maybe manufactured on November 28, 2015. The Broadcom chip has this: BCM2836RIFBG, TE154, P10, 544925-22 N3 W The Elpida RAM chip has this...
by paulv
Wed Jan 11, 2017 6:45 am
Forum: Advanced users
Topic: Bricked pi2b after rpi-update.
Replies: 27
Views: 5231

Re: Bricked pi2b after rpi-update.

This was posted in the advance section to avoid getting the obvious shooting from the hip replies... I tend to check the posters credentials before I offer advice, rather than getting my postings score up. If you would check my posts on this forum, you could see that I'm pretty experienced with Gpio...
by paulv
Tue Jan 10, 2017 5:09 pm
Forum: Advanced users
Topic: Bricked pi2b after rpi-update.
Replies: 27
Views: 5231

Bricked pi2b after rpi-update.

I'm putting this in the advanced section for a reason. To qualify, I have more than 3 years of experience with many RPI's, and I'm an electrical engineer by trade, albeit catching-up from wisdom collected decades ago. First of all, the reason I had to revert to rpi-update is because the cifs drivers...
by paulv
Mon Jan 02, 2017 4:36 pm
Forum: Automation, sensing and robotics
Topic: Adafruit DHT temp/humid sensor
Replies: 76
Views: 44692

Re: Adafruit DHT temp/humid sensor

By now this is a pretty old post, but I think still valuable if you are trying to use the DHT11, DHT22 or the AM2302. Previously, I only worked with the DHT22 and the AM2302. Just for the sake of completeness, I installed the spidev driver on the latest kernel, and the only thing that changes is the...
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: 28562

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: 67457

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: 67457

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: 67457

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: 42270

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: 67457

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: 9
Views: 16058

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: 9
Views: 16058

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: 26931

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: 26931

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: 26931

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: 9
Views: 16058

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: 21676

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: 21676

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: 21676

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: 26931

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: 2032

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: 2032

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: 2032

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: 9452

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: 2195

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!

Go to advanced search