A chain segment having wires that connect various electrical devices and connectors together. The wires are arranged in a pattern to facilitate strain relief. The wires, electrical devices, and connectors are encased in an injection molded material, and they are preferably coupled with a flexible material such as a fabric that can be stitched into a garment. The chain segment facilitates collection of movement data when stitched into an article of clothing. A method of manufacturing the chain segment that is modular to enable different configurations and different lengths of chains.