Art project early stage

Hi Phil

This is a really sensitive movement detector - you might be able to contain its’ range / orientation with some artistic bit of metal …

It is really simple to interface - just takes one pin

machine import Pin
led = Pin(25, Pin.OUT)
radar = Pin(22, Pin.IN, Pin.PULL_DOWN)
detect = False

while True:
    detect = radar.value()
    if detect:
        led.on()
    else:
        led.off()

cheers
Murray

4 Likes