This page will be populated with all exercises given in the class. Use it as a reference for compiling your documentation 

...

Exercise 2.3: Analog Sensor PWM 

Use a circuit with a photoresistor to control the brightness of an LED. 

Exercise 2.4: Smoothing Analog values and Serial port

...

Exercise 3.3: Integrated Circuit

a) In the first part, try to understand how an H-Bridge IC works and find the data-sheet for your specific component in the box. Then draw a simple wiring schematics of an H-Bridge circuit to drive one motor with an Arduino. You can draw it by hand, in a tool of your choice or create a tinker circuit at https://www.tinkercad.com/circuits/.

Hint: The L293D H-Bridge in TinkerCad shares the same pin-mapping with the SN754410.

b) Implement the code for the Arduino to control the motor. It should be possible to start and stop the motor and to control the drive direction through a button click. After implementing these basics methods, think about how it is possible to control the motor speed with the H-Bridge.


Exercise 3.4: Arduino & Processing

In the last exercise, you learned how to control a direct current motor with an H-Bridge IC. To further work on this project without the need for an actual motor, it would be great to have a visual representation of the motor state.
Send the motor state (speed, direction) through Serial to a Processing application. The Processing receives these parameters and visualizes the state of the motor, which could look like the following image:

In the beginning, it is ok just to display text which represents the motor state.

Advanced Task: Try to send commands back to the Arduino and control the motor if the user presses a key on the keyboard.

20.09.2019

Exercise 4.1: Digital Components 

a) Connect the Ultrasonic Distance Sensor and read distances with the help of the NewPing library. Log the distances to the Serial Monitor.

b) Add the NeoPixel LED pixels LEDs to the circuit and display the current distance on them.

...