Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
raspberry-grove [2015/03/25 17:08] – created Stéphane Lavirotte | raspberry-grove [2015/03/26 10:46] (current) – Stéphane Lavirotte | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | {{: | ||
====== Install Groove Pi on Raspberry Pi ====== | ====== Install Groove Pi on Raspberry Pi ====== | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ===== Install native libraries ===== | ||
To be able to use Groove sensors and actuators, you will have to install some extra software. You can read the following procedure to setup the software to use Groove Pi on Raspberry Pi. | To be able to use Groove sensors and actuators, you will have to install some extra software. You can read the following procedure to setup the software to use Groove Pi on Raspberry Pi. | ||
Line 15: | Line 20: | ||
sudo ./ | sudo ./ | ||
</ | </ | ||
+ | |||
+ | ===== Give access to GrovePi for a regular user ===== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | So, when you use Grove sensors, you will need to lauch WComp container, with sudo | ||
+ | < | ||
+ | sudo mono ContainerMonoLinux.exe -r Beans -l pathToGroveSensorFile.wcc ... | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | You have to give access to a regular user to GrovePi to avoid to use '' | ||
+ | Raspberry uses Serial, SPI and I2C to communicate with GrovePi. So you need to give access for a regular user to all these buses. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Create a file in ''/ | ||
+ | < | ||
+ | ACTION==" | ||
+ | </ | ||
+ | |||
+ | As you added a new rule, you have to restart the udev service. | ||
+ | < | ||
+ | sudo service udev restart | ||
+ | </ | ||
+ | |||
+ | This will now create the right file in /dev with permission of '' | ||
+ | < | ||
+ | sudo adduser pi i2c | ||
+ | sudo adduser pi dialout ; # access Broadcom UART via / | ||
+ | </ | ||
+ | |||
+ | After adding group and user to group, you have to logout and login again to have the right permissions ti these files. | ||
+ | |||
+ | <note important> | ||
+ |