Skip to content
This repository has been archived by the owner on Jan 14, 2024. It is now read-only.

Spindle PWM level shifting #156

Answered by phil-barrett
avizienis asked this question in Q&A
Discussion options

You must be logged in to vote

I would use the driver +5V to power the level shifter. The driver will filter out the PWM and use the result as an analog control so if the shifter is powered from a lower voltage it will limit the top speed of your spindle (actual_+5V/5). One customer was getting much lower spindle top speed because his +5 came from USB and it was fairly low (4.3V if I recall correctly).

There are lots of ways to level shift. I like the mosfet approach for this as it doesn't lose much, if any, voltage level. Here's an example. You will need to run +3.3V along with gnd and signal, though.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@avizienis
Comment options

@terjeio
Comment options

Answer selected by avizienis
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants