Skip to content

Commit b24c796

Browse files
committed
add how it works section
1 parent 010af8b commit b24c796

File tree

21 files changed

+64
-8
lines changed

21 files changed

+64
-8
lines changed
359 KB
Loading
70.2 KB
Loading

content/micropython/03.micropython/modulinos/02.modulino-distance/modulino-distance.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We will also need the following software:
3030

3131
Before we start programming, we will need to connect our Modulino Distance to our Arduino board. For this we can follow the circuit diagram below:
3232

33-
![Circuit Diagram]()
33+
![Circuit Diagram](./assets/CIRCUIT-BREAKOUT.png)
3434

3535
## Modulino Distance Code Example
3636

@@ -47,3 +47,12 @@ while True:
4747
sleep_ms(50)
4848
```
4949

50+
## How it works
51+
52+
The Modulino Distance is a sensor that measures the time it takes for light to travel from the module to the object and back, using a tiny laser and a light sensor. The distance sensor is also known as a Time of Flight (ToF) sensor.
53+
54+
The sensor can be used for a variety of projects, including gesture triggers, obstacle detection robots and motion detection.
55+
56+
***Note: For extra shipping protection, some sensors come with a small yellow plastic cover on the Modulino Distance sensor. If you notice this plastic piece still in place, please remove it to ensure more accurate readings.***
57+
58+
![REPL](./assets/how-it-works.gif)
359 KB
Loading
493 KB
Loading

content/micropython/03.micropython/modulinos/03.modulino-pixels/modulino-pixels.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We will also need the following software:
3030

3131
Before we start programming, we will need to connect our Modulino Pixels to our Arduino board. For this we can follow the circuit diagram below:
3232

33-
![Circuit Diagram]()
33+
![Circuit Diagram](./assets/CIRCUIT-BREAKOUT.png)
3434

3535
## Modulino Pixels Code Example
3636

@@ -89,3 +89,9 @@ for j in range(0, 3):
8989
pixels.clear_all()
9090
pixels.show()
9191
```
92+
93+
## How it works
94+
95+
The Modulino Pixels is a series of addressable RGB LEDs. These can be controlled by setting the brightness or the color of each LED.
96+
97+
![LED Animation]()
360 KB
Loading
139 KB
Loading

content/micropython/03.micropython/modulinos/04.modulino-buzzer/modulino-buzzer.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ We will also need the following software:
3030

3131
Before we start programming, we will need to connect our Modulino Buzzer to our Arduino board. For this we can follow the circuit diagram below:
3232

33-
![Circuit Diagram]()
33+
![Circuit Diagram](./assets/CIRCUIT-BREAKOUT.png)
3434

3535
## Modulino Buzzer Code Example
3636

@@ -91,4 +91,12 @@ siren_melody = generate_siren(440, 880, 4000, 200, 2)
9191

9292
for note, duration in siren_melody:
9393
buzzer.tone(note, duration, blocking=True)
94-
```
94+
```
95+
96+
## How it works
97+
98+
The Modulino Buzzer is a tiny speaker that can output sound waves.
99+
100+
The speaker is called a "piezo", which comes from piezoelectricity. When you apply voltage to the speaker with a specific frequency, you generate a specific sound. Changing the frequency will change the tone of the speaker.
101+
102+
![How it wors]()
363 KB
Loading

0 commit comments

Comments
 (0)