Controlling LED brightness with a PWM signal to LED driver

So I am still having issues with the setup, and I am now convinced that it has something to do with the N-Channel MOSFET that I am using to turn on and off the LED. If you see the attached schematic, you can see what I am talking about. I have my DVM hooked up as shown and my test sketch is turning on and off the light at about 0.25 HZ. Right now i do not have anything hooked to the dimming pin on the LED driver.

When I hook the driver directly to the power supply, I see +5 VDC at the dimming pin, and shorting it to ground turns off the light (expected behavior according to MeanWell tech support). When I have the driver hooked to the MOSFET switch as shown, I see +5 V at the dimming pin when the light is on (arduino digital pin 2 HIGH), and ~ 23.5 V when the light is off (arduino digital pin 2 LOW)

I have so far burned two of these drivers and two of my arduino PWM pins. Let's just say I'm learning real fast :stuck_out_tongue_closed_eyes:

We will deal with the dimming after I figure out what is wrong with my usage of the MOSFET I guess.

-Brian