gpio Questions

3

Solved

Does exist a virtual GPIO driver to be used for a programming needs? I have to develop a software on my Linux PC, and then try it on some embedded systems with physical GPIOs (C.H.I.P., OpenWRT, a...
Tallbot asked 30/12, 2016 at 13:12

3

Just off the bat I'd like to state that I'm aware of Python and other high level implementations for manipulating GPIO on the Raspberry PI. I've also been using the WiringPI C API and am experienci...
Thalassography asked 10/11, 2015 at 9:17

5

How can I read the temperature sensor values on GPIO of a Raspberry Pi using the go language? Please, anyone help me out. Thanks in advance.
Oblivion asked 29/8, 2013 at 0:49

2

Solved

I just started using c++ bindings of libgpiod library and have problem with settings gpios. I know, that I can create long vector of values, and apply it in all at once, but I would like to be able...
Gilley asked 12/7, 2018 at 16:25

4

Solved

I'm using Node-Red, hosted on a Raspberry Pi for an IoT project. How do I trigger a Python script that is on the raspi from Node-Red? I want to run a script that updates the text on an Adafruit LC...
Ballast asked 17/8, 2015 at 19:7

2

I was playing with my Raspberry Pi over the weekend. I used a tutorial from Freenove that I followed to realize a few simple circuits that are controlled by the GPIO pins on the raspberry. The Free...
Rodomontade asked 7/4, 2021 at 11:59

5

Solved

I have a pad multiplxed as GPIO on my board. When I try to export it via /sys/class/gpio/export, I get -sh: echo: write error: Device or resource busy My guess is some other driver is requestin...
Fadil asked 16/4, 2013 at 9:45

4

I've got a script that uses the Google Assistant Library and has to import some modules from there. I figured out this only works in a Python Virtual Environment, which is really strange. In the sa...
Unarmed asked 11/6, 2017 at 12:51

4

Solved

Where can be found the characteristics of the switching speed of GPIO port for the Raspberry Pi 3 under Android Things like that?
Bruin asked 18/1, 2017 at 19:12

2

Solved

Using the legacy sysfs GPIO under Android and Linux the first step in the process is toe export the particular GPIO pins you want to use. And when you are done with the GPIO pin to unexport it. I'v...
Suborn asked 6/9, 2020 at 22:23

1

Solved

I'm working with a recently purchased DragonBoard 410C running the Android 5.1 operating system and using Android Studio with Kotlin for generating a sample application that explores some of the ha...
Pansophy asked 30/8, 2020 at 4:10

1

I want to use libgpiod to control a few GPIOs via userspace on a custom board. I have an i.MX6UL processor, which has hundreds of pins, I'll use only 8 of them (as GPIOs). I read about the libgpiod...
Cardholder asked 6/2, 2020 at 17:52

0

I have a Raspberry PiZero W that is connected via GPIO pins to a flowmeter. This machine is at work, and I'd like to be able to debug my attempt at the flowmeter code that was wonderfully suggested...
Conveyancing asked 25/10, 2019 at 20:50

5

When running Docker on the Raspberry Pi 2, how can we expose the GPIO pins to the Docker container?
Carob asked 5/5, 2015 at 17:44

2

Solved

From the spec, I knew the following information: JGPIO1 PIN# :10 SoC GPIO # : 71 USE select: IO 0x532[7] ( 0 = native function, 1 = GPIO ) IO select: IO 0x536[7] (0 = output, 1 = input ) Leve...
Oblast asked 3/12, 2015 at 6:2

3

Solved

I have a Raspberry Pi project written in Python that uses RPi.GPIO module. All the work on the code is done on a Windows box where RPi.GPIO will not install and every time I try to run autodoc it c...
Allogamy asked 8/4, 2013 at 21:48

4

So I have a tiny little fan connected to pin 6(Ground) and pin 2. I am trying to manually start and stop the fan when needed but I am getting this error when trying: ValueError: The channel sent i...
Heredes asked 15/6, 2014 at 3:32

2

I am controlling a remote toy car using python code. As of now, the code is as below: def getkey(): fd = sys.stdin.fileno() old = termios.tcgetattr(fd) new = termios.tcgetattr(fd) new[3] = new[...
Berth asked 22/6, 2014 at 15:29

2

I am trying to create a device tree for an embedded system, and would like to expose a few GPIOs to userspace. These are not and should not be used by kernel drivers. For instance, there is a USB d...
Sawyers asked 22/4, 2016 at 20:53

2

Solved

I am pretty new to the GPIO part of the raspberry Pi. When I need pins I normally just use Arduino. However I would really like this project to be consolidated to one platform if possible, I would ...
Blintz asked 25/4, 2017 at 22:48

2

Solved

I have a Cincoze DE-1000 industrial PC, that features a Fintek F81866A chipset. I have to manage the DIO pins to read the input from a phisical button and to set on/off a LED. I have experience in ...
Beardsley asked 5/10, 2018 at 17:17

4

I am using the GPIO pins on my Raspberry Pi with a PIR sensor to detect motion. When the sensor detects motion I want to then move the software onto other functions. At the moment, to detect motio...
Austen asked 22/4, 2013 at 9:37

2

I'm having a problem to count coins in raspberry pi B+ usin RPi-GPIO. This is the code: import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(23, GPIO.IN) while True: print(GPIO.input(...
Natalianatalie asked 8/10, 2015 at 20:15

1

I'm attempting to get an RS485 adapter connected at the UART to communicate via modbus on a Raspberry Pi. My end goal is to have all this working with a Node application, but so far my dev has been...
Isbella asked 16/5, 2018 at 17:19

1

We need to run a Python code which will control the GPIO of Raspberry Pi 3 from within the JavaScript. (JavaScript is listening for changes on database and when changes are made, function gets trig...
Batavia asked 20/4, 2018 at 5:39

© 2022 - 2025 — McMap. All rights reserved.