TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BIEBER
from: ADRIAN
date: 2019-08-08 19:45:00
subject: Re: GPIO problem

In message , Dennis Lee
Bieber  writes
>On Thu, 08 Aug 2019 10:49:06 -0400, Dennis Lee Bieber
> declaimed the following:
>
>
>>      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
>
>       And just a follow-up comment. Since the sensor connection is GPIO and
>GND, the odds are good that it is relying on a pull-UP (to 3.3V) resistor,
>and the sensor closes/shorts to ground when active.
>
>

That makes sense as the gauge is basically a see saw with a reed switch
to detect when it flips over.

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