You are reading a single comment by @Gustav and its replies. Click here to read the full conversation.
  • Hmm... I would expect that to work, provided it really is 6v DC, not AC (if it was AC, you'd be able to tell pretty fast as the poor microcontroller you were powering with it failing with smoke.

    I would suggest a round of sanity checks - ie, wire it up, but without the microcontroller, manually connect gate to ground, light should now be off, connect to +6v, light goes on. Okay, is my code actually even turning on the pin, or is something silly wrong there? that kind of thing.

  • Alright, i believe you can't drive this lamp with just 6v you need some type of waveform.
    So maybe the lamp is expecting AC but im giving it DC, that could be why it doesn't work i guess


Avatar for Gustav @Gustav started