Questions tagged [input-device]

An input device is any peripheral that provides input to a computer, such as mice and keyboards.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

Digital Audio input for Raspberry Pi

I would like to interface a raspberry pi with the digital outputs of my tv, it has TOSLINK and SPDIF as outputs, and transmit the audio over wifi to rpi receivers I have already written the software ...
user3017869's user avatar
0 votes
0 answers
40 views

Connect Raspi to touch display via I2C

I have a touch display with a microcontroller. That microcontroller will read the touch data and convert it linux multi touch protocol and send to raspi via I2c. Hardware is setup properly. Raspi can ...
Sam's user avatar
  • 133
0 votes
0 answers
37 views

WaveShare Touchscreen RPI4 B kivy Input are doubled

I am on a projet for school using kivy on Rasp pi 4 Model B and I am using a WaveShare 7" Touchscreen. Normal setup (Touchscreen plug on RPI) : When i use my mouse (pluged to the RPI), function ...
DamanZ4's user avatar
2 votes
1 answer
116 views

Multiple Sensors connected using I2C with different addresses software approach

I'm using a Rapberry Pi 4 Model B with 4 same I2C sensors. I want to get real-time data from them, but my knowledge of I2C is limited. I know that I can connect them, using different buses, but same ...
ExhaustedCProgrammer's user avatar
0 votes
1 answer
52 views

How can I have the raspberry pi run scripts portably?

I am a noobie and just got a raspberry pi yesterday and I want to create a wifi strength device with my raspberry pi. I have a wireless adapter and alreaady made a script for my linux machine. It ...
Lorde213423432e43434's user avatar
-1 votes
1 answer
91 views

Audio quality changes depending on input channel RPi4

I'm trying to use my RPi4 as a real-time audio processing device to detect when a certain acoustic frequency is present in an environment. The pi performs real-time fft on an audio stream from a USB ...
fishfinder's user avatar
1 vote
0 answers
42 views

Airplay TV audio to WiFi speakers

I have been seriously searching and searching for a way to get my TV audio to my Sonos speakers via Airplay. I definitely know that the Raspberry Pi can Airplay play, but what I don’t know is which ...
Capital Dream's user avatar
0 votes
1 answer
846 views

Let the Raspberry Pi be recognised as USB mouse and forward signals from a bluetooth mouse?

I am not sure whether this is the correct stackexchange section. I would like to find a solution to use a Raspberry Pi Zero 2 W in a chain like this: Bluetooth mouse/trackpad -> Raspberry Pi Zero 2 ...
boernsen's user avatar
  • 101
1 vote
0 answers
88 views

Problem with reading GPIO input value - photoeletric sensor

Good night! I've got some problems with GPIO input values in my code (Python). I'm using a Raspberry Pi model 3, and RPi.GPIO as GPIO module. I'm tring to get the signal values of a photoeletric ...
Eduardo Carlos's user avatar
1 vote
0 answers
293 views

How to config default input/output devices in ALSA config file(~/.asoundrc)?

I am trying to configure microphone and speaker for raspberry pi 4. I edited "~/.asoundrc" file like that: pcm.!default { type asym playback.pcm "plughw:0" capture.pcm &...
arm's user avatar
  • 9
1 vote
0 answers
254 views

GPIO9 Input Always Active

Porting an application from a RPi 3 to an RPi 4 that requires several button inputs. All are working properly, except the button in GPIO9 (Pin 21) is always high/true. Guessing this has to do with SPI ...
justmydisplayname's user avatar
-1 votes
1 answer
630 views

Raspberry Pi 4b choppy mouse and keyboard input

I just purchased a Raspberry Pi 4b with 4 GB of RAM. It came with a power supply and a 16 GB microSD card with Pi OS (Raspbian) pre-installed. I started it up and ran through the initial ...
dougp's user avatar
  • 99
0 votes
0 answers
31 views

Read RFID tag and display chart via HDMI

I'm a beginner in Raspberry Pi developing, I'm more familiar with embedded programming. But now, I have got a project, where I definitely need the performance and GUI of an Raspberry Pi :) Overview I'...
PascalS's user avatar
  • 121
0 votes
1 answer
661 views

Connect with tmux instead of screen

New questioner here! I am able to connect to my device using the following command: screen /dev/tty.usbmodem* 115200 My device is connected to my Mac with a microUSB -> USB cable. Is there a way ...
efthimio's user avatar
  • 113
3 votes
3 answers
378 views

Simulating a Keypad with Raspberry PI

I have an electronic Lock I want to open with my Raspberry PI 3B+. Therefore I measured the Voltage that is sent from the Keypad to the Lock. Each Number has its own Voltage. (0 = 0.00V, 1 = 0.06V... ...
Bernhard's user avatar
1 vote
0 answers
893 views

GPIO INPUT is always HIGH

I am working on a project with HC-SR04 Ultrasonic sensors. I am a beginner in raspberry-pi. I have 3 sensors which are calculates the distance. But one of them has problem which is echo (input) pin ...
hyorman's user avatar
  • 19
1 vote
1 answer
718 views

Most compatible/supported I2C based touchscreen to emulate?

Without going into boring details, I need to get a touchscreen input into a Raspberry Pi which will be "faked" by a microcontroller - so the micro is reading some input and translating it to ...
John U's user avatar
  • 181
0 votes
0 answers
1k views

How to remap keys on Raspberry Pi 4

I type using a Norman keyboard layout instead of the typical QWERTY one, so for example, where one would normally press the J key, I press the N key. How can I remap the keyboard in the Raspberry Pi ...
Jack N's user avatar
  • 101
-1 votes
1 answer
139 views

input pin not working

I connected the 3v3 power pin to a switch and then to an IO pin set to input. when I turned on the switch, it works fine and I detect an input, but when I turned off the switch, it was going back and ...
forever's user avatar
0 votes
1 answer
164 views

input interrupt error (UV projector)

I am trying to control a UV light projector with a raspberry. The raspberry recognizes the projector, as in the dmesg it says the product, the manufacturer and the serial number... but then this ...
nanobio3D's user avatar
0 votes
1 answer
237 views

RS485 Interface on Raspberry Pi is not initialized

I have a working RS485 shield mounted on my Raspberry Pi device. And I use it successfully for modbus rtu communication. So I am pretty sure that my raspberry device and RS485 interface is ok. I tried ...
Şansal Birbaş's user avatar
-1 votes
2 answers
747 views

How can I use a GPIO input pin for a 12v circuit?

I want to know with the raspberry pi if the button is clicked. I want ot use the button of the GPIOZERO python library. The power plug is a 12v power plug. Can this circuit work? (I'm a beginner.) ...
PacCol's user avatar
  • 133
1 vote
0 answers
699 views

Most compatible 32-64 channel multiplexer for raspberry pi [closed]

I have been working on one sensor testing project. In this project, I have to detect or sense more than 60 sensors at a time with raspberry. I am looking for the most compatible 32 channel multiplexer ...
Rikin Tailor's user avatar
0 votes
0 answers
1k views

Installing Realsense On Raspberry Pi 4

Hi I am curious if anyone has seen this issue before? When I try to run realsense-viewer, it outputs "Could not initialize offscreen context!" PS: Followed this https://github.com/IntelRealSense/...
Bob R's user avatar
  • 121
0 votes
0 answers
23 views

VLC plays every other track silently and causes bizarre input problems?

I'm running a new Pi4 with Buster (desktop with recommended software) When I play media files off my old Mac hard drive, VLC works wonderfully for the first file. However, when I give it a whole ...
cjm's user avatar
  • 101
2 votes
1 answer
2k 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 ...
ola_bandola's user avatar
1 vote
0 answers
199 views

No Y axis on Raspberry Pi TFT touchscreen

I have a TFT 3.5" display (this one), and I can only get one axis to work - that is, touching the screen moves the mouse along the bottom of the screen on the X axis only, regardless of where I touch ...
lyneca's user avatar
  • 11
1 vote
1 answer
3k views

How to overwrite the inputs in Retropie for specific emulator/rom?

I have a Pi3 flashed with Retropie connected to a Switch Controller via USB. The controller mapping seems off. I can't seem to play in KOF97 properly. I want to remapped it. Right now it mapped ...
code-8's user avatar
  • 177
3 votes
0 answers
650 views

USB Audio Interface not recognized

I've got an IKMultimedia IRig Pro Connected to PI4B It appears in Jack under ALSA-MIDI but I can't find the System-Audio Input Running lsusb shows me Bus 002 Device 001: ID 1d6b:0003 Linux ...
macbert's user avatar
  • 131
1 vote
1 answer
2k views

Error when connecting more than ten USB devices on Raspberry Pi 4 [duplicate]

What is the limit of USB devices in raspberry pi4? We have an external USB hub with its power supply and 10 devices fall off with errors. [Wed Mar 11 09:04:43 2020] usb 1-1.3.4-port1: Cannot enable. ...
Dmitry's user avatar
  • 21
1 vote
0 answers
311 views

Mapping Bluetooth Device

I have been able to successfully map a USB controller with Raspberry Pi 4 using this tutorial: https://core-electronics.com.au/tutorials/using-usb-and-bluetooth-controllers-with-python.html I'm now ...
rpascoe's user avatar
  • 11
1 vote
1 answer
742 views

How to connect a geophone to RaspberryPi?

I'm a seismic geophysicist and would like to attach a geophone - which is basically a transducer - to any type of RP. The types and costs of geophones are both variable and extensive (in some cases). ...
nate's user avatar
  • 111
2 votes
1 answer
3k views

Identify which microphone is on which audio card using arecord

I'm using a Raspberry PI and on it I plugged two same USB microphones. I would like to be able to identify which USB microphone is on which audio card when I list devices with arecord: arecord --list-...
Dyde's user avatar
  • 21
-1 votes
1 answer
98 views

Raspberry Pi 3B+ input pin strange behavior

I have few switches connected to Raspberry Pi inputs. Internal pull up resistors are enabled. When I connect pin to the ground Raspberry Pi behave fine - pin state is low. However when I disconnect ...
mariusz2108's user avatar
2 votes
1 answer
447 views

aplay/arecord device order changes every reboot

I have a couple of different applications running that rely on knowing the audio or recording device at startup, but every time I restart my raspi, the order of the devices changes. Looking for a way ...
Chris Manning's user avatar
1 vote
0 answers
85 views

Does the raspberry pi with android support usb devices?

I have a proprietary USB-C device (A Philips transducer) which I need to get real time data from to my pc for real time analysis. Only problem is that the device is only supported by an android app (...
Myuri's user avatar
  • 11
1 vote
0 answers
45 views

Keyboard only working properly, if plugged in AFTER bootup?

If i plug my little keypad into my raspberry pi model 3+ and turn it on, it will boot and for a few seconds and a couple of key strokes it works... And then stops. It still shows in LSUSB but won't ...
Nareik Seivad's user avatar
1 vote
1 answer
696 views

USB Barcode Scanner Serial won't work just freezes/hangs

I am trying to build a basic POS System, naturally I would have a usb barcode scanner and a simple code from here to start. Everything went well from scanning using serial to DB entry and then GUI. ...
Firiyuu77's user avatar
2 votes
0 answers
3k views

Disable mouse acceleration on Raspbian Stretch

I can't figure out how to change the mouse acceleration setting such that the change is persistent. Changing the value in the Preferences > Keyboard and mouse settings keeps resetting every time I ...
Bailey Gibbons's user avatar
5 votes
0 answers
862 views

Custom camera driver

Is it possible to write a driver, say for a OV camera, based on the existing drivers at the RPI git repo? As is I understand, with a datasheet for a sensor it should be possible to write a similar ...
Wh0Els3's user avatar
  • 51
3 votes
0 answers
302 views

raspi MIDI in audio out

I have a MIDI controller keyboard, that I want to take with me to a vacation. For some reason I cannot bring a tablet/laptop with me. I still have a Raspberry Pi 2B lying around so I thought it might ...
Max's user avatar
  • 31
1 vote
0 answers
120 views

Do Rpi3 UART devices inherit their device ID from the on-board UART0 controller (GPIO pins 8 & 10)?

I am working on a device prototype which reads load cell data to an Arduino which sends the load cell data via (hardware, not USB) Serial to the Rpi3 running Win10 IoT. The communication link ...
Matt's user avatar
  • 111
0 votes
0 answers
123 views

Creating device driver which feeds GPS Co-ordinates from phone to raspberry pi

I don't have GPS module, so I was thinking whether I can feed GPS coordinates from my android/ios phone to raspberry pi over wireless protocol like bluetooth/TCPIP. Can I create a virtual device ...
user1910228's user avatar
1 vote
0 answers
139 views

Waveshare 7'' LCD conflicts with WIFI (hostapd)

I have bought a Waveshare 7'' LCD (C) (https://www.waveshare.com/7inch-HDMI-LCD-C.htm) and it seems to work correctly on Raspberry PI 3B+ following the instructions on the site (it doesn't require ...
Alessandro Dionisi's user avatar
2 votes
0 answers
1k views

Relay Bluetooth keyboard out as a USB keyboard

I have a bluetooth keyboard that's originally connected to my desktop PC. The problem is that I can't use it in BIOS or to select different boot options at grub because the bluetooth drivers aren't ...
oyassin's user avatar
  • 21
2 votes
1 answer
1k views

3.5" TFT Calibration Problem

I am struggling to understand what is going on with my (knock-off) Waveshare 3.5" TFT calibration. For my application, I need to have the display and the touch screen rotated 180 degrees. Flipping ...
BoCoKeith's user avatar
  • 147
1 vote
2 answers
61 views

Detecting multiple presses of the same button

I'd like to detect multiple presses of the same button and interpret that differently, for example "tap" means to do function A and "tap-tap" means to do function B. I've been doing some googling but ...
Todd W's user avatar
  • 121
6 votes
1 answer
5k views

UART RX stops reading data after working correctly

I'm trying to read an continuous stream of data from my device (laser altimeter). The device is connected to the UART Rx pin of raspberry Pi 3B+. Everything works fine with this python code: import ...
FrantišekV's user avatar
0 votes
2 answers
3k views

How to properly implement threading within a function toggled by a button [closed]

I need a little help if possible. I'm trying to make a threaded function which will make my LEDs blink randomly as long as the button is pushed. when it is released it should exit the function and ...
nixx's user avatar
  • 3
1 vote
0 answers
598 views

pyusb: scanner insufficient permissions

UPDATE: I added a symbolic link to my .rules file and it is being created every time I unplug/plug the scanner. I believe my issue is more of a permissions issue with my Python code and more ...
Joshua Watson's user avatar