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 ...

learn more… | top users | synonyms

0
votes
2answers
33 views

Rising DC Voltage

I only have 3.3 DC Voltage on the pin of PCB and I want to supply a chip 5V. What are the ways to manage this? PS: The voltage on the pin is always 3.3 V and max current on it can be 50 mA.
1
vote
1answer
24 views

Atmega 328 with DS1620 thermometer chip. Why is a pull-up resistor needed on the DQ line

I think understand the purpose of pull up resistors in general but in this particular case the DS1620 datasheet says that in the output mode it sources a current of 1ma (see footnote 5 on the last ...
-1
votes
1answer
58 views

STM32F103 GPIO not working

I am programming for LPC microcontrollers (mostly LPC1769), for the past few months with success. I decided though to give STM32 series a try. I just received a no-name board using an STM32F103C8 MCU ...
-1
votes
0answers
48 views

Barebones microprocessor module with tons of RAM [closed]

I'm working on a project that needs a barebones embedded processor module with a lot of RAM >4GB. I was hoping to find a ready-made module instead of me having to build the board. I need to keep the ...
2
votes
2answers
119 views

PIC18 GPIO switch from input to output(dual mode)

I have always wondered if it is possible to switch the port direction of the PIC GPIO during the course of the program execution. So, for instance I start with a particular port set as an ...
2
votes
1answer
99 views

Using NPN BJT with a P Channel MOSFET to switch 3.3V to 24V

simulate this circuit – Schematic created using CircuitLab I have some 3.3V I/O on a PC Board. When an output is switched on, I need to switch the 3.3V output voltage with a +24VDC and ...
0
votes
1answer
43 views

Safely connecting signal GPIOs

I'm using an STM32L053 MCU to interface to a poorly-documented PCB module (DRA818V). There are a couple of GPIO driven signals as well as a UART involved, and I want to make sure I'm doing things ...
0
votes
1answer
48 views

How to use 2 power supplies in my scheme?

I am building a device to send a signal from Raspberry Pi GPIO to a vibration motor. Here is how it should work: the RPI outputs 0v or 3.3v, and when it outputs 3.3v, the vibration motor should ...
2
votes
3answers
83 views

Why smartphone IR system uses an IC instead of GPIO?

I have an android based embedded system, and I would like to command ir controlled devices, such as tv, air conditioner, sound system...etc. I need both rx and tx. When I see examples on internet, ...
0
votes
2answers
82 views

Can a logic level converter be used as a replacement for a relay for detecting if a buzzer is currently active?

I have a small microcontroller (VoCore, runs Linux, has wifi and GPIOs) and i want to use it to hook into another system (basically a doorbell) to make the state of the doorbell-buzzer available over ...
0
votes
0answers
47 views

S_axilite port, how to deal with AXI GPIO

I have a block made in Vivado HLS that receives 3 parameters: 1-Map_in which is a matrix of values to be normalized. My objective is to connect it to DDR via AXI DMA 2-Map_out which is a matrix of ...
4
votes
2answers
60 views

Design Considerations for Raspberry Pi Expansion Boards

I am venturing into the space of designing expansion boards for Raspberry Pi's. I have done this for Arduino boards but RPi's are a different beast. From personal experience I have already had ...
1
vote
4answers
78 views

Use GPIO to disable voltage divider

I'm using a voltage divider to read the battery level of a wireless sensor platform using STM32L151. I'm shooting to use 20k for R1 and 10k for R2, to be under the 50k limit of the MCU's ADC ...
0
votes
1answer
54 views

tri-state / high-z / high impedance output with gpio input

The Li-ion charger I'm using (MCP73831/2) has a tri-state status output. The datasheet says that the STAT pin outputs High-Z when inactive or complete, and Low while charging is active. Whats the ...
0
votes
0answers
41 views

Reading analogue input using digital GPIO

I'm using soil hygrometer to measure soil moisture. Since I don't have adc I'm using This method. Please tell me how to connect resistor and capacitor along with amount of resistance and capacitance. ...
1
vote
1answer
88 views

What is drive strength a measurement of?

In microcontrollers and the like that have programmable drive strengths for GPIOs, said drive strengths are defined in mA. For example you might have a choice of 2mA, 4mA, 6mA, 8mA, etc. My ...
2
votes
2answers
64 views

GPIO Input fluctuating between high and low when no input is received

I posted this on the Raspberry Pi StackExchange but I feel as though it might be better suited for here, as the SE is pretty inactive anyway. I've got a fairly simple circuit that I've made where a ...
0
votes
1answer
59 views

DIY Photobooth: LED puck lights potentiometer suggestions

I'm building a Raspberry Pi powered photobooth, and want to add some lighting. I purchased this set of led puck lights, and would love to control their intensity from the Raspberry Pi, instead of the ...
3
votes
3answers
724 views

how to increase the voltage of a digital signal?

I'd like my Raspberry Pi GPIO port to communicate with a digital circuit that works at 2x the GPIO voltage. The communication will be at a relatively high frequency (up to 500kHz). The main question ...
0
votes
1answer
44 views

Transistor Switch to Pull to Ground (Broadcast GPIO)

I have a Sonifex Net-log audio recording device. It can be configured to begin recording on remote input. From the manual: The remote inputs and output can be driven by 5V logic. The inputs are ...
0
votes
1answer
82 views

Raspberry Pi B+ with relay: Lights change but relays don't click

I am using an 8 Relay module, bought from dx.com. It has no instruction manual... This board has 8 inputs (IN1,...,IN8) to control each relay, 1 VCC pin that requires 5V and 1 GND pin. I connected ...
0
votes
1answer
60 views

STM32F051R8: PWM timers don't work?

I'm working with MB1034B discovery board and STM32F051R8 microprocessor. I'm trying to output some PWM pulses using hardware timers. I use this tutorial (for STM32F4xx): ...
1
vote
0answers
61 views

STM32 F205VCT6: GPIO B Port 6 and 7 do not work?

I'm using the STM32 F205VCT6. I have a simple blinking LED program written in C++ with VisualGDB (and VS 2013 Community). It works fine for pins like A1 and E2, but it doesn't for B6 and B7, where I ...
0
votes
1answer
74 views

need for external i/o interfacing like in 8086 for latest processors

I am a student now currently learning about interfacing 8255 with 8086. For me the doubt is that, is there a need for external i/o interfacing like in 8086 for latest processors? what is GPIO ?
0
votes
1answer
61 views

More Current from GPIO

I'm working on a project that uses a GPIO port extender, but I need the ability to sink more current on the GPIO pins. There are 24 GPIO pins. Each pin can either be input or output. The pins ...
2
votes
2answers
223 views

Controlling 10 high power LED with a Raspberry Pi

I'm trying to figure out how to control 10 Luxeon Rebel LED (700mA) from a Raspberry Pi. I want to be able to turn them on and off from code, but I don't need to have two or more LEDs turned on at ...
0
votes
0answers
30 views

Explain to me how values are read with pullup resistors [duplicate]

In the above picutre, it seems to me as if when the switch is open, a voltage of VCC is on the input pin (i.e., voltage comes in through the resistor, to the input pin then back to GND through the ...
3
votes
2answers
412 views

STM32 Understanding GPIO Settings

In STM32 Standard Peripheral library, we need to configure the GPIO. But there are 3 functions which I not sure how to configure them; GPIO_InitStructure.GPIO_Speed GPIO_InitStructure.GPIO_OType ...
1
vote
0answers
130 views

How do I connect a photodiode to a GPIO?

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up. Unfortunately I don't have a part number for ...
1
vote
1answer
70 views

using transistor to switch 3v from 2

i need to use a GPIO pin to test whether an LED is on/off. the LED only has 2v power which is not enough for my digital input (3.3v) so i would like to use a transistor to amplify the voltage from 2v ...
0
votes
2answers
115 views

Solenoid Valve - Transistor or Relay?

bit of an amateur looking for some advice. I looked at the other question concerning my problem but i didn't find what i was looking for. I need to switch ON and OFF a solenoid valve using my RPI. I ...
1
vote
1answer
80 views

problem with LED matrix and raspberry pi

I have a raspberry pi model B+ , and an 8x8 LED matrix(single colored) , so I connected 8 GPIO pins to the 8 row pins of the matrix and another 8 GPIO pins to the 8 colomn pins. Note that I am pretty ...
1
vote
2answers
203 views

AVR and STM32 ARM GPIOs state when IC is unpowered

I'd like to make a device combined two controllers: ATMega64 I already familiar with and ARM Cortex-M0 STM32F051 I'd like to be familiar with. I'd like to directly connect GPIOs of two controllers. I ...
0
votes
2answers
170 views

Is it possible to use SIM900 GPIO to control relays without using external MCU?

From the product manual / reference guide it looks like SIM900 / SIM900A is already equipped with 12 GPIOs. But could not find information on how to use these GPIOs to control relays directly, ...
1
vote
2answers
116 views

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 ...
0
votes
1answer
113 views

Connecting pins of Raspberry Pi GPIO in series in order to turn up the voltage

It's unorthodox and probably not recommended by anyone but, for my project of driving a relay only with scrap parts and on the cheap, I managed to get a 12v relay, but, the GPIO ports on the RPi only ...
0
votes
1answer
71 views

How to remove GPIO ribbon from raspberry pi

This is basically it. I got my new raspberry pi and I got a GPIO ribbon to connect it from the raspberry's GPIO's to a breadboard. Now I am trying to remove the ribbon from the raspberry by just ...
0
votes
0answers
60 views

STM23 and TLK105 Ethernet acts strange

I am conntecting STM32F107 and TLK105 from Texas Instruments and it works fine most of the time. The problem is a very strange behavior such as: - TLK software reset is not done correctly - Reading ...
1
vote
0answers
60 views

Controlling Raspberry Pi GPIO using Javascript [closed]

I am familiarizing myself with the GPIO pins on the Raspberry pi and was wondering what the easiest way to control them would be using HTML and javascript over a webpage. My intent is to have a button ...
0
votes
0answers
125 views

MIPI interface and GPIO differences

There is a possibility to do a connection between an IC that communicate with MIPI interface, with GPIOs of an MCU that doesn't have MIPI inteface? How?
0
votes
0answers
22 views

Murata SMD External Drive Pizeo from SBC

I would like to drive a Murata SMD from a SBC (Arietta G25) with a 3.3v Logic PWM output. I've looked through the Murata catalog and seen the examples however I'm still confused as to how the circuit ...
1
vote
4answers
128 views

Low component count isolated contact closure without power on the remote side

Other answers here show a common way to allow a microcontroller to cause a contact closure (button press) within another device in an isolated fashion: use an optoisolator. I have the reverse ...
0
votes
2answers
56 views

switch that closes when power is on

I'm currently working on a project that makes a device "IoT-ready". So im looking for a switch, which got two inputs and two outputs. When I close the circuit on the one side, it should close it on ...
0
votes
0answers
69 views

Programmatically short GPIO pins Raspberry Pi

For a hobby I'm working on a project connecting a RF remote to the raspberry pi. When I press a button, pin 13 and 14 are shorted on the MCU. When I put a jumper cable between the pins, the remote ...
0
votes
1answer
32 views

Will GPIO still be available when connecting a BoosterPack on any Launchpad?

I had this question in mind while exploring the BoosterPacks for the TI Tiva C series launchpads. Let's say you connected KenTec display to the board, you still have access to the female headers on ...
1
vote
1answer
87 views

The program doesn't work correctly when I toggle the pin via Set and Reset register

I have two program to do the same task. the both should toggle GPIOB0. the first program is this: ...
2
votes
2answers
265 views

Can someone explain to me programming logic behind multiplexing a LED segment display?

I am new to programming embedded systems, so any help is appreciated with my question. My task is to program (in C) a timer that counts up on a 7 segment common cathode display such that it will read ...
0
votes
1answer
58 views

Microcontroller GPIO input voltage limit

I was looking at a datasheet for a microcontroller and noticed that, under its section for GPIO input voltage (p.14), there is no listed maximum for the high input, only a minimum. Does this indicate ...
1
vote
1answer
65 views

Help needed driving an old PIC programmer from Raspberry Pi GPIO

I have been trying to use a Raspberry Pi's GPIO pins to drive an old PIC programmer board that used to have a parallel port connection before I started messing about with it. You can see from the ...
1
vote
1answer
96 views

Why is P9_14 GPIO input using Adafruit's library giving me -1227689624 on my BeagleBone Black?

I know I should really be writing my own GPIO libraries so I know how they work and can fix them when they break, but for now I am following a simple tutorial using Adafruit's GPIO library, which I ...