Tasks WiSe2021
Revision as of 14:52, 17 December 2020 by Skwhadmin (talk | contribs) (→Session 2: Sensors and Actuators (Thursday 17th Dec))
Contents
Semesterplan and Tasks
- Regular Online Session on Thursday 18:00-19:00
- Tutors available in discord:
- 10.12.2020 (Thursday) from 17:00-21:00
- 16.12.2020 (Wednesday) from 17:00-21:00
- on request - please let us know when you want to work on it
Session 1: Introduction (Monday 07th Dec)
- Introduction to the course, presentation of the hardware.
- Organisation - make teams of 2 people
Videos and Tutorials to watch
- Watch the Introduction: https://youtu.be/Irxo9b5cexs
- Go through Tutorial Basics, Tutorial Digital IO, Tutorial Analog IN
- look at the following page: https://micropython-on-wemos-d1-mini.readthedocs.io/en/latest/basics.html
Tasks and Submission (Deadline 16th of Dec)
- Unpacking of the hardware
- Install the software on your computer, put the software image onto the ESP8266 D1 mini, see Tutorial Basics
- Task 1: Digital IO
- Connect 3 external LEDs and let it blink in different speeds
- Connect a button to a digital input, when the button is pressed all LEDs should be on
- Task 2: Analog In, PWM Out
- Connect 1 external LED
- Connect a potentiometer to A0 and read the analog value
- change the brightness of the LED with the analog value (PWM)
- write the analog value to the serial line
- Submission:
- Deadline: 16th of December 2020 latest 23:59 (Wednesday)
- For each task submit a video of max 30 seconds (should show the setup, your code on the screen, an the system functioning)
Session 2: Sensors and Actuators (Thursday 17th Dec)
- Introduction to the course, presentation of the hardware.
- Organisation - check that teams of 2 people exist
Videos and Tutorials to watch
- Understand how to connect a servo and how to move it, see Tutorial Digital IO
- learn at how to create sounds, see Piezo Speaker
- look at how control a stepper motor Stepper Motor and ULN2003
- get familiar with how to connect the Ultrasonic Sensor HC-SR04
Tasks and Submission (Deadline 16th of Dec)
- Task 1: Play a sound, PWM
- Connect the piezo speaker to an output pin
- Modify the example given in Piezo Speaker to play a part of a Xmas song
- Task 2: Read the distance with HC-SR04
- Connect the Ultrasonic Sensor HC-SR04
- Understand how to include a library in mycropython (see Tutorial Network, Tutorial Display)
- use the hcsr04.py library and read out the distance
- write the distance to the serial line
- Task 3: Implement Theremin-like instrument
- Connect the piezo speaker to an output pin (task 1)
- Connect the Ultrasonic Sensor HC-SR04 (task 2)
- Change the tone (frequency) that is played based on the distance
- write the frequency you play to the serial line
- Task 4:
- Connect the stepper motor Stepper Motor and ULN2003
- Connect a p
- Connect the Ultrasonic Sensor HC-SR04 (task 2)
- Change the tone (frequency) that is played based on the distance
- write the frequency you play to the serial line
- Connect 3 external LEDs and let it blink in different speeds
- Connect a button to a digital input, when the button is pressed all LEDs should be on
- Task 2: Analog In, PWM Out
- Submission:
- Deadline: 16th of December 2020 latest 23:59 (Wednesday)
- For each task submit a video of max 30 seconds (should show the setup, your code on the screen, an the system functioning)
- 7th Jan: networked system IoT
- watch video: netvars, autostart, building a system
- hand in of reading sensor (distance or acceleration) and moving someting (servo or stepper)
- 14th Jan: a system, ideation
- watch video: topic introduction, about ideation
- hand in the initial system that exchanges date over the internet (e.g. minimal slider/poti on one side and color chaning RGB LED on the other)
- ideation
- orga: make groups
- 21th Jan: bigger system and idea presentations
- hand in the version 2 of the system - as a group (from 2 to 4) (improved, fixed)
- group idea presentation
- 28th Jan: group project
- orga: fix groups, time plan, concept, and time plan
To Check:
- Thursday 18-19 - handing in would Wed 23:59 - and Hiwis are available on Wed from 16-20?
- or 17-18 on Mon OK?
- When do we have a slot for Hiwis
- First session with students for WS20/21 on the 7th of Dec - before the open lab day
- Presentation of last terms course on Monday 7th as part of the open lab day - 3 Min video + 7 Min discussion
-- giving out HW in week 7th to 11th --- Monday 17-18
- 07th Dec: Introduction
- watch videos: unpacking, flashing the sw-image, digital IO, analog in, RGB
- intro and telling about the hardware, tasks and planing
- orga: make groups of 2
- 14th Dec: IO, sensors and actuators
- watch videos: sensors (distance, acceleration), actuatos (stepper, servo)
- hand in basic chip working, digital IO and analog in
- orga: system design in groups of 2
- 21th Dec: networked system IoT
- watch video: netvars, autostart, building a system
- hand in of reading sensor (distance or acceleration) and moving someting (servo or stepper)
- 11th Jan: a system, ideation
- watch video: topic introduction, about ideation
- hand in the initial system that exchanges date over the internet (e.g. minimal slider/poti on one side and color chaning RGB LED on the other)
- ideation
- orga: make groups
- 18th Jan: bigger system and idea presentations
- hand in the version 2 of the system - as a group (from 2 to 4) (improved, fixed)
- group idea presentation
- 25th Jan: group project
- orga: fix groups, time plan, concept, and time plan
-->