Hardware
Connections
Signal |
GPIO |
Pin [6] |
Color ISO (DIN)[7] |
CS/CSN |
15 |
D8 |
OG (or) |
CE |
0 |
D3 |
BN (br) |
IRQ |
2 |
D4 |
BU (bl) |
MISO |
12 |
D6 |
GN (gr) |
MOSI |
13 |
D7 |
VT (vi) |
SCK/SCLK |
14 |
D5 |
YE (ge) |
GND |
- |
GND |
BK (sw) |
VCC |
- |
3.3V |
RD (rt) |
The pins for CS, CE and IRQ can be specified via the WebGUI. The pins for MISO, MOSI and SCLK are specified in the config.h (currently starting at line 145).
Pin Layout of NRF24L01+
Seen from below, socket on the left.
MISO |
IRQ |
SCK |
MOSI |
CE |
CSN |
GND |
VCC |
Software
To install AhoyDTU on ESP8266:
-
download the newest binaries from https://github.com/lumapu/ahoy/releases,
-
unzip it,
-
upload the binary with
esptool
[8] to you ESP.
Example for upload:
`esptool write_flash 0x0 ahoy_v0.8.36/ESP8266/231230_ahoy_0.8.36_6fb0535_esp8266.bin`
If you like to watch serial output, you may use screen for that:
`screen /dev/ttyUSB0 115200`
Mistakes
If you find an erros in this documentation please feel free to add an issue.