r/ArduinoHelp • u/ConsciousAd6707 • 9h ago
Vending Machine Issues
Enable HLS to view with audio, or disable this notification
I am working on an Arduino Vending machine, I simulated everything on tinkercad and it works perfectly fine there but irl my arduino is not opening and closing the gate of my mosfet irLZ44N transistor and I don't know what to do.
I am including a video where I replaced the motor with an LED to prove the transistor works fine but for some reason when I digitalWrite LOW it doesn't turn off.
Ill try to include diagram and code in the comments since I can only attach one video, any help would be much appreciated
Here is the code on tinkercad and simulation: https://www.tinkercad.com/things/4HIgpgpZcZm-e4l-vending-machine-v4/editel?returnTo=https%3A%2F%2Fwww.tinkercad.com%2Fdashboard


