raspberry-phidget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revisionBoth sides next revision
raspberry-phidget [2015/03/25 17:11] – created Stéphane Lavirotteraspberry-phidget [2016/01/28 12:33] – [Install Phidgets librairies] Stéphane Lavirotte
Line 1: Line 1:
 +{{:public_namespace:phidgets.jpg?200|}}{{:public_namespace:raspberrypi.png?80|}}
 ====== Install Phidgets on Raspberry Pi ====== ====== Install Phidgets on Raspberry Pi ======
  
 To be able to use Phidget on Raspberry, you will have to do the following steps. To be able to use Phidget on Raspberry, you will have to do the following steps.
 +
 +{{:public_namespace:phidget_ik.jpg?200|}} {{:public_namespace:phidget_sensors.jpg?500|}}
  
 ===== Install Phidgets librairies ===== ===== Install Phidgets librairies =====
Line 15: Line 18:
 </code> </code>
  
-Then you have to add Phidget available for Mono.+Then you have to add Phidget .NET library available for Mono. First you have to download the needed packages with the following commands: 
 +<code> 
 +wget http://www.phidgets.com/downloads/libraries/Phidget21-windevel.zip 
 +unzip Phidget21-windevel.zip 
 +</code> 
 + 
 +Then, to add the library to the Mono GAC:
 <code> <code>
 sudo gacutil -i phidget21-windevel/Phidget21.NET.dll sudo gacutil -i phidget21-windevel/Phidget21.NET.dll
Line 21: Line 30:
 </code> </code>
  
-===== Give access for user to USB InterfaceKit =====+===== Give access USB Phidget InterfaceKit for a regular user =====
  
 Last step to be able to use the Phidget InterfaceKit on Raspberry Pi is a problem of permissions on files; only root can access to data of usb pluged devices. So for any program working with Phidget InterfaceKit, you would need to run it as root user (with a sudo). Of course, this is not the right solution. Last step to be able to use the Phidget InterfaceKit on Raspberry Pi is a problem of permissions on files; only root can access to data of usb pluged devices. So for any program working with Phidget InterfaceKit, you would need to run it as root user (with a sudo). Of course, this is not the right solution.
Line 47: Line 56:
 sudo adduser pi usb sudo adduser pi usb
 </code> </code>
 +
 +After adding group and user to group, you have to logout and login again to have the right permissions.
  • raspberry-phidget.txt
  • Last modified: 2016/01/28 12:57
  • by Stéphane Lavirotte