At Fri, 03 May 2019 15:36:29 -0400 [email protected] wrote: > > On Thu, 2 May 2019 13:00:02 -0700 (PDT), > [email protected] declaimed the > following: > > > > >I am outputting three square waves and I need to change the output voltage > >into 5V. Is there any way I can change the voltage? > > > >I use Cloud9 > > > >Here is my code: > > > > Cloud9 and code is irrelevant... This is a hardware problem. > > You can not get 5V outputs from a Beagle without adding additional > hardware. Google "level shifter" > > https://www.sparkfun.com/products/12009 (bidirection) > https://www.adafruit.com/product/1787 (one direction) > https://www.adafruit.com/product/1875 (bidirection) > > Note that most of the bidirectional types are strictly signal level to go > from one chip to another. If you need to then drive larger loads (LEDs) you > may need to add a transistor or high-output buffer between the level > shifter and the load.
If *all* the OP wants to do is drive some load at 5V, an open-collector/open-drain transistor is all that is needed. > > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/20190503194515.E7A1526C0012%40sharky3.deepsoft.com. For more options, visit https://groups.google.com/d/optout.
