Anhar was born in Kijang, Bintan, Kepulauan Riau in April 9, 1976. He spent his education from elementary to senior high school on this island. In 1995, he continued his bachelor degree in electrical engineering, Universitas Sumatera Utara (USU), Medan, and graduated in 2000. He got a scholarship from the ministry of education in 2005 to pursue his master degree in the School of Electrical Engineering and Informatics, Institut Teknologi Bandung. To expand his knowledge, he took his PhD level at Brunel University London, UK, and finished in 2019.
Anhar has been a lecturer at the University of Riau since 2002. Currently, he is a senior lecturer and has been teaching many subjects such Data Communication, Traffic Engineering, Wireless Sensor Networks, Electrical Measurement, and signals and systems. In terms of research, he has been supervising many students and publishing many articles related to the performance analysis of sensor networks. He is also interesting to investigate the performance of Medium Access Control (MAC) and routing protocols in sensor networks, Internet of Things (IoT), and Wifi.