Run away relays when external power applied

The diagram in the post above shows any revalent wiring and pins.
The power supply is the same as this diagram. Measured at 4.94 v up to 6 pins. Then it drops to 3.9 v with 8 pins. However, it is hard to read because the relays are switching on and off some fast.

I have elimated any possible wiring problems.

The websites I listed in the first post will take you to the source used for wiring and code. The only exception is I use slightly different pins.

In reference to pictures and diagrams of my project, I not able to go into that this time. But be assured, any basic relay hookup is the same.