Yes. for that I did try using randomSeed(Analog(0)); in the setup this worked and gave me different random numbers
randomSeed(Analog(0));