This shows you the differences between two versions of the page.
|
info2:labs:lab2 [2020/03/03 12:55] ioana_maria.culic created |
info2:labs:lab2 [2020/03/10 12:32] (current) ioana_maria.culic [Exercises] |
||
|---|---|---|---|
| Line 150: | Line 150: | ||
| ===== Exercises ===== | ===== Exercises ===== | ||
| All exercises will be performed on[[https://www.tinkercad.com/| Tinkercad]] | All exercises will be performed on[[https://www.tinkercad.com/| Tinkercad]] | ||
| - | - Use an ammeter to measure the voltage on GPIO pin number 3. Set the pin to HIGH and LOW and notice how the values change. | + | - Use a voltmeter to measure the voltage on GPIO pin number 3. Set the pin to HIGH and LOW and notice how the values change. |
| - Using an **ARDUINO**, a **LED** and a **220 ohm RESISTOR**, turn on the LED (don't use GPIO pins), then measure the current and the voltage on that circuit. | - Using an **ARDUINO**, a **LED** and a **220 ohm RESISTOR**, turn on the LED (don't use GPIO pins), then measure the current and the voltage on that circuit. | ||
| - Using an **ARDUINO**, a **LED** and a **220 ohm RESISTOR**, make the LED blink. Solve this exercise in two ways. | - Using an **ARDUINO**, a **LED** and a **220 ohm RESISTOR**, make the LED blink. Solve this exercise in two ways. | ||
| Line 157: | Line 157: | ||
| - Using the 7 segment display implement a counter that displays the numbers from 0 to 9. | - Using the 7 segment display implement a counter that displays the numbers from 0 to 9. | ||
| {{:info2:laboratoare:arduino-7-segment-display.png?200|100}} | {{:info2:laboratoare:arduino-7-segment-display.png?200|100}} | ||
| + | - Connect 5 LEDs and control them so that each one flashes one at a time: first once, second twice, etc. | ||
| + | - Use an LED to signal a word in morse code. | ||
| + | - Use a buzzer to do the same. | ||
| + | |||