TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2018-01-23 13:53:00
subject: Re: My Raspberry Pi3 is d

On Tue, 23 Jan 2018 16:43:21 +0000, RobH  declaimed the
following:


>All of the above commands return 0
>
>I set the direction to IN then did gpio readall which shows the gpio17
>pin as IN and 0 voltage.
>
>Then I connected the positive jumper wire to the 3.3 volt pin, and then
>measured th voltage across the positive and ground wires, which was 3.28
>Volts.

 If the sequence (below) always reports 0, then it would be safe to
presume that the GPIO circuitry is blown (or there is confusion as to which
pin is really being tested). I'm using the -1 option to specify the
physical header pin

gpio -1 mode 11 in
#header 11 jumpered to GND (header pin 9, as I recall, is a ground)
gpio -1 read 11
#should be 0
#now jumper header 11 to 3.3V (header pin 1 or header pin 17)
gpio -1 read 11
#should be 1 -- if it is still 0, dead GPIO circuit

#with nothing connected to header pin 11
gpio -1 mode 11 out
gpio -1 write 11 0
gpio -1 read 11
#should be 0
gpio -1 write 11 1
gpio -1 read 11
#should be 1, if this is 0 a REALLY dead GPIO, as the internal latches
can't hold an output value.
--
 Wulfraed                 Dennis Lee Bieber         AF6VN
    wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

--- 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™.