TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: ADRIAN
date: 2017-07-29 14:20:00
subject: Interesting problem with

PI 2 running Raspbrian, patched up to date a month ago.

I've been running a Pi2 with a DHT22 temperature/humidty sensor attached
since early June, and initially all was well.  It seems that the Edimax
WiFi dongle stopped functioning (symptom was no network connectivity),
on attempting to reboot, the whole thing stopped working, that looks as
though it was the power supply that died.

I've put another power supply on, and apart from the network connection
still not working, all seemed well, until I looked at what the DHT22 was
doing, running the Adafruit_Python_DHT/examples/AdafruitDHT.py script I
get :

Traceback (most recent call last):
   File "/home/pi/Adafruit_Python_DHT/examples/AdafruitDHT.py", line 41,
in 
     humidity, temperature = Adafruit_DHT.read_retry(sensor, pin)
   File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 94,
in read_retry
   File "build/bdist.linux-armv7l/egg/Adafruit_DHT/common.py", line 81,
in read
   File "build/bdist.linux-armv7l/egg/Adafruit_DHT/Raspberry_Pi_2.py",
line 34, in read
RuntimeError: Error accessing GPIO.


Rummaging around online, I've seen various references to this, but they
all seem to be for new installs, not a problem that has developed.

One thought that occurred to me was that the new power supply (borrowed
from my phone) might not have enough power output for anything more than
the basic board.

Any suggestions on where to look next ?

Adrian
--
To Reply :
replace "bulleid" with "adrian" - all mail to bulleid is rejected
Sorry for the rigmarole, If I want spam, I'll go to the shops
Every time someone says "I don't believe in trolls", another one dies.

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.