First, if you want to see the result, have a look at this video.
- 2 x Elegoo nano
- 2 x E32-868T20D
- 4 x 18650 battery
- 2 x 18650 battery holder (7.4v)
- 2 x Speaker
- 1 x Push button (Adafruit
- 1 x 220ohm resistance
NB: Regarding local regulations, you perhaps need something different that 868mHz (maybe 433mHz), please respect local regulations. I'm not responsible if you use a forbidden frequency in your country.
- Card: Arduino nano
- Processor: Atmega328P
- Programmator: AVRISP mkll
Have a look inside the repo's code folder, or access directly sender code or receiver code.
When someone push the button, a message will be displayed on the OLED screen (for instance, "Appel en cours..." but you can modify it in the source code). Then the - builtin - LED will start blinking until the end of the pause time (only one message is sent to the receiver to save batteries). Once it's done, the screen is switched off and someone can push the button again.
When the receiver catch a message, it will look at its value and if it's the expected one (see this as a binding process) it will start ringing 4 times then stop and swith back to listening mode again.
- Kris Kasprzak for the usefull Ebyte lib;
- Fritzing for making shemas production easier;
- Fritzing community for building custom modules that we can import and use in our schemas.