Flight Simulator Backlighting question

I need to build a pcb for backlighting a panel. The PCB will have about forty surface mounted LEDs. The LEDs must be dimmable, but they will all be one color and not individually controlled. One Leonardo would need to control about three of the backlighting PCBs , along with several switches and/or pots to interface with a flight simulator.

I want to power the backlighting PCBs with an external power source, but control the lighting with a PWM pin from the Leonardo. I understand how to build the LED circuit, but I have no idea how to effectively control it with the Arduino.

What are some ways to accomplish that?

You can preferably use a logic level N channel MOSFET transistor to switch the low side of the LEDs.

1 Like

Consider using light pipes or acrylic plastic to distribute the light from 2-3 LEDs.

1 Like

Yes , I’d agree with that . If you use an analog ( PWM) output to drive the FET , the the value you send to that analog output will vary the brightness .

I’d suggest googling FET as a switch plus start with the example in the IDE for analog output .

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.