Top Banner
Labs and Teamwork QUICK GUIDE Introduction to the Lab environment, available materials, conventions, etc.
20

Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Jun 28, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Labs and TeamworkQUICK GUIDE

Introduction to the Lab environment, available

materials, conventions, etc.

Page 2: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Organization

• Schedule

– Every Monday

• From 16:00 to 17:30 (with teachers)

• Up to 18:30, with partial support (mainly in the second half of the course)

– 5 in-lab exercises

– 9 supervised group work for project development

• with teachers

Labs and teamwork3/7/2016 2

Page 3: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Organization

• Lab PCs

– Pre-installed with

• Ubuntu Linux

• Python 2.7.x

• PyCharm

– Log-in

• Procedure reported on the computers

– For PyCharm

• Log-in with your own JetBrains student account

• You can bring your own computers/materials

Labs and teamwork3/7/2016 3

Page 4: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Materials (currently available)

• 2 Raspberry Pi

– Bundled as development bench

– Accessible through ssh or http

• shared components

– Pi-1 hosts a RazBerrymodule (Z-Wave)

– Pi-2 is customizableon request

Labs and teamwork3/7/2016 4

Page 5: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Hue

• 1 Philips Hue bridge

• 7 Hue bulbs

• 1 Friends of Hue LED strip

Labs and teamwork3/7/2016 5

Page 6: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Z-Wave

• 5 Metering Plugs

• 3 Multiple Sensors

– Light

– Humidity

– Temperature

– Movement

Labs and teamwork3/7/2016 6

Page 7: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

ZigBee

• 5-10 Metering Plugs

Labs and teamwork3/7/2016 7

Page 8: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

MyHome

• Demo wall with various

components

– sponsored by BTicino

Labs and teamwork3/7/2016 8

Page 9: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Pebble Smart Watches

• 2 Pebble Classic

• 2 Pebble Time

• https://www.pebble.com/

Labs and teamwork3/7/2016 9

Page 10: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Fitness Trackers

• 1 Jawbone Up3

– with heart rate measurement

– https://jawbone.com/fitness-tracker/up3

• 1 Fitbit Flex

– https://www.fitbit.com/flex

Labs and teamwork3/7/2016 10

Page 11: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Material (on request)

• Raspberry Pis (with SD cards)• 5 RaZberry (Z-Wave controllers)• 2 ZigBee dongles• Arduino boards• EnOcean devices (temperature sensor, rocker-

switch)• Spare hardware

– Breadboards

– LEDs

– Resistors

– ...

Labs and teamwork3/7/2016 11

Page 12: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Material (on request)

• 7 USB-Bluetooth adapters

• 7 USB-WiFi adapters

• 3 LCD Touchscreen 2.8”

• 2 USB Microphones for Raspberry Pi

• 2 USB WebCams

• 2 Proximity sensors for Raspberry Pi

• 5 RFID/NFC Keyfobs

• 3 RFID/NFC Stickers

• 5 RFID/NFC cards

• 2 RFID/NFC bracelets

Labs and teamwork3/7/2016 12

Page 13: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Material (on request)

• 1 active speaker

• 1 Mini Thermal printer

• 9 Bluetooth beacons (Estimote)

• 2 USB Powerbanks

Labs and teamwork3/7/2016 13

Page 14: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Group ProjectsRECAP

Requirements for the final projects and team

composition.

Page 15: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Final project

• Theme

– “AmI for Health and Well-Being”

• Topic

– Chosen together upon group proposal

• You can use the tools made available during the

course

– and build what you need, if not available

• Mainly developed during labs

Labs and teamwork3/7/2016 15

Page 16: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Requirements

• Code versioned on a private GitHub repository (1 per team)– https://github.com/AmI-2016

• Project documentation with photos / videos (GitHub Pages)– public, linked to your team repository

• Must not replicate existing (available) devices

• No hardware-only or software-only projects

(from the course website: http://bit.ly/polito-ami)

Labs and teamwork3/7/2016 16

Page 17: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Teamwork

• 3-4 people per team

• You choose the team members

– we can help, if needed

• Your capability to work in group will be

evaluated, too

• Team composition and project ideas at

– https://docs.google.com/document/d/1hA4I293C8lgLQDumWmQg0-VF0SGf9qqF38TVFZEZw0U

– Deadline: March 16, 2016

Labs and teamwork3/7/2016 17

Page 18: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

PythonASSIGNMENT

An exercise to getting started with Python

Page 19: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Python… in practice

By using the PyCharm IDE, realize the following exercises:

1. Write a program that asks you for two numbers (interactively), sums the numbers, and prints the result on screen.

2. Given a string, return a string made of the first two and the last two chars of the original string.

e.g., 'spring' yields 'spng' If the string length is less than two, return the empty string.

Labs and teamwork3/7/2016 19

Page 20: Labs and Teamwork - polito.it · •Demo wall with various components –sponsored by BTicino 3/7/2016 Labs and teamwork 8. ... 3/7/2016 Labs and teamwork 16. Teamwork •3-4 people

Questions?01QZP AMBIENT INTELLIGENCE

Luigi De Russis

[email protected]