diff --git a/README.md b/README.md index cbfe3b3..2c4c7db 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,27 @@ You will find a link next to the parts name. **I do not have any partner ships w ## Configuration options : 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.
+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*** ## Finally here are some pictures of the PCB, reed switches setup and mailbox :