Although the standard wire colors in the usb cable are red black white and green dont worry if that is not the case for your cable. Each of these colors indicates the purpose of the wire whether for charging or data transfer.
My House Wiring Is Red Black And White Green Ground The
Red black and green wires. Your house is set up for a fan with a light on itblack wire the fan you purchased seems to have no lightno black wire wire your fan red red white white green ground and cap the black wire. The standard colors found on the inside of usb cables are red black white and green. Try the switch after you wire it up. Attach the black wire to the outlet you want to always be on usually the top one and the red wire to the switched outlet. The different colors of electrical wires indicate the function of the wire with black and red indicating the wires carry electric current white usually indicating neutral charge and green indicating the wire is grounded. Connect the white wire to either of the chrome screws remember they are still joined and the ground wire to the green ground screw.
According to nec a black or red wire must be used as an ungrounded conductor or hot wire. Like black wires they can also be used in some types of switch legs. If the fan doesnt come on first make sure you have power then wire the red to the black and cap the red. The colors regulated by the national electrical code in the united states are standardized for safety. While wires designated as hot black or red insulated wires carry power from the service panel breaker box to the device neutral wires carry power back to the service panel. Four conductor speaker wire usually has a black green red and white or yellow wire.
Consider all black wires to be live at all times. Black and red wires. Thus both hot and neutral wires have the potential to shock and injure you. Green wires connect to the grounding terminal in an outlet box and run to the ground bus bar in an electrical panel. No wire with any of those colors can be used for establishing a ground or neutral connection. If you see a white wire marked with black or red or a piece of black or red electrical tape at its ends that means its acting as a hot wire and is no longer neutral.
You can now screw the outlet to the box and proceed to the switch box. Although there is no standard that we know of we have found that most contractors use the following logic. Also black wires are often used as switch legs in circuits which is the connection linking a switch to the electrical load. In 220 volt circuits red wires are the secondary live wires. In fact any color wire except white gray or green may be used in conduit to carry ungrounded power. It is important to note that neutral wires may also be carrying power and can shock you.