Home 2018 › Forums › Crumble › Support › Q: Adding light level to my pir/neo pixel crumble setup? › Reply To: Q: Adding light level to my pir/neo pixel crumble setup?
Yes, normally you do need a voltage divider to use an LDR directly with an analogue input, however, the Crumble has 100k pulldown resistors on each of ABC and D, which form the ‘bottom’ part of the divider. Although, depending on the LDR, you might get better results with a 10k resistor, for example.
I can’t think of a reason why you couldn’t use an LDR, Neo pixel ring and PIR sensor at the same time. Unless they are sharing pins, or there’s a dreaded bug!
Powering from the Raspberry Pi hub should be fine.
If you wanted to send me the program, I wouldn’t mind taking a look at it.
All the best,