Questions tagged [output]

Output refers to any PHYSICAL output from the Raspberry Pi. There are four main outputs: GPIO, HDMI, RCA and Audio.

Filter by
Sorted by
Tagged with
58
votes
12answers
337k views

Why is my audio (sound) output not working?

I can't get the audio running. I don't hear anything and can not play anything. Is there a solution to enable audio?
1
vote
1answer
32 views

Can Rpi GPIO pins be used to drive a DC motor? [closed]

I tried to GPIO pin to high and I cannot see output voltage. I try every solution but no one works for me. import RPi.GPIO as g g.setmode(g.BOARD) g.setup(16, g.OUT) g.output(16, g.HIGH) I look GPIO ...
3
votes
2answers
5k views

Can't set output to 4k 60hz on Pi 4

What I've tried: Setting "4Kp60 HDMI" I did this in the GUI config application and rebooted. Also tried disabling it and then enabling it in the config.txt and rebooted. Installing updates My ...
2
votes
1answer
80 views

Why is pull up resistor preferred over pull down for the matrix keypad?

I'm programming the in- and outputs of a 4x4 matrix keypad for the RPi in order to print the pushed key's value (a letter). In order to (first) read which row was pushed, the tutorial tells me to ...
0
votes
1answer
20 views

Outputting RPi video into a laptop

I've been researching on how to get my RPi video output to show up on my laptop. Space requirements dictates that using an external monitor is extremely cumbersome, and since I'm not using my home ...
0
votes
1answer
49 views

GPIO Output Pin Reverse Current/Higher Voltage

I have a device with a built in voltage divider and opto-isolator. I need to send a pulse to from the RPi GPIO output to the input pin in the circuit. The output from the optic-isolator goes to an ...
1
vote
2answers
53 views

do RPi3 3.3/5V pins output constant voltage even if the RPi power supply is changing voltage?

