I have a theoretical problem that involves connecting 40 IR sensors and 40 lights to a computer to switch lights on and off based on the input from the IR sensors using python. I found the Arduino boards but it's not a scalable solution. Do y'all have any suggestions?

  • a network of Raspberry Pi's all running custom software that does like 20 lights/sensors?
    – Irsu85
    Nov 16, 2022 at 8:23
  • For the networking part through python, you may be able to get help on StackOverflow
    – Irsu85
    Nov 16, 2022 at 8:24
  • USB scales pretty well, have you considered USB IR sensors connected into hubs, a single USB controller can support over 200 devices. Or even just dozens of Arduinos (although I'm not sure if the COM ports can go that high) Controlling 40 lights from one arduino is actually very doable using addressable LEDs.
    – Romen
    Nov 16, 2022 at 15:26
  • I need it to be scalable to like 4000 lights and sensors Nov 16, 2022 at 21:29


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.