How to use VIN to power load AND Arduino?

I found this setup online to control a motor using a MOSFET with an Arduino:

In my case the external power source is a 9.6v battery. I wired everything up and it works great so long as the Arduino is powered via USB.

However, when I simply added a connection between the + of the battery to VIN of the Arduino (so that I wouldn't need USB power) it stops working and my Arduino heats up a lot.

How do I power the Arduino from the battery properly?

Are you sure you used Vin and not Vcc by accident? And is this all that's connected?

9,6V to Vin should be fine :slight_smile:

Yes, I'm sure. I don't see a Vcc pin on my Arduino. And this is the exact schematic I have.

Ah, yeah, they labeled that 5V on an Uno.

But yeah, 9-10V to Vin should be absolutely fine :slight_smile:

Hi,
Can you post a picture of your project with the 9V connected to the Arduino please.
Unclip the battery ofcourse.

Thanks.. Tom... :slight_smile: