Hello, I am developing a project to remotely control the movement of a motor (left or right) using LoRaWAN protocol. I have a CubeCell HTCC AB-01 module and a UG87 gateway. I already have the code ready in Arduino IDE using the LoRaWan_downlinkdatahandle example as a base, I just have to implement it. By sending a downlink message from TTN I can control the movement of the motor, I already did the tests with LEDs and it works perfectly. I have thought about using a battery to power the CubeCell HTCC AB-01 module, the integrated H-bridge and the motor. Taking into account that I am going to use an H bridge L293D, the motor can be powered from 9-24 VDC and its maximum power is 2 W, and according to the specifications the CubeCell module consumes 10 mA (LoRa Rx Mode), 70 mA ( LoRa 10dBm output), 90 mA (LoRa 14dBm output), 100 mA (LoRa 17dBm output), 105 mA (LoRa 20dBm output) I have the following questions:
- How should I measure the current of the module?
- How to know in which mode the module is working (LoRa dBm output)?
- What battery do you recommend for feeding the circuit?
- How should I perform the consumption calculations to find the duration or independence of the battery?
Any information you can offer me will be very helpful. Thank you.