Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python

Use this forum to discuss LoRa and SubGHz related topics concerning the Challenger and Connectivity boards.
Post Reply
pede
Posts: 2
Joined: Fri Jul 05, 2024 6:42 pm

Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python

Post by pede »

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?
pede
Posts: 2
Joined: Fri Jul 05, 2024 6:42 pm

Re: Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python

Post by pede »

works, changing uf2 file (using latest adafruit-circuit-challenger ...)
Pontus
Site Admin
Posts: 31
Joined: Wed May 22, 2024 10:06 pm
Location: Östra Ingelstad
Contact:

Re: Challenger RP2040 LoRa (868MHz) with Adafruit Circuit Python

Post by Pontus »

Fantastic, good job.
Post Reply