ESP32 DEVKIT V1: nRF24L01 Switch remote, battery on/off
Posted: Mon Jan 15, 2024 1:21 pm
Using a pair of nRF24L01 transceivers, have coded a way to switch a battery remotely, put the ESP32 to deep sleep and wake-up using external 0, RTC_GPIO.
Coded a way to accomplish task of remotely switching a battery, switching is by Async web server request. Request determines on/off option. “Control” variable selects on or off option. Each option has two tasks: task one, --switches battery power, task two, --switches deep sleep state. Have not “field” tested project; tested with multimeter monitoring current of transceiver, piggyback adapter connected to 5 Volt power supply.
Github repository for project code Updated 02/20/2024
Less than ten dollars US; two, 2.4 GHz transceivers, can be purchased.
Couple of recommendations; identify ground pin using a multimeter, purchase a nRF24L01 piggyback voltage adapter; allows use of five volt power. Some boards have trouble supplying required transceiver current. Do not let early failures stop your project or ask to return defective transceivers. Fully explore reasons for failures. Mine turned out to be coding errors. If the code is not allowing transceiver to exchange data, check your code! Fault hardware last!
5 Volt piggyback, power adapter for nRF24L01 Transceivers
William
Coded a way to accomplish task of remotely switching a battery, switching is by Async web server request. Request determines on/off option. “Control” variable selects on or off option. Each option has two tasks: task one, --switches battery power, task two, --switches deep sleep state. Have not “field” tested project; tested with multimeter monitoring current of transceiver, piggyback adapter connected to 5 Volt power supply.
Github repository for project code Updated 02/20/2024
Less than ten dollars US; two, 2.4 GHz transceivers, can be purchased.
Couple of recommendations; identify ground pin using a multimeter, purchase a nRF24L01 piggyback voltage adapter; allows use of five volt power. Some boards have trouble supplying required transceiver current. Do not let early failures stop your project or ask to return defective transceivers. Fully explore reasons for failures. Mine turned out to be coding errors. If the code is not allowing transceiver to exchange data, check your code! Fault hardware last!
5 Volt piggyback, power adapter for nRF24L01 Transceivers
William