The purpose of my project is to control motor from ir remote.
For this I modified servo (to 360 deg) and use IR receiver.
Everything I connected to andruino and it works, but when I move atmega to pcb I'm expecting strange behavior: servo works and changes direction according to my commends from ir remote and after couple changes it stops. When i reset device (cut of power and plug in again) it starts and work properly till it stops again.
Im fighting with it for couple days and I don’t have much experience in electronics (in fact it is my first project)
Below it is schema of my connections.
Maybe somebody with experience could give me some tip?