Node Spacedeur: verschil tussen versies
(→Electronics) |
|||
Regel 34: | Regel 34: | ||
|- | |- | ||
| 8 || 3v3 | | 8 || 3v3 | ||
+ | |} | ||
+ | |||
+ | |||
+ | Software: https://github.com/MakerSpaceLeiden/AccesSystem/blob/master/lib-arduino/ACNode/examples/SpaceDeur/SpaceDeur.ino | ||
+ | |||
+ | Pinning | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! ESP GPIO !! functie | ||
+ | |- | ||
+ | | 2 || Stepper DIR | ||
+ | |- | ||
+ | | 4 || Stepper Enable | ||
+ | |- | ||
+ | | 5 || Stepper STEP | ||
+ | |- | ||
+ | | 16 || Buzzer (optioneel) | ||
+ | |- | ||
+ | | 32 || Deur sensor (optioneel) | ||
+ | |- | ||
+ | | 13 || MOSI | ||
+ | |- | ||
+ | | 12 || MISO | ||
+ | |- | ||
+ | | 14 || SCK | ||
+ | |- | ||
+ | | 15 || SDA | ||
+ | |- | ||
+ | | 32 || RESET (optioneel) | ||
+ | |- | ||
+ | | 33 || IRQ (optioneel) | ||
|} | |} |
Versie van 13 jan 2020 om 22:23
PoE powered Node on Ethernet voor de deur van de space zelf.
Electronics
Todo: Add schematic / POESP pinout
There's a stepperdriver, a RFID reader, a power output to "grote Schakelaar" and an input for the door open/closed switch.
The door open/closed switch is wired to GPIO34. High when door is closed (or wire broken). Goes low when door is open (and everything functions).
The pinning on the RFID reader is waarschijnlijk:
pin | functie |
---|---|
1 | SDA |
2 | SCK |
3 | MOSI |
4 | MISO |
5 | IRQ |
6 | GND |
7 | RESET |
8 | 3v3 |
Pinning
ESP GPIO | functie |
---|---|
2 | Stepper DIR |
4 | Stepper Enable |
5 | Stepper STEP |
16 | Buzzer (optioneel) |
32 | Deur sensor (optioneel) |
13 | MOSI |
12 | MISO |
14 | SCK |
15 | SDA |
32 | RESET (optioneel) |
33 | IRQ (optioneel) |