I want to control my car led bulb so that they turn on with a fading effect using the pwm pins on an Arduino.
For context, the led bulb is dual filament so it works as a turn signal and DRL, both sharing their grounds from a single wire.
I have been suggested to use a high side switching circuit instead of a low side as I can only control the DRL (the bit I want the fade effect on) using the positive wire rather than ground.
All the tutorials online however are for low side switching using a N channel MOSFET. I did find a video online that uses a P channel MOSFET only (link attached below) but I have been told that a N channel MOSFET is required to drive the P channel MOSFET with Arduino.
I'm confused in what approach I should take and how I should go around wiring everything together. Please do note that I'm an accounts student and have little knowledge about electronics other than just the basics. MOSFETs are new to me hence why any help will be very much appreciated
• Link to the YT video:
• The LED Bulbs I'm using:
https://a.aliexpress.com/_mMwRJPQ
For context, the led bulb is dual filament so it works as a turn signal and DRL, both sharing their grounds from a single wire.
I have been suggested to use a high side switching circuit instead of a low side as I can only control the DRL (the bit I want the fade effect on) using the positive wire rather than ground.
All the tutorials online however are for low side switching using a N channel MOSFET. I did find a video online that uses a P channel MOSFET only (link attached below) but I have been told that a N channel MOSFET is required to drive the P channel MOSFET with Arduino.
I'm confused in what approach I should take and how I should go around wiring everything together. Please do note that I'm an accounts student and have little knowledge about electronics other than just the basics. MOSFETs are new to me hence why any help will be very much appreciated
• Link to the YT video:
• The LED Bulbs I'm using:
https://a.aliexpress.com/_mMwRJPQ