Añadir lsn50-v2-xkc-y25-v-drainage/docs/wiring.md
This commit is contained in:
parent
52cdac7600
commit
13d6b39049
42
lsn50-v2-xkc-y25-v-drainage/docs/wiring.md
Normal file
42
lsn50-v2-xkc-y25-v-drainage/docs/wiring.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# Wiring
|
||||||
|
|
||||||
|
## Componentes
|
||||||
|
|
||||||
|
- `Dragino LSN50 v2.x`
|
||||||
|
- `XKC-Y25-V`
|
||||||
|
- resistencia `47k`
|
||||||
|
- diodo `1N4148`
|
||||||
|
|
||||||
|
## Conexiones validadas
|
||||||
|
|
||||||
|
### Alimentación del sensor
|
||||||
|
- `XKC VCC` -> `LSN50 pin 14 (+5V)`
|
||||||
|
- `XKC GND` -> `LSN50 pin 15 (GND)`
|
||||||
|
|
||||||
|
### Señal
|
||||||
|
- `XKC OUT` -> cátodo del diodo
|
||||||
|
- ánodo del diodo -> `LSN50 pin 24 (PA12)`
|
||||||
|
|
||||||
|
### Pull-up
|
||||||
|
- resistencia `47k` entre:
|
||||||
|
- `LSN50 pin 24 (PA12)`
|
||||||
|
- `LSN50 pin 13 (VDD)`
|
||||||
|
|
||||||
|
## Pinout relevante fijado
|
||||||
|
|
||||||
|
### Regleta derecha
|
||||||
|
- pin `14` -> `+5V`
|
||||||
|
- pin `15` -> `GND`
|
||||||
|
- pin `24` -> `PA12`
|
||||||
|
- pin `25` -> `NRST` (no usado)
|
||||||
|
|
||||||
|
### Regleta izquierda
|
||||||
|
- pin `1` -> `VDD`
|
||||||
|
- pin `12` -> `GND`
|
||||||
|
- pin `13` -> `VDD`
|
||||||
|
|
||||||
|
## Notas
|
||||||
|
|
||||||
|
- No conectar `OUT` del XKC directamente a `PA12`.
|
||||||
|
- No asumir que el `+5V` es permanente.
|
||||||
|
- El rail de `+5V` está gobernado por ventana `5VT`.
|
||||||
Loading…
x
Reference in New Issue
Block a user