Skip to content

mrglennjones/plasma2350-tinyfx-pir-fade-in-fade-out

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

This micropython script for the pimoroni plasma 2350/2040, detects motion with the pimoroni tinyfx PIR sensor connected to the Qwic port then fades in a connected led string, it also waits for a few seconds of no motion detection, then gently fades out the led strip.

one small additional feature is that it will interrupt fade-out when motion is detected and captures the current brightness level, allowing LEDs to fade in from the interrupted level back to full brightness.

Requirements:-

The Tinyfx pir sensor comes with a 3 pin connector to connect it to the TinyFX system but i spliced together with a 4pin Qwiic connector using just the positive, negative and yellow wire, leaving the blue one unused)

20241105_141219

About

Fade-In and Fade-Out Interruption with Smooth Resume

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages