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
0answers
8 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 &...
0
votes
0answers
22 views

IR Remote Learning Based on ir-keytable

I am working on the RaspberryPi CM4 module with the ir-keytable library. I have made the setup & run the following command to get the received keys from the external remote. pi@raspberrypi:~ $ ...
1
vote
0answers
31 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 ...
0
votes
0answers
48 views

Bluletooth mic for raspberry pi

I have a bluetooth speaker. I am able to pair it with my android phone and able to take calls via it. So it does have a working microphone in it. When I connect this to my raspberry pi zero 2 W, it ...
0
votes
1answer
77 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 ...
0
votes
0answers
21 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'...
0
votes
1answer
125 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 ...
2
votes
3answers
189 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... ...
1
vote
0answers
342 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 ...
1
vote
1answer
88 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 ...
0
votes
0answers
256 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 ...
-1
votes
1answer
33 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 ...
0
votes
1answer
72 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 ...
0
votes
1answer
76 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 ...
-1
votes
1answer
137 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.) ...
1
vote
0answers
383 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 ...
0
votes
0answers
650 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/...
0
votes
0answers
18 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 ...
2
votes
1answer
979 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 ...
1
vote
0answers
137 views

No Y axis on Raspbery 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 ...
1
vote
1answer
1k 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 ...
3
votes
0answers
290 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 ...
1
vote
1answer
1k 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. ...
1
vote
0answers
155 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 ...
1
vote
1answer
469 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). ...
1
vote
1answer
2k 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-...
-1
votes
1answer
62 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 ...
1
vote
1answer
143 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 ...
1
vote
0answers
61 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 (...
1
vote
0answers
39 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 ...
1
vote
1answer
577 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. ...
1
vote
0answers
2k 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 ...
4
votes
0answers
558 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 ...
3
votes
0answers
253 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 ...
1
vote
0answers
88 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 ...
0
votes
0answers
67 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 ...
1
vote
0answers
101 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 ...
2
votes
0answers
734 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 ...
2
votes
1answer
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 ...
1
vote
2answers
44 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 ...
6
votes
1answer
4k 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 ...
0
votes
2answers
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 ...
1
vote
0answers
427 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 ...
2
votes
1answer
2k views

GPIO Voltage tolerance for input

I have not been able to find the input tolerance on I/O pins, especially on the Input pins. If I apply a voltage 3.6v (3.3v +0.3) on an input will it be dangerous or is it ok ? Does somebody have a ...
1
vote
0answers
284 views

Bluetooth as a virtual audio device (input)

I am trying to setup this audio-reactive-led-strip library but with Bluetooth audio as the input. I have so far, got my LED strip to work with the standard strandtest.py and have also successfully ...
2
votes
1answer
2k views

Real time audio input for use in Python program

I am working on some audio manipulation with my RPI and have a question on how I should process the signals. Right now I have a USB adapter with an Audio In and an Audio Out. What I would like to do, ...
1
vote
1answer
311 views

I'm wanting to get user input from a screen, but I can't have any buttons [closed]

I'm developing an python3 application that only uses a handheld scanner for input. I need to prompt the user for input and want to use a nice window to do it. When I look at tkinter, it appears that ...
1
vote
1answer
2k views

Taking input from a MyoWare muscle sensor with a Raspberry Pi Zero

Our robotics class is making a robotic hand that takes input from muscle sensors. We have a Raspberry Pi Zero and are trying to take muscle activity input from a MyoWare Muscle Sensor. The program we ...
2
votes
0answers
414 views

Numpad keys don't throw KeyEvents under JavaFX on RPi3 [closed]

While programming a JavaFX application for the Raspberry Pi 3 using the official JavaFXPorts from Gluon, I encountered the following problem: Pressing the numpad keys on my keyboard doesn't give me ...
1
vote
0answers
424 views

How to use remote with Kodi 17.6 in ArchLinux?

I want to use all buttons of my remote control picture. Mainly the volume and the keyboard when entering text. My system is Arch with Kodi 17.6 I assumed that the following post would fix it here. I ...