-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWiring
41 lines (38 loc) · 1 KB
/
Wiring
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
1. load battery:
1x LED bar = 2 pins
microphone = 1 pin
2. Mealy:
2x switch = 2 pins
shift register = 3 pins
3. Pressure:
3x LED bar = 8 pins
3x pressure sensors = 3 pins
4. Theremin:
ultraSonic = 2 pins
loudspeaker = 2 pins
5. defuse bomb
10x cable = 10 pins
10x led --> led driver = 2 pins
lcd display = 7 pins (or 11?)
help button = 1 pin (or 2?)
7 segment = 12 pins (or 16?) --> 2 (or3?)
total: 51 pins (or 60?)
## esp32 1 (master)
| number of pins | Task | used pin numbers |
|--------|--------|--------|
| 1 | help button | 4 |
| 8 | 4x led bar | 9,10,14,19,23,27,32,33, |
| 3 | 3x pressure sensors | 34,35,38 |
| 2 | ultrasonic | 5,18 |
| 1 | loudspeaker | 2 |
| 2 | 2x switch | 25,26 |
| 3 | shift register | 12,13,15 |
| 1 | microphone | 37 |
= 21 pins
## esp32 2 (slave1)
| number of pins | Task | used pin numbers |
|--------|--------|--------|
| 3 | 7 segment + 2x led driver | 21,22 |
| 7 | lcd display | 5,9,10,18,19,23 |
| 10 | bomb defuse (10x cable) | 25,26,32,33,27|
= 10 pins