Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
raspberry-grove [2015/03/26 06:41] – 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 ===== | ===== Install native libraries ===== | ||
Line 18: | Line 21: | ||
</ | </ | ||
- | ===== Give access | + | ===== Give access to GrovePi |
+ | |||
+ | <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 '' | 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. | 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> | ||