Editing
Tasks WiSe2021
(section)
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.
Anti-spam check. Do
not
fill this in!
=== Tasks and Submission (Deadline 13th of Jan) === * 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: Stepper Motor ** Connect the stepper motor [[Stepper Motor and ULN2003]] ** Connect a button (see session 1) ** For a short press on the button move 45Β° and for a long press move 180Β° ** '''there may be a problem with power - see [[Stepper Motor and ULN2003]]''' - if this is the case just build up the setup and the program and document this * Task 5: ** Connect the servo motor, see [[Tutorial Digital IO]] and [[SG90 Servo]] ** Connect a potentiometer to A0 and read the analog value ** Set the position (angle) of the servo based on the analog value ** '''there may be a problem with power - see [[SG90 Servo]]''' - if this is the case just build up the setup and the program and document this * Submission: ** Deadline: 13th of January 2021 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)
Summary:
Please note that all contributions to Sketching with Hardware at LMU Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
My wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
All Videos
Special pages
Coursebook
Part I: Introduction
Edge ML class
UBISS2024
Previous Classes
Open Hardware Session 2022
Course page WS21/22
Course page SS21
Workshop August 2021
Course page WS20/21
PEM2 20/21
Course page 2020
Individual Tasks
Project Topic
Group Project
Tutorials
Tutorial Basics
Tutorial Digital IO
Tutorial Analog IN
Tutorial Display
Tutorial Network
Tutorial AutoRun
Tutorial Webserver
Example File IO
Various Resources
Workshop
Hardware List
Raspberry Pi
Known Issues
Gallery 2020
CircuitPython
Smart Watch Components
Smart Watch Component Tutorials
This MediaWiki
Feedback
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Page information