PIR Input Not Turning On Lamp; Manual Control Works With Slider. #593
Unanswered
Testroadtech
asked this question in
Q&A
Replies: 1 comment
-
The same thing occurs with a Freenove ESP32S3 Cam board, only the LED is the onboard WS2812 on pin 48, and the PIR pin used is GPIO21. The application knows the Lamp is a WS2812 from the board pin definitions, and the slider varied the brightness. Has anyone been able to get the Lamp to light from the PIR pin? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a problem with my Xiao ESP32S3 Sense Camera board not turning on the Lamp pin when the PIR pin goes High. I have the peripherals set to true in the appGlobals.h file, and am using GPIO 2 for the PIR and 3 for the lamp (board pins D1 and D2). [Edit: Checking the schematic, I saw GPIO3 (D2) was also used for the SD card, so I tried GPIO1 (D0), and all the rest stays the same] When I put 3.3v on GPIO2, I can see the user interface "Start Recording" button turn green, and the video records, but the Lamp pin does not turn on. If I change the "How lamp activated" option under peripherals to "Manual", the LED turns on to whatever brightness setting it is set to under Camera control. I can dim or brighten the LED with the slider. I save all setting changes and reboot the ESP, but am not able to consistently get the LED to turn on. I am using a discrete Cree 5mm white LED ( https://downloads.cree-led.com/files/ds/h/HB-C503B-WAN.pdf ), with 3.2 forward voltage and a 10 ohm current limiting resistor to limit current to 20 mA. I have the same symptoms on a second otherwise working board. I also tried adding a 39 ohm resistor in series on one in case 20 mA was too close to max current. No difference in symptoms.
Has anyone dealt with similar issues? I would appreciate the input.
Beta Was this translation helpful? Give feedback.
All reactions