Motor controller using Atmega168/328