Arduino Teensy voltage questions

With my current project, I am planning on using an [Arduino Teensy (the smallest board they have) to control two 12V solenoids. I’m planning on running the solenoids off of a 14.8v lipo battery, so I believe I need to use a MOSFET for each solenoid so I don’t fry my board.

In the wiring diagram I found online for this (pictured below), the MOSFET gets soldered to the [Arduino’s ground, but since the ground is shared with the solenoid’s ground, wouldn’t this send 14.8 volts directly into my Teensy, frying it? I was hoping to use a small 3.4V lipo for the Teensy, but I’m worried about frying the Teensy from the massive brick being used to power the solenoids. Any suggestions or answers are greatly appreciated!](Arduino UNO Price in Pakistan | w11stop.com)](Arduino UNO Price in Pakistan | w11stop.com)

First off, there is nothing ‘pictured below’ in your post.

But, making your grounds common is almost certainly necessary for your circuitry to work.

That’s done all the time and is nothing to worry about.

As long as you don’t attach positive voltage which is above the maximum to your teensy, you’ll be fine.