Guidance on getting 5V Motor Driver working with Artemis 3.3v PWM

I was using the Redboard for prototyping but needed more speed. I purchased the Artemis board without realizing my Motor Driver wouldn’t work with 3.3v coming from the PWM pins on the Artemis.

I’m not real good at circuit design (I’m just a video game programmer) but I think I could use a mosfet to pull the 3.3v signal up to 5, but I assume there would be a delay.

Does Sparkfun offer a solution for this that I can easily wire up?

TY!

What motor driver are you using?

If the driver is only receiving inputs from the Artemis and not outputting anything back to the Artemis, you’re fine to power the motor driver with 5 volts and the Artemis’s 3.3 volt outputs will be OK for the motor driver.

If the motor driver is sending stuff back to the Artemis at 5 volts, you will want to stick a logic level converter between the motor driver and Artemis. [BOB-12009 or [PRT-14765 would work to convert 5V logic down to 3.3 volt logic and protect the Artemis from damage.](SparkFun Logic Level Converter - Single Supply - PRT-14765 - SparkFun Electronics)](https://www.sparkfun.com/products/12009)

Thanks for the reply. I’m using an IBT_2 motor driver. I just manually supplied 3.3v to the motor driver PWM signal pins and it did move afterall. It appears the issue must be my analogWrite call.

The Arduino Redboard code for analogWrite(6, 255) apparently doesn’t trigger PWM pin 6 on the Artemis board. I’ll have to dig into what additional setup is needed for PWM on Artemis boards.