What is electricity?

Everything in the universe is made up of atoms. Atoms are made up of three primary components, which are the proton, neutron, and electron. The protons and neutrons make up the nucleus of the atom while the electrons orbit the nucleus like the moon orbits the Earth. The proton has a positive charge and the electron has a negative charge.

Electricity is created when particles become charged. Some particles become positively charged while others becomes negatively charged. Particles with opposite charges attract each other while particles with the same charge repel each other.

Since the electrons are in constant motion, occasionally an electron will escape from its atom and joins another atom. The atom that the electron ...

Get Mastering Arduino now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.