I am currently trying to control a simple servo motor using PWM generated by a MCU with a 3.3V output voltage.
However, this servo works with 5V, so I need an IC capable of "converting a 3.3V PWM to 5V". My question is: What are the pros/cons of level shifting an ouput between the 3 methods:
- using a MOSFET
- using an optocoupler
- using a simple 4.7k pull-up to 5V with output of the MCU being open drain.
Many thanks,
Duarte