labs and teamwork - polito.it · •demo wall with various components –sponsored by bticino...
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/1.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/2.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/3.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/4.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/5.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/6.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/7.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/8.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/9.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/10.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/11.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/12.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/13.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/14.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/15.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/16.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/17.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/18.jpg)
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](https://reader035.vdocument.in/reader035/viewer/2022070816/5f1041db7e708231d4483760/html5/thumbnails/19.jpg)
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