Questions tagged [gpio]

GPIO is an acronym for general purpose input/output. The term is typically applied to a pin on a microcontroller (or other device) that may be changed between an input and output under software control. It can be used for an application defined purpose, as opposed to being constrained to a single designated function.

876 questions
12
votes
3 answers

Understanding GPIO analog and digital

I'm trying to understand GPIO, and have read a bunch of different blog posts and I think I'm close to getting it, but still struggling with a few things. I've seen a few reference to GPIO only being able to work with binary values, but other posts…
pedalpete
  • 223
  • 1
  • 2
  • 6
9
votes
1 answer

What is the structure of a typical 5V-tolerant input?

How do 5V-tolerant inputs work on a (3.3V or lower) device?
joeforker
  • 5,656
  • 10
  • 40
  • 59
9
votes
3 answers

Using GPIO in PC

I've got a simple project on host device that should drive 2 pins with high logic level (voltage 3.3V, 5V or 12V - doesn't matter) and wait for 2 others pins become driven high level by the peripheral device. Can I implement such host device with a…
Andrey Pesoshin
  • 193
  • 1
  • 1
  • 4
9
votes
3 answers

Does driving an microcontroller's GPIO when it is powered off weaken the chip?

We are using the LTC5800-IPM microcontroller in a project. The way our design is now, the IC's GPIO pins will sometimes be driven high (to 3.3V) or low when it is powered-off. Will this weaken the chip? The absolute maximum ratings state the voltage…
BenYL
  • 141
  • 1
  • 9
4
votes
2 answers

Is it possible to add GPIO pins to an old desktop/laptop for use as a development board?

There are many projects online that make use of old computers by turning them into servers etc. I wanted to know if it's possible to turn an old pc/laptop into an x86 development board like the Udoo or lattepanda etc. It looks as if the only thing…
user221238
  • 77
  • 1
  • 5
3
votes
1 answer

Command Line GPIO Access - Pin Types (Orange Pi)

I am trying to set GPIO pins to high and low state on an Orange Pi using the following command: echo 0 > /sys/class/gpio_sw/PA1/data echo 1 > /sys/class/gpio_sw/PA1/data This turns the pin on and off. The /sys/class/gpio_sw/ folder has locations…
Matthew
  • 143
  • 8
2
votes
1 answer

Frequency Sensitivity of GPIO Pins

When reading from a GPIO pin, at what frequency do the crests and troughs of a wave begin to blend together to the point that the CPU can no longer distinguish between them? I assume the answer depends on the CPU and implementation, so to keep this…
Soviero
  • 519
  • 1
  • 7
  • 14
2
votes
4 answers

If making your own microcontroller board, what types of pins may be used as GPIO pins?

If were to make my own microcontroller board, something similar to the Texas Instrument MSP430 Launchpads, what types of pins can I use for the GPIO male header pins to solder to the board? Do they need to be made of special material or have…
keikaku
  • 89
  • 4
2
votes
2 answers

Analog digital pins

What is actually meant when someone says that a pin is digital and it cannot be used as an analog input? Are there any differences at the physical level, that is to say, the analog pin connected to an ADC while the digital pin connected to... what?
perencia
  • 234
  • 1
  • 11
2
votes
2 answers

MOSFET for directly switching 24 Volt loads - any reason not to use the IRL8743PBF?

I am searching for the best solution for using a Raspberry Pi 3 to control a 24 Volt load at modest amperage. It seems like the best choice is the IRL8743PBF because it can be switched to fully-conductive by a 3.3 Volt logic signal and can handle…
SDsolar
  • 1,764
  • 2
  • 15
  • 26
2
votes
2 answers

Question about this diagram

I am very much a software person and a rookie in electronics. I am trying to understand why do we need Diode D1 in the diagram explained in this post: http://www.susa.net/wordpress/2012/06/raspberry-pi-relay-using-gpio/ I understand the need to…
Allan Xu
  • 289
  • 3
  • 11
2
votes
2 answers

GPIO Input Circuit

This is the first time I've done something like this so I'll be happy to get a detailed explanation. First of all could you explain how this circuit works? Second, I have this PCB that I want to change a bit in order to use it to receive a GPIO…
Alex V.
  • 61
  • 1
  • 3
1
vote
1 answer

BCM2835: Why do GPCLEAR0 and GPSET0 behave this way?

I'm coming from this problem where I had the issue that one GPIO write would influence the level of another pin. (GPIO19 would influence GPIO13). When changing the set/clear operation from |= to = the behaviour is suddenly correct: // clear…
Marco
  • 957
  • 1
  • 9
  • 22
1
vote
3 answers

What is gpio bank?

embedded and BSP newbie here. Recently I found a term named "gpio bank", but I cannot find good resources from google. What's it? difference of gpio bank and gpio controller? difference of gpio bank and pin linux kernel code sample: …
Chen Li
  • 115
  • 6
1
vote
1 answer

GPIO on Nvidia Jetson

Currently, I'm working on a Invidia Jetson TX2 dev kit. I'm trying to power a 12V 2A LED from a 3.3V GPIO. My current system uses a 12V relay with an optocoupler (generic Arduino One), but I'm trying to use a transistor instead. Using FQP30N60L…
Moos
  • 11
  • 1
  • 3
1
2