Hi. I've done a little with arduino in the past, but it's mostly been using pre made code (grbl, etc), so starting from scratch is new to me.
I've watched quite a few videos and read some forum threads and I think I've got my head wrapped around the basics of what I'm trying to accomplish. Before I start trying to physically do it though, I would love to double check my idea and make sure it's actually possible to do before I start pulling my hair out trying to piece together the pieces of code I'll need.
What I would like to do on a most basic level is use a potentiometer through an arduino to dim an LED with PWM. I'm planning to use higher power cob LEDS, so I believe I'll have to run the signal through an N channel mosfet to be able to handle the higher power requirements of the LEDs. First issue/question is this light is going to be used for video, so I need to avoid any potential PWM flicker. I think that means, I need my PWM frequency to be at least 10k. I read a discussion and they mentioned using Timer1 library to get a PWM frequency that high. I also know there is a PWM library, but the one video mentioned the upper limit of that library and I don't think it was going to be high enough to get to 10k. So far is this all make sense, possible?
The next level in the final version I would like to expand this out to 5 different channels if you will, each with a pot and mosfet to drive multiple sets of LEDS independently. I believe the nano and uno both have the same number of PWM pins, 6?, and I think the nano actually has more analog pins, so is there any reason I couldn't get all of this to run with a nano? And if I can get this working with 1 potentiometer/mosfet/led, is there any reason I couldn't do it with 5 channels?
comment