Controlling an "H Bridge";
Every remote prospector has come into contact with "H" bridges. They are used in DC to AC power inverters, motor controllers, Variable Speed Drives, inverter generators to name a few. The relatively simple circuit called an H-Bridge is the most widely used switching circuit I know of in electronics. It uses four MOSFET transistor switches configured in an "H" pattern with a "Load" connected at the middle of the "H".
Diagonal MOSFET switches are turned on or off to control the direction of current flow through the load. There are many references with detailed technical explanations on YouTube.
One of my favorite YouTube channels is Dronebot Workshop.
Driving DC Motors with Microcontrollers
We want "Blinky" to control the current flow in a transmitter loop. The loop is made from wire. Typical off-the-shelf stranded or solid 12 AWG wire will do the job. The H-bridge needs to handle 20 to 30 volts and 3 to 10 amps of current depending on your ambition. From the previous reference, the loop needs to be a square shape 10 meters on a side. Round or square makes no difference. The "area" within the loop controls the intensity of the electromagnetic field and the strength of the transmitter.
One way the energy is measured is in Newton Meters.
Energy in Newton Meters = N * I * A
N = Number of Turns of wire in the loop.
I = Amperes of current.
A = Area on square meters.
The power source (battery) is connected with positive to the top of the H bridge and negative to the bottom. The loop is connected as the load.
The source of power I decided to use is a standard Dewalt rechargeable 20 volt lithium 2 or 3 amp-hour battery. They are small (portable), off-the-shelf, efficient, weatherproof and durable for outdoor use.
Looking at the battery connector, Two spade terminal slots are available. Positive is on the left and negative is on the right. I mark the polarity on the battery to avoid getting it reversed. Reverse polarity will destroy the H-bridge.
The H-bridge has four control inputs. The objective is to apply control voltages from four output terminals on the Arduino. The Arduino can control FOUR leds. The off-the-shelf H-bridges described above have inputs that are optically isolated using leds! A slight modification of the "blinky" code will suffice to get the H-bridge working.
- Geowizard