Hi,
I'm using this board and I want to connet a 3 volt pir sensor:
Heevhas 5PCS AM312 Mini Pyroelektrisches PIR Human Sensor Modul DC 2,7 V bis 12 V PIR Infrarot IR
The senso is connected to Ground, 3 Volt and pin 9 / D9 refering ilabs (https://ilabs.se/the-challenger-series/) of the board.
My test code is simple:
import board
import digitalio
import time
pir = digitalio.DigitalInOut(board.D9)
pir.direction = digitalio.Direction.INPUT
zae = 0
while zae < 10:
print(" Pir state?", pir.value)
zae = zae + 1
time.sleep(5)
The result, always false ....... it seems the pin doesn't react on gestures by hand?
Any ideas? With an adafruit board it works?
Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python
Re: Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python
works, changing uf2 file (using latest adafruit-circuit-challenger ...)
Re: Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python
Fantastic, good job.