gpio voltages
#4
(07-29-2017, 07:02 PM)ealbers Wrote:
(07-29-2017, 08:56 AM)MarkHaysHarris777 Wrote:Never touch more than 3v3 to any gpio pad ; ever !   (blue smoke, instant SoC failure)

Please see the SoC datasheet link provided.

Please see the SoC User Manual link provided.

So say I have a ADC0832, its a 5V piece, it has a Digital out at 5V, whats the best way to read the output?  Resistor in series?  How big?

What about the inputs to the ADC0832, they register voltages over 2 volts as a 1, can I hook the outputs to the ADC0832's inputs??
Thanks!


The correct way to mix 5v and 3v3 logic is to use a level-shifter;  the one in the link is a four channel, but there are also larger ones-- the eight channel is popular.

Essentially the shifter-board has a high voltage reference, as well a low voltage reference.  One side of the board has the high voltage pins, and the other side of the board has the low voltage pins.  

It is ill advised to use a voltage divider resistor network, nor a resistor in series;  especially for ADC and DAC work.  Use proper level shifters always.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )


Messages In This Thread
gpio voltages - by ealbers - 07-28-2017, 08:05 PM
RE: gpio voltages - by MarkHaysHarris777 - 07-29-2017, 08:56 AM
RE: gpio voltages - by ealbers - 07-29-2017, 07:02 PM
RE: gpio voltages - by MarkHaysHarris777 - 07-29-2017, 07:10 PM
RE: gpio voltages - by pfeerick - 07-29-2017, 08:33 PM
RE: gpio voltages - by MarkHaysHarris777 - 07-29-2017, 10:17 PM
RE: gpio voltages - by pfeerick - 07-30-2017, 01:55 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GPIO performance sgjava 0 1,737 10-08-2021, 08:31 AM
Last Post: sgjava
  Using GPIO with OS MikeA23 1 3,625 06-07-2019, 01:22 AM
Last Post: tllim
  read/write gpio in c example? ealbers 1 4,840 07-23-2017, 05:53 AM
Last Post: MarkHaysHarris777
  GPIO and OS Choice fsa317 3 5,439 05-02-2016, 04:30 PM
Last Post: rahlquist

Forum Jump:


Users browsing this thread: 1 Guest(s)