endy123
Posts: 1
Joined: Wed Jul 03, 2013 10:06 am

gpio on RASPBMC?

Wed Jul 03, 2013 10:10 am

Hello,
I installed on my RPI Raspbmc.

Is it still posible to use GPIO with Raspbmc installed?
I'm trying to measure temperature using this: http://www.cl.cam.ac.uk/projects/raspbe ... mperature/

After setting up the circuit, I run first command:
pi@raspbmc:/sys/bus$ sudo modprobe w1-gpio
FATAL: Module w1-gpio not found.

What to do pls?
I tried to google for solution but without any luck. :cry:

Dranoweb
Posts: 147
Joined: Thu Mar 20, 2014 3:01 pm

Re: gpio on RASPBMC?

Tue Nov 04, 2014 2:33 pm

I'm researching making buttons run functions using GPIO.

so far I don;t have a fix for this, but I can tell you that the RPi.GPIO module has to be installed in a specific directory in Raspbmc

also the python used inside xbmc has no IDLE.

so in order to launch scripts on boot you need to run it from /home/pi/.xbmc/userdata/autoexec.py

but currently when I try to import RPi.GPIO as GPIO in a script there, it can't find the module.

when running from SSH it can find the module.


short story - try a sudo apt-get update.
GPIO is included with the latest version.

at present I don;t have all the answers, but this may take you a step closer.

Return to “Beginners”