using a atmega328 as stand alone and 16mhz crystal

hunicombs:
Have you considered running the Atmega 328 using its internal 8MHz clock?

...R

i did but i have read several post indicating it is not good to use the internal one as it is not very reliable.

I have several projects that use it and I have never had a problem.

...R