Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 5 of 5

Thread: Teensy 3.1 PWM output @ 5v

  1. #1

    Teensy 3.1 PWM output @ 5v

    Hi

    My apologies if this has already been answered. Although teensy 3.1 is 5 v tolerant, its output is at 3.3 volts. I am currently using LED buck pucks that require a voltage range of 0 to 5.0 volts from PWM. Any suggestions on how to amplify PWM signals from the teensy (which should have a max of 3.3 volts) to the range of 5 volts? I know this is a rather basic question, but I am a bit of a novice here. Any direction would be appreciated. Thanks

  2. #2
    Senior Member
    Join Date
    Jan 2014
    Location
    London, UK
    Posts
    120
    A simple NPN transistor will do.

  3. #3
    Senior Member
    Join Date
    Jan 2014
    Posts
    179
    Simple solution is to go to Sparkfun.com and purchase a uni-directional or bi-directional level shifter.

  4. #4
    Senior Member
    Join Date
    Nov 2013
    Posts
    720
    +1 for simple NPN transistor solution - level shifter isn't a good solution for this imho.

  5. #5
    Senior Member
    Join Date
    Jan 2014
    Location
    London, UK
    Posts
    120
    Quote Originally Posted by robsoles View Post
    +1 for simple NPN transistor solution - level shifter isn't a good solution for this imho.
    Yeah, the transistor will be cheaper, simpler, smaller and able to carry a larger current.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •