I’m really late to just now be getting on board (no pun intended) with arduino. Until now, I have focused on SBC’s that run a full linux distribution. I just bought an elegoo 37 sensor kit off amazon, and it was only $11 to throw in an elegoo UNO R3.
Just to try it out, I modified the serial output example. Instead of using a potentiometer, I used a 16K ohm photoresistor in a voltage divider circuit with a 330 ohm resistor. When the binary value of the analog read drops below 200, digital pin 13 turns on an LED so you can have some light.
Here’s the setup->