So this is in a vehicle? Automotive electrical systems are extremely noisy.
Can you tell us:
- Physically where is pin 8 going?
- Where do you connect to ground in the vehicle?
- are you connected to ground in two places?
- Is your hardware a bare Nano connected to the ECM and the Neopixels?
- Do you have any filtering either on the 12V or the ECM in?