Compare commits
3 Commits
0bfe0165c0
...
73c0dade20
Author | SHA1 | Date | |
---|---|---|---|
73c0dade20 | |||
1d92f43e67 | |||
6f366fa386 |
@ -43,7 +43,7 @@ The device is fixed to the mailbox using two strong neodymium magnets. No need t
|
|||||||
|
|
||||||
## The hardware needed to build the system :
|
## The hardware needed to build the system :
|
||||||
Here is a list of the parts I used to build my connected mailbox system.
|
Here is a list of the parts I used to build my connected mailbox system.
|
||||||
You will find a link next to the parts name. **I do not have any partner ships with the sites in the links.**
|
You will find a link next to the parts name. **I do not have any partnerships with the sites linked bellow.**
|
||||||
* [1 * Shielded NRF24L01+](https://fr.aliexpress.com/item/32976054389.html?spm=a2g0o.cart.0.0.657d3c00t37c7e&mp=1)
|
* [1 * Shielded NRF24L01+](https://fr.aliexpress.com/item/32976054389.html?spm=a2g0o.cart.0.0.657d3c00t37c7e&mp=1)
|
||||||
* [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)
|
* [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)
|
||||||
* [ATMEGA328PU board (3.3V 8Mhz version)](https://fr.aliexpress.com/item/4000190780977.html?spm=a2g0o.store_pc_allProduct.8148356.4.66547f0dNb2qkV)
|
* [ATMEGA328PU board (3.3V 8Mhz version)](https://fr.aliexpress.com/item/4000190780977.html?spm=a2g0o.store_pc_allProduct.8148356.4.66547f0dNb2qkV)
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
|
|
||||||
void defaultExtIntIsr(void);
|
void defaultExtIntIsr(void);
|
||||||
|
|
||||||
|
typedef void (*ExtIntIsr)(void);
|
||||||
|
|
||||||
class MBPeripherals
|
class MBPeripherals
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -72,7 +74,7 @@ class MBPeripherals
|
|||||||
void _3V3PowerRail(State state);
|
void _3V3PowerRail(State state);
|
||||||
const BoardConfig &_boardConfig;
|
const BoardConfig &_boardConfig;
|
||||||
const RF24 _NRF;
|
const RF24 _NRF;
|
||||||
const void (*_extIntIsr)(void);
|
ExtIntIsr _extIntIsr;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
#define RADIO_CHANNEL 108 //0-125
|
#define RADIO_CHANNEL 108 //0-125
|
||||||
#define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1 network because the mail box is connected on it
|
#define RADIO_NODE_ADDRESS "WEST1" //Weather Station 1 network because the mail box is connected on it
|
||||||
#define RADIO_PA_LEVEL RF24_PA_MAX //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
#define RADIO_PA_LEVEL RF24_PA_MAX //RF24_PA_MIN,RF24_PA_LOW,RF24_PA_HIGH,RF24_PA_MAX
|
||||||
#define ENABLE_LNA false //true or false
|
#define ENABLE_LNA true //true or false
|
||||||
#define RADIO_DATARATE RF24_250KBPS //Slow datarate to maximize range
|
#define RADIO_DATARATE RF24_250KBPS //Slow datarate to maximize range
|
||||||
#define MAX_SEND_ROUND_RETRIES 5 //If no ACK is received, tries to resend a MAX_SEND_ROUND_RETRIES-1 more times
|
#define MAX_SEND_ROUND_RETRIES 5 //If no ACK is received, tries to resend a MAX_SEND_ROUND_RETRIES-1 more times
|
||||||
//Increase this parameter if the RF link is bad.
|
//Increase this parameter if the RF link is bad.
|
||||||
|
Loading…
Reference in New Issue
Block a user