I want to power my RPi with a lithium ion battery. The RPi will be powering some devices which require constant voltage to power them. If I use a battery as supply for the RPi (which changes as it ...
2
votes
1answer
7k views

How to set a GPIO pin to default HIGH before setting it to output?

I have a raspberry pi connected to a Sainsmart 4-channel relay, where each relay is activated by a LOW signal. When I set a GPIO pin to output, it defaults to LOW, which of course activates the ...
0
votes
0answers
25 views

raspberry pi zero I2S record and playback

I am following this answer to enable both audio record and playback on RPI zero. My question is: dose the files ~/.asoundrc and /etc/asound.conf conflict each other? Sorry, I should just comment ...
2
votes
1answer
5k views

I2S Recording combined with I2S Playback

I have a Raspberry Pi Zero and I am using the Adafruit I2S MEMS Microphone together with the ADAFRUIT I2S 3W CLASS D AMPLIFIER BREAKOUT - MAX98357A. I did follow the two respective tutorials and I ...
1
vote
0answers
32 views

Raspberry Pi has no GPIO Output

my raspberry pi 3B+ hast the latest Buster Update(Installed 23.03.2020). When I measure the GPIO output I get with at the 5V pin around 0.025V of output and at the 3V pin the multimeter says 0V. I ...
1
vote
1answer
94 views

PedalPi, lag when piping in data

I am modifying a pedal pi (link here). I split the input program from the output program. For simplicity right now, that all it does. The standard out from my input program is being fed to the ...
0
votes
1answer
211 views

Usb sound device to 3.5mm output real time

I have a raspberry with a usb mic. I want to stream realtime the mic input to the 3.5mm output. Is this possible?
0
votes
0answers
25 views

GPIO push button popout webpage

I have a project that I connected a push button to RPi 4's GPIO, and if I push the button it writes out "Button pushed". I wrote this code in python. Now I want this code to run in a webpage. So I ...
2
votes
1answer
75 views

No display output if I start raspberry pi and then start the monitor

If I switch on monitor first then switch on raspberry pi, it works fine. But if I switch on raspberry pi and then monitor or switch on both pi and monitor simultaneously no display is shown on monitor....
2
votes
1answer
66 views

Can I input/output an 8 bit parallel byte on eight pins simultaneously with Java?

Want to output 8 bits of parallel digital info on 8 pins of a 3B+ simultaneously. Input also. Java.
29
votes
3answers
8k views

How can I use the GPIO pins as digital outputs?

I've read that the Raspberry Pi has a number of input and output pins. How can I switch them? (from Python?) What voltage logic? Do I need pull-up or pull-down resistors? Do I need to switch the pins ...
14
votes
4answers
15k views

How do I attach two monitors in a dual head configuration?

I'm considering buying a Raspberry Pi or compatible solution. My problem is that I could not find how to achieve a dual head configuration. I would like to attach two 1920x1200 displays by digital ...
0
votes
0answers
146 views

Audio Output for RPi 3 Mobel+

Very simple question. If I do this: Navigate to your screen. Select "Manage Screen". Select "Advanced". Set "Audio Output" to "3.5mm jack". Press "Save". Would I be able to listen to music via USB ...
0
votes
2answers
209 views

BCM 12 broken on RPI 3?

I'm having trouble using one of the GPIO pins. When trying to use BCM 12 (PIN 32 in BOARD mode, name: GPIO26) as an output, I get the warning: RuntimeWarning: This channel is already in use, ...
9
votes
10answers
46k views

No video on HDMI?

I just got my Raspberry Pi in the mail, and went to hook it up to my TV with an HDMI cable. I plugged in the cable (known to work with my cable box), a keyboard, and then power. A light comes on the ...
1
vote
1answer
271 views

Turn on Raspberry Pi 3b monochrome display output

As the title said, I want to switch the Raspberry Pi 3 model b to a monochrome display output.
10
votes
2answers
3k views

What are the pros and cons of connecting to a VGA monitor?

I can either get a passive RCA (Composite video) to VGA, an active RCA to VGA or an active HDMI to VGA, but which? What I want to know is: How does the quality compare between them (as in not ...
8
votes
2answers
1k views

How can I move the terminal?

For some reason my TV is cutting off about 4 or 5 characters from the screen of my Raspberry Pi. I am using Raspbian, but it occurred with Arch as well. Could it be that I have an HDMI to Component ...
2
votes
0answers
958 views

How can I get my new Raspberry Pi 4B to output 1080i video

I finally got into the Pi world with a model 4B. I've updated it to Raspian/Buster and have the network working (wireless and wired - but just using wireless right now). I'm running it using VNC-...
2
votes
1answer
168 views

see output from c++ program which was started by rc.local

is there a possibility to see output (f.e. std cout << ...) from my program which was started from rc.local script when i am logged into my Rpi via SSH?
1
vote
2answers
175 views

How can I drive output voltage between 0v, +12v and -12v on a single line?

I have an appliance that needs a +12v pulse to be activated and a -12v pulse to be deactivated on the same input pin. After the pulse, the line should drop to 0v again. This voltage switching only has ...
1
vote
1answer
251 views

128x64 OLED Display Issue [closed]

I have a cheap display I got from eBay connected to a Raspberry Pi B+. It has 4 pins (vcc, gnd, scl, sda). I followed the adafruit tutorial here but after setup, when I run a python example (any of ...
1
vote
4answers
8k views

Composite video out not working

I just got a new Raspberry Pi 3 with wifi. It works fine using the HDMI output, but I need to use it for a composite video project on an old PAL tv. Just plugging it in with a composite video cable ...
-1
votes
3answers
120 views

Basic questions about inputs/outputs on a breadboard (Pi 3)

I have started my first basic project today and I have a few questions I couldn't find answers to yet or I just don't know how to search for any. Sorry if those questions seem a bit stupid, but I will ...
1
vote
1answer
122 views

Can I connect two Raspberry Pis to one 5" Display via an HDMI switch?

I have two Raspberry Pis running very different systems. I want to build an enclosure so that I can use a single 5" display (Amazon link) for both Pis. The setup I'm envisioning would rely on an ...
0
votes
1answer
80 views

GPIO ports not working

Friends, I try to switch 4 GPIO pins (GPIO.BCM) from '0' to '1', and only the first 2 out of 4 (GPIO18 and GPIO23)do switch, from 0 to 1. I have used different GPIO pins for GPIO24 and GPIO25, ...
1
vote
2answers
63 views

Use Pi 3 B as external memory

I have a 3D Printer that I monitor with my Raspberry Pi, but I would like to connect the pi via USB to the printer so I can also use it as external storage for the printer as well. Is there a way I ...
1
vote
0answers
41 views

CGA Output from GERT666 (or other GPIO connection)

I have a monitor which accepts 4-bit TTL CGA Only. Does anyone know if there is a way to directly output 4-bit TTL from the Raspberry Pi? I know that there exists VGA-CGA converters, but it would be ...
1
vote
2answers
649 views

Output sound over USB and into a computer (no 3.5mm jack)

I am trying to make a soundboard for my computer using my raspberry pi and a touchscreen. In order to mix the pi's sound out with my mic, I need it as a separate input to my computer (my mic uses the ...
0
votes
0answers
53 views

Pi Music box stream to DNLA device

I downloaded Pi music box and I've got it setup and running (which is all good) so now I can use my phone/pc to connect to the Raspberry pi. But, now i want to connect the raspberry pi to my DNLA/...
1
vote
2answers
1k views

Using ffmpeg to capture whatever is being globally sent to video output (ie: hdmi output)

I have setup a RTSP monitor with a Raspberry Pi 3, using this tutorial: https://community.ubnt.com/t5/UniFi-Video/Tutorial-RTSP-Raspberry-Pi-B-Viewer-6-Cam-4-Cam/td-p/1536448 TLDR: it uses the ...
7
votes
4answers
22k views

Creating an HDMI Pass-Through Connection

I would be very interested to know if anyone on here might be able to provide some insights into the feasibility and/or proper approach to add a HDMI input to the Raspberry Pi in an effort to allow ...
0
votes
1answer
62 views

Output current of 1 Pin (New Model)

Quick question. I have the latest Raspberry Pi (Model 3B+) and I just want to know if the output current of the 3.3 V supply has changed as I'm using a T-cobbler at the minute.
0
votes
1answer
306 views

Speeding up updating of GPIO pins

I have a program where each step, two GPIO pins have their duty cycle updated (I'm using pigpio). I'm running the program for millions of steps (think 50 to 100 million) and running the PWM outputs ...
0
votes
1answer
517 views

Switch audio output not working

I'm using Raspbian Stretch Desktop for my Raspberry Pi 3B. I'm using a VGA screen with an HDMI to VGA adapter, so I want the jack to work as my main audio output. If I unplug the HDMI and reboot, the ...
0
votes
0answers
94 views

GPIO input pins give out a volte

Hi I am controlling a 1960's Lego train trough a motor controller that uses the PWM of the Raspberry pi3 and I have 4 IR sensors that are externally powered with a 3.3V constant power supply, I used ...
0
votes
1answer
381 views

How to turn off pin 23 correctly? SSH connection crashed

so I am a newbie to the raspberry pi and as the title says, I was connected to my rpi trought SSH protocol and the session suddently was terminated due to a 'FlowSocketReader' error or something. My ...
1
vote
3answers
1k views

7 Segment display too dim with BCD to 7-segment latch/decoder/driver

I'm using 4 GPIO pins of my Raspberry Pi Model B 512MB Rev2.0 Board, to drive a single 7 segment LED display (1", Common Cathode, no part number on item) through a BCD to 7-segment latch/decoder/...
1
vote
1answer
424 views

Can I connect 3V3 to GPIO output pin?

Let's say I configured GPIO 2 as an output pin to control a 5 V solid state relay. When I set GPIO 2 to HIGH (True/ON) the relay will turn off and when I set GPIO 2 to LOW (False/OFF) the relay will ...
0
votes
2answers
1k views

Bad quality with USB sound card

I am trying to get audio input and output with an USB sound card (tested on Windows, works perfectly fine). With help from the Internet, I can record and listen sounds with the card but the quality is ...
0
votes
1answer
1k views

Assigning MPD audio output to jack and other applications to HDMI

Is there a solution to set the MPD audio output to local/jack and other applications audio output to HDMI? I have a Raspberry Pi 3, Raspbian with Retropie and I want to set Retropie audio output to ...
1
vote
0answers
26 views

How can my startup script put messages that appear during the boot screen and in dmesg? [closed]

I need to see exactly when my script starts, and how long it takes for various components to execute. I tried logger but it doesn't work for this purpose.
5
votes
1answer
3k views

REALLY force Raspberry Pi to send audio via HDMI

I wanted to use my Raspberry Pi with a very old video projector which was not capable of processing audio signals. So I bought an HDMI-audio-extractor (Ligawo 6518725 HDMI Extractor), as the PWM ...
1
vote
0answers
631 views

All Outputs True when checking Input pins

The RPi setup has input Pins 20 and 21. The program is checking if the inputs are high or low constantly. If so the assigned outputs switch to high. The unexpected result is that when e.g. Pin 20 is ...