I tried to do my own mechanism, printing own case and using Arduino with servo PowerHD R12 but the servo was heating up Is there any possibility to make similar mechanism for toy with not oversizing it? What kind of motor/mechanism would be good for that kind of sweeping toy so it doesn't get hot?
The connection to the moving portion must not be a solid link to the motor shaft, must be stiff but flexible. You could also add foldback current limiting.
So it does not always draw high current, the motor operation can be ON/OFF timed (ex: every 4 seconds if there is user attention) .
Let us assume you are using a gear motor with a cam arm connected to the motor shaft.
You would connect this arm to a stiff but flexible rod that then connects to let say a tail of a toy fish.
If the tail is physically prevented form moving by your hand, the flexible rod gives under your force but the motor still moves as the rod absorbs the force.
Since the motor still moves, it will not be stopped and will not draw too much current or be damaged.