Editing UBISS2024
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This course is designed as a week-long tutorial to engage with ubiquitous devices in the domain of smart environments and how to use machine learning to build smart devices. Here, we use an [[Arduino_Nano_RP2040_Connect|Arduino Nano RP2040 Connect]]. | This course is designed as a week-long tutorial to engage with ubiquitous devices in the domain of smart environments and how to use machine learning to build smart devices. Here, we use an [[Arduino_Nano_RP2040_Connect|Arduino Nano RP2040 Connect]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Schedule = | = Schedule = | ||
Line 53: | Line 39: | ||
* 15:00-15:30 Hands-On: stand-up meeting on project progress | * 15:00-15:30 Hands-On: stand-up meeting on project progress | ||
* 15:30-16:00 Coffee break | * 15:30-16:00 Coffee break | ||
− | * 16:00 | + | * 16:00-17:30 Hands-On: project work |
− | |||
* 17:30-18:00 Lecture: How to Evaluate ML Solutions (talk and discussion) | * 17:30-18:00 Lecture: How to Evaluate ML Solutions (talk and discussion) | ||
Line 60: | Line 45: | ||
* 10:00-10:30 Hands-On: stand-up meeting — project challenges and solutions | * 10:00-10:30 Hands-On: stand-up meeting — project challenges and solutions | ||
* 10:30-11:30 Hands-On: project work and preparing the presentation | * 10:30-11:30 Hands-On: project work and preparing the presentation | ||
− | ** | + | ** Requirements for the Presentation: |
− | + | *** The presentation has to be 4 min long | |
+ | *** Your team name and your names - and if you want a photo | ||
+ | *** A short video of the tech you envision (up to 60 sec, [https://www.kickstarter.com/ Kickstarter]-style promotion type) | ||
+ | *** A technology description, including the list of components used in the prototype | ||
+ | *** A description of your data set and how it was acquired | ||
+ | *** The ML model/approach you took to learning the data | ||
+ | *** An evaluation of how well your ML model works with the data set (and optional in real live) | ||
* 11:30-12:00 Lecture: Pitfalls and Challenges in Developing ML/AI for IoT | * 11:30-12:00 Lecture: Pitfalls and Challenges in Developing ML/AI for IoT | ||
* 12:00-13:00 Lunch break | * 12:00-13:00 Lunch break | ||
Line 69: | Line 60: | ||
* 16:30-17:30 Hands-On: Testing of prototype performance | * 16:30-17:30 Hands-On: Testing of prototype performance | ||
* 17:30-18:00 Hands-On: Open issues for the presentation on Saturday, Feedback sessions | * 17:30-18:00 Hands-On: Open issues for the presentation on Saturday, Feedback sessions | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Final Submissions == | == Final Submissions == | ||
Line 93: | Line 71: | ||
* your final presentation (as PDF, Powerpoint) | * your final presentation (as PDF, Powerpoint) | ||
* [optional] a drawing of your system architecture (hand drawing is fine) | * [optional] a drawing of your system architecture (hand drawing is fine) | ||
+ | |||
+ | == Day 6 == | ||
+ | * 13:15-18:15: Workshop Result Presentations | ||
+ | * 18:30-18:50: Debriefing | ||
= Tasks = | = Tasks = | ||
Line 101: | Line 83: | ||
* Install the Arduino Lab for MicroPython development environment, https://labs.arduino.cc/en/labs/micropython | * Install the Arduino Lab for MicroPython development environment, https://labs.arduino.cc/en/labs/micropython | ||
* Task 1.1: Make the orange LED (pin 6) blink using micro python https://docs.arduino.cc/micropython/basics/digital-analog-pins/ | * Task 1.1: Make the orange LED (pin 6) blink using micro python https://docs.arduino.cc/micropython/basics/digital-analog-pins/ | ||
− | * Task 1.2: Connect an external RGB LED (pin D2 = GPIO25, D3 = GPIO15, D4 = | + | * Task 1.2: Connect an external RGB LED (pin D2 = GPIO25, D3 = GPIO15, D4 = GPI=16) and control it (on, off, mix color, brightness), https://www.sketching-with-hardware.org/wiki/RGB_LED |
* Task 1.3: Add the photo resistors to your board, read their values, and write them to the file; see the instructions for [[LDR]]. | * Task 1.3: Add the photo resistors to your board, read their values, and write them to the file; see the instructions for [[LDR]]. | ||
* Task 1.4: Combine your [[LDR]] and the [[RGB_LED]] example to change the blinking interval with the light value measures. | * Task 1.4: Combine your [[LDR]] and the [[RGB_LED]] example to change the blinking interval with the light value measures. | ||
Line 173: | Line 155: | ||
from machine import Pin, ADC | from machine import Pin, ADC | ||
import time | import time | ||
+ | from time import sleep | ||
led = Pin(6, Pin.OUT) | led = Pin(6, Pin.OUT) | ||
− | |||
while (True): | while (True): | ||
+ | analogPin = ADC(Pin(26)) | ||
analogVal16 = analogPin.read_u16() | analogVal16 = analogPin.read_u16() | ||
print(analogVal16) | print(analogVal16) | ||
Line 249: | Line 232: | ||
<syntaxhighlight lang="Bash"> | <syntaxhighlight lang="Bash"> | ||
− | pip3 install -U | + | pip3 install -U everywhere |
</syntaxhighlight> | </syntaxhighlight> | ||