Updated the readme
This commit is contained in:
parent
8b274aba30
commit
05ce57f1f4
35
README.md
35
README.md
@ -9,7 +9,6 @@ An ATMEGA328PU and NRF24L01+ based weather station operating on a single 18650 l
|
||||

|
||||
|
||||
## What are the functionalities ?
|
||||
|
||||
The station is equipped with the following sensors and has these functionalities :
|
||||
|
||||
* Temperature (BMP280 and HTU21)
|
||||
@ -18,7 +17,12 @@ The station is equipped with the following sensors and has these functionalities
|
||||
* Sunlight (LDR)
|
||||
* Battery level indication (ATMEGA's 10 bit ADC)
|
||||
|
||||
## Project folder architecture
|
||||
## Power consumption :
|
||||
* Around **60µA** during sleep
|
||||
* Around a **13mA** spike during data transmission and **4mA** during sensor data collection.
|
||||
* The solar panel is enough to charge the battery it should thus never need to be replaced or recharged.
|
||||
|
||||
## Project folder architecture :
|
||||
``` json
|
||||
/
|
||||
|_src This folder contains all the C/C++ file sources.
|
||||
@ -36,6 +40,33 @@ The station is equipped with the following sensors and has these functionalities
|
||||
|_LICENSE.md
|
||||
|_README.md The content of this page
|
||||
```
|
||||
## Getting started :
|
||||
1. Clone this repository : git clone http://web-directories.cf/git/Th3maz1ng/ATMEGA328PU_lowPower_weather_station.git
|
||||
2. Go to src/libs and copy and paste the content in your "Arduino\libraries"
|
||||
3. Select the "Arduino Pro or Pro Mini" board with processor : (Atmega 3.3V 8 Mhz)
|
||||
4. Compile and Upload !
|
||||
5. To receive the data emitted by the station, you can check this other [project](http://www.web-directories.cf/git/Th3maz1ng/ESP8266_dual_NRF24l01_gateway).
|
||||
|
||||
## Configuration options :
|
||||
You may change some settings present in the ***definition.h*** file.
|
||||
|
||||
Set **SLEEP_4_SEC_INTERVAL** which corresponds to the time interval between each data transmission in 4 seconds increments. 1 minute by default corresponds to a value of 15.
|
||||
|
||||
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 accordingly**
|
||||
|
||||
Set **RADIO_NODE_ADDRESS** to change it's 5 byte address if you feel like it.
|
||||
|
||||
Set **RADIO_PA_LEVEL** to adjust the transmit power level if needed (higher power, higher current consumption)
|
||||
|
||||
## The hardware :
|
||||
Here is a list of the parts used to build the station with a link to the page of each products :
|
||||
|
Loading…
Reference in New Issue
Block a user