Arduino Voucher Code Generator of MikroTik

This is my observation,

  • pulses will determine by the arduino, 1 5 or 10
  • at the press of button, the program will sum up all the pulse value into total number of minutes then a script will be created on a text file save on sdcard
  • mikrotik has a scheduler of 5 seconds to detect wheather the file exist or not, if exist it will fetch the voucher code and add it
  • mikrotik will delete that text file immediately after registered

I am still researching how to do all of this LOL!!! Just pm me if you managed to do all this.