Updated the readme

This commit is contained in:
Th3maz1ng 2021-07-17 15:26:18 +02:00
parent 8f775b7bf8
commit f8de11b847

View File

@ -21,7 +21,7 @@ The station is equipped with the following sensors and has these functionalities
## Power consumption : ## Power consumption :
* Around **60µA** during sleep * Around **60µA** during sleep
* Around a **13mA** spike during data transmission and **4mA** during sensor data collection. * 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. * The solar panel is enough to even charge the battery it should thus never need to be replaced or recharged.
## Project folder architecture : ## Project folder architecture :
``` json ``` json
@ -43,8 +43,8 @@ The station is equipped with the following sensors and has these functionalities
``` ```
## Getting started : ## Getting started :
1. Clone this repository : git clone http://web-directories.cf/git/Th3maz1ng/ATMEGA328PU_lowPower_weather_station.git 1. Clone this repository : git clone http://web-directories.cf/git/Th3maz1ng/ATMEGA328PU_lowPower_weather_station.git
2. Go to src/libs folder and copy and paste its content in your "Arduino\libraries" folder. 2. Go to **"src\libs"** folder of this project and copy and paste its content in your "Arduino\libraries" folder.
3. Open the app.ino file and select the "Arduino Pro or Pro Mini" board with processor : (Atmega 3.3V 8 Mhz). 3. Open the app.ino file with the Arduino IDE and select the "Arduino Pro or Pro Mini" board with processor : (Atmega 3.3V 8 Mhz).
4. Compile and Upload ! 4. Compile and Upload !
5. To receive the data sent by the station, you can check this other [project](http://www.web-directories.cf/git/Th3maz1ng/ESP8266_dual_NRF24l01_gateway) which is the receiver end. 5. To receive the data sent by the station, you can check this other [project](http://www.web-directories.cf/git/Th3maz1ng/ESP8266_dual_NRF24l01_gateway) which is the receiver end.
@ -57,8 +57,7 @@ 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 **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. 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). 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 **VOLTAGE_DIV_COEFF** to something different if you changed the voltage divider resistor values.
@ -70,7 +69,7 @@ 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) Set **RADIO_PA_LEVEL** to adjust the transmit power level if needed (higher power, higher current consumption)
## The hardware : ## The hardware :
Here is a list of the parts used to build the station with a link to the page of each products : Here is a list of the parts used to build the station with a link to where you can buy it :
* [Solar panel : 72x72](https://fr.aliexpress.com/item/4001240640418.html?spm=a2g0s.9042311.0.0.27426c3741mIVH) * [Solar panel : 72x72](https://fr.aliexpress.com/item/4001240640418.html?spm=a2g0s.9042311.0.0.27426c3741mIVH)
* [NRF24L01](https://fr.aliexpress.com/item/32976054389.html?spm=a2g0o.cart.0.0.657d3c00t37c7e&mp=1) * [NRF24L01](https://fr.aliexpress.com/item/32976054389.html?spm=a2g0o.cart.0.0.657d3c00t37c7e&mp=1)
* [TC4056 (1 cell lipo charge/discharge protection)](https://fr.aliexpress.com/item/4000522397541.html?spm=a2g0o.productlist.0.0.175b30dfajsyO5&algo_pvid=203adaed-55ba-4678-a3e4-3aafcad89952&algo_exp_id=203adaed-55ba-4678-a3e4-3aafcad89952-1) * [TC4056 (1 cell lipo charge/discharge protection)](https://fr.aliexpress.com/item/4000522397541.html?spm=a2g0o.productlist.0.0.175b30dfajsyO5&algo_pvid=203adaed-55ba-4678-a3e4-3aafcad89952&algo_exp_id=203adaed-55ba-4678-a3e4-3aafcad89952-1)