How do I generate random numbers in a microcontroller efficiently? Are there any general guidelines or a particular fast method?
you can store a seed to EEPROM, and when device boots, you can increment a seed and store it again. So, every reboot youll have different random number.