Hello, I have some devices (inluding 5V, 6V, 9V,

Hello, I have some devices (inluding 5V, 6V, 9V, and 12V DC) and I want to control it using BBB’s GPIO, but BBB’s GPIO voltage output is only 3.3 V. So I don’t know how to do that, any guy can help me?
Thank you so much!

Check this: https://learn.sparkfun.com/tutorials/using-the-logic-level-converter