I am going to build an IoT water flow meter. And I am using below meter:
Which generated a pulse every time its meter completes a rotation. My objective is to read that pulse and send that reading data to the cloud using the GSM module. But when there is no Internet connection(GPRS) the controller should store the values of the counter to its EEPROM(Flash Memory) and when device comes online it should send it to the cloud. The device will send data every 2-5 min. I will make multiple these types of devices and from which one(Alpha) will be collecting and sending data to the cloud using the GSM module and others will send data to this(Alpha) module via RS485 or other.
The problem is I am not able to choose which microcontroller would be best for this purpose and unable to find MCU which has storage size between 50kb-1MB so that it can store large amounts of data. I don't want to add external EEPROM to it. And also selected MCU should be programmable using Arduino IDE.
I have thought of using the ESP32 GSM Module Board to do this. But it's EEPROM memory is low. And I don't have any IDEA how much storage is good for this purpose.
The budget with this water flow meter is low. So suggest me an MCU which will work for me or whose storage will be enough.