You will need to find a small motor that rotates SLOWLY, then attach a MIRROR. If the camera was pointing UP... then the mirror could rotate around a full 360 degrees! and the camera wires will not even need to bend or flex! If you are insisting on the 180 degrees... sorry. my idea won't work. That is how police emergency lights are made to look like they "rotate" actually, often the lightbulb is stationary, while a mirror rotates around the bulb. Good luck, framistan.