TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2019-08-08 10:49:00
subject: Re: GPIO problem

On Wed, 7 Aug 2019 23:52:56 +0100, Adrian  declaimed
the following:


>
>Not sure which pair of pins, I was looking at the two pins that the
>gauge plugs onto.   Looking at the schematic, it appears to be pin 6 and
>end pin on the inside track at the USB/ethernet end.
>

 Please look up a pin diagram for your model R-Pi.

 On a 3B/3B+, when oriented so one can read the silkscreen text of the
circuit board, the USB/Ethernet ports are on the right, HDMI and power are
on the bottom, and the expansion pins are across the top.
https://www.jameco.com/Jameco/workshop/circuitnotes/raspberry-pi-circuit-note.h
tml
(If you have a recent OS, you can try running the pinout command in a
console https://www.raspberrypi.org/documentation/usage/gpio/ )

 Pin 1 is inside left, pin 2 is outside left, and ALL inside row pins
are odd numbers (1, 3, 5, ...) with the even numbers (2, 4, 6, ...) on the
outside/top.


 The best I can make from your description is that you are on pin 29
(GPIO5) and pin 39 (GND). Note that your code (from the first post) wants
GPIO6 (pin 31)! https://gpiozero.readthedocs.io/en/stable/recipes.html


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

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