Mise à jour de 'README.md'

This commit is contained in:
Th3maz1ng 2022-10-02 12:53:39 +02:00
parent ee9329e1c0
commit 5c529d4380

View File

@ -77,6 +77,27 @@ You will find a link next to the parts name. **I do not have any partner ships w
## Configuration options : ## Configuration options :
You may change some settings present in the ***definition.h*** file located in the "src/app" folder. You may change some settings present in the ***definition.h*** file located in the "src/app" folder.
Set **MAX_SEND_ROUND_RETRIES** to the number of send retries the device will perform if no ACK is received.
Default is 5, increase this parameter if the RF link between the device and the receiving station is bad.
This may increase power consumption, but it's better to receive the message than to save power.
Set **SERIAL_DEBUG_ENABLED** to **1** to get debug output on the serial console.
Set **SERIAL_BAUD_RATE** to the desired baudrate for debugging.
Set **ADC_QUANTUM** to adjust the quantum if your VREF is not the same as mine.<br />
To do so, measure which voltage does the VCC pin of your Arduino board output and divide it by 1024 (10 bit ADC resolution).
Set **VOLTAGE_DIV_COEFF** to something different if you changed the voltage divider resistor values.
Set **RADIO_CHANNEL** to the NRF's RF channel (between 0 and 124). **Do not forget to set the receiver station up on the same channel**
Set **RADIO_NODE_ADDRESS** to change it's 5 byte address if you feel like it. **Do not forget to set the receiver station up on the same address**
Set **RADIO_PA_LEVEL** to adjust the transmit power level if needed (higher the power, higher the current consumption)
Set **ENABLE_LNA** to true or false to enable or disable the Low Noise Amplifier on the NRF modules if it has one.
***If you have any questions, do not hesitate to contact me at : bugreport[at]laposte[dot]net*** ***If you have any questions, do not hesitate to contact me at : bugreport[at]laposte[dot]net***
## Finally here are some pictures of the PCB, reed switches setup and mailbox : ## Finally here are some pictures of the PCB, reed switches setup and mailbox :