raspberry-phidget

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
raspberry-phidget [2015/03/25 18:26]
Stéphane Lavirotte [Give access for user to USB InterfaceKit]
raspberry-phidget [2016/01/28 13:33]
Stéphane Lavirotte [Install Phidgets librairies]
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.
  • raspberry-phidget.txt
  • Last modified: 2016/01/28 13:57
  • by Stéphane Lavirotte