Labs GrovePi

1. Description

Sources :

Descriptif :

7 Ports digitaux 3 Ports analogiques 3 Ports I2C 1 Port Serial port connect to GrovePi 1 Serial port connect to Raspberry Pi Grove header Vcc output Voltage: 5Vdc

2. Super capteur

Source

Ports Capteurs Image
A0 Sound Sensor
A1 Light Sensor
A2 Air Quality Sensor
D4 Green LED
D8 Buzzer
D7 Temperature & Humidity Sensor
I2C-1 Barometer (High Accuracy))
I2C-2 LCD RGB

Mise en place

Commencer Labs Raspberry Pi : Mise en place

$ sudo apt-get update && apt-get -y upgrade
$ sudo raspi-config
$ cd /home/pi/Desktop
$ sudo git clone https://github.com/DexterInd/GrovePi
$ cd /home/pi/Desktop/GrovePi/Script
$ sudo chmod +x install.sh
$ sudo ./install.sh
$ sudo pip install grovepi

Le script install.sh offre le message suivant :


  _____            _
 |  __ \          | |
 | |  | | _____  _| |_ ___ _ __
 | |  | |/ _ \ \/ / __/ _ \ '__|
 | |__| |  __/>  <| ||  __/ |
 |_____/ \___/_/\_\__\___|_| _        _
 |_   _|         | |         | |      (_)
   | |  _ __   __| |_   _ ___| |_ _ __ _  ___  ___
   | | | '_ \ / _` | | | / __| __| '__| |/ _ \/ __|
  _| |_| | | | (_| | |_| \__ \ |_| |  | |  __/\__ \
 |_____|_| |_|\__,_|\__,_|___/\__|_|  |_|\___||___/

Welcome to GrovePi Installer.

Requirements:
1) Must be connected to the internet
2) This script must be run as root user

Steps:
1) Installs package dependencies:
   - python-pip       alternative Python package installer
   - git              fast, scalable, distributed revision control system
   - libi2c-dev       userspace I2C programming library development files
   - python-serial    pyserial - module encapsulating access for the serial port
   - python-rpi.gpio  Python GPIO module for Raspberry Pi
   - i2c-tools        This Python module allows SMBus access through the I2C /dev
   - python-smbus     Python bindings for Linux SMBus access through i2c-dev
   - python3-smbus    Python3 bindings for Linux SMBus access through i2c-dev
   - arduino          AVR development board IDE and built-in libraries
   - minicom          friendly menu driven serial communication program
2) Clone, build wiringPi in GrovePi/Script and install it
3) Removes I2C and SPI from modprobe blacklist /etc/modprobe.d/raspi-blacklist.conf
4) Adds I2C-dev, i2c-bcm2708 and spi-dev to /etc/modules
5) Installs gertboard avrdude_5.10-4_armhf.deb package
6) Runs gertboard setup
   - configures avrdude
   - downloads gertboard known boards and programmers
   - replaces avrsetup with gertboards version
   - in /etc/inittab comments out lines containing AMA0
   - in /boot/cmdline.txt removes: console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1
   - in /usr/share/arduino/hardware/arduino creates backup of boards.txt
   - in /usr/share/arduino/hardware/arduino creates backup of programmers.txt

Special thanks to Joe Sanford at Tufts University. This script was derived from his work. Thank you Joe!

Raspberry Pi wil reboot after completion.

La commande sudo pip install grovepi permet d'utiliser les scripts sur tout le système.

Node Red

$ sudo npm -g install node-red-contrib-grovepi
$ sudo systemctl restart nodered.service

Scripts Python

Report et graphes sur Initialstate

A lire : http://www.networkworld.com/article/3093434/internet-of-things/data-driven-farming-how-iot-delivers-hyperlocal-weather-information-affordably.html

3. Bluemix

4. Emoncms

5. Plateformes IoT

Voir Ressources.

6. ibeacons

http://thethingbox.io/docs/iBeacon-tsa.html

results matching ""

    No results matching ""