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
21 views

Increasing value as PushButton switch is keep on being pressed [closed]

For now I'm doing a project involving a Raspberry Pi and a push button. I managed to control LED with the push button using PWM where as we pressed the button, the duty cycle value increase. However, ...
user avatar
0 votes
0 answers
32 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 ...
user avatar
  • 1
1 vote
0 answers
62 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 ...
user avatar
0 votes
0 answers
48 views

Setting up Wireless Keyboard+Touchpad: Rii mini i8+

I need help properly setting up a Rii mini i8+. This is a handheld wireless keyboard + touchpad. I connected it to the Raspberry Pi 4, which was working properly. I have the one with an AZERTY layout, ...
user avatar
  • 1
0 votes
0 answers
53 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 &...
user avatar
  • 1
0 votes
0 answers
96 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:~ $ ...
user avatar
1 vote
0 answers
38 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 ...
user avatar
0 votes
0 answers
112 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 ...
user avatar
-1 votes
1 answer
163 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 ...
user avatar
  • 99
0 votes
0 answers
22 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'...
user avatar
  • 121
0 votes
1 answer
190 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 ...
user avatar
  • 113
2 votes
3 answers
229 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... ...
user avatar
1 vote
0 answers
472 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 ...
user avatar
  • 19
1 vote
1 answer
138 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 ...
user avatar
  • 123
0 votes
0 answers
423 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 ...
user avatar
  • 101
-1 votes
1 answer
37 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 ...
user avatar
  • 109
0 votes
1 answer
102 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 ...
user avatar
0 votes
1 answer
106 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 ...
user avatar
-1 votes
1 answer
184 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.) ...
user avatar
  • 123
1 vote
0 answers
474 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 ...
user avatar
0 votes
0 answers
759 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/...
user avatar
  • 111
0 votes
0 answers
20 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 ...
user avatar
  • 101
2 votes
1 answer
1k 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 ...
user avatar
1 vote
0 answers
157 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 ...
user avatar
  • 11
1 vote
1 answer
2k 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 ...
user avatar
  • 177
3 votes
0 answers
366 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 ...
user avatar
  • 131
1 vote
1 answer
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. ...
user avatar
  • 21
1 vote
0 answers
181 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 ...
user avatar
  • 11
1 vote
1 answer
550 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). ...
user avatar
  • 111
1 vote
1 answer
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-...
user avatar
  • 11
-1 votes
1 answer
76 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 ...
user avatar
1 vote
1 answer
167 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 ...
user avatar
1 vote
0 answers
63 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 (...
user avatar
  • 11
1 vote
0 answers
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 ...
user avatar
1 vote
1 answer
599 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. ...
user avatar
2 votes
0 answers
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 ...
user avatar
4 votes
0 answers
630 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 ...
user avatar
  • 41
3 votes
0 answers
270 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 ...
user avatar
  • 31
1 vote
0 answers
99 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 ...
user avatar
  • 111
0 votes
0 answers
80 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 ...
user avatar
1 vote
0 answers
109 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 ...
user avatar
2 votes
0 answers
797 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 ...
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 ...
user avatar
  • 137
1 vote
2 answers
45 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 ...
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 ...
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 ...
user avatar
  • 3
1 vote
0 answers
467 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 ...
user avatar
2 votes
1 answer
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 ...
user avatar
  • 121
1 vote
0 answers
308 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 ...
user avatar
  • 11
2 votes
1 answer
3k 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, ...
user avatar