Part 4: how to replace a square base fluorescent can lamp with an LED can lamp
The square base lamps present an additional problem because the LED kits are designed for screw in lamp replacement and won't mate with the square base sockets. Additionally the squares have a ballast built into the can assembly, which is incompatible with the LED kit.
(1) Drop down the trim ring, unhook it and discard it. Remove the square fluorescent fixture and dispose of it in an environmentally safe manner.
(2) Remove the 4 screws that attach the can to the can assembly. If you are working in a bathroom I suggest you cover the sink with a plastic bag so that dropped screws won't go down the drain, and close the toilet seat.
(3) Push the can up into the ceiling to expose access to the junction box and ballast. Remove the junction box cover (usually by depressing a clip) and set the cover aside. Locate the Romex cable coming into the box and note all connections are made by means of twist nuts. One of the incoming wires is attached to a wire leading to the lamp socket. The other wire is attached to a wire leading to the ballast: disconnect it. Locate the other wire leading to the lamp socket and disconnect that too. Cut off both ballast wires, you won't need them any more. Connect the remaining incoming wire to the remaining wire leading to the lamp socket by means of a twist nut.
(4) Push all the wires into the box and replace the junction box cover. Pull the can assembly down and reposition it to its original position. Note that I ran into a problem where the trim ring would not engage properly because the can was too far up into the ceiling. The correct position for the can will be where it is just barely recessed up into the ceiling, by perhaps about 1/8 inch. Tighten the four screws when you have positioned the can correctly.
(5) Cut off the old square socket as close to the socket as possible and strip the wires about 1/2 inch. Referring to the LED kit, locate the dongle and cut off the lamp screw base leaving as much wire as possible, and strip those wires too that same 1/2 inch. Attach the black wire from the dongle to the black wire from the can, and same for white to white. You can use screw nuts (easiest way) or perhaps you may use a butt splice (google that) and wrap with electrical tape. Since I'm an engineer I did it the best way, butt spliced the wires, soldered them, then insulated them with heat shrink tubing. Any of these ways should be fine although IMO the last method is best if you have the available tools. (You can shrink heat tubing with a kitchen match in a pinch.)
(6) Use Windex or other cleaning product to clean the ceiling around the can opening. The trim ring may not match the old trim exactly so this cleans off any dust or scruff.
(7) Pinch the clip wires of the new assembly on one side and engage them with the housing prongs.
(8) Mate the plug from the dongle with the plug from the LED assembly. (This is one of the most exciting steps of the whole process, mating the plugs. Actually the whole process is rather boring.)
(9) Engage the clips from the other side of the LED assembly with the can prongs. Shove the old socket on top and cram the whole thing back into the ceiling. You're done!!!
Reflect on the fact that now that darned fluorescent that always blinks 2-3 times before coming on is gone, as is gone the yellowish dingy light which is now a nice white color!