Introduction: H Bridge (293D) With 2 Hobby Motors and a Remote
This Instructables will show how you can use a remote control to control a H bridge (293) with 2 hobby motors .
This circuit could be used with a basic 2 wheel robot with a remote control.
The parts used are ;
remote control
IR receiver
4; 1.5 volt battteries
Hbridge (293D)
2 hobby motors
Arduino Uno
Step 1: The Remote Control
The remote control is used in many circuit especially the TV remote we are aware of .
A remote consists of 2 parts .There is the handheld transmitter and receiver.
An IR remote control (the transmitter) sends out pulses of
infrared light.
These pulses are at a high frequency.
These pulses represent specific binary codes.
These binary codes correspond to commands on the remote, such as Power On/Off .
The IR receiver in the TV, or electronic device decodes the pulses of light into the binary data (ones and zeroes) which the electronic device's microprocessor can understand.
The microprocessor then carries out the command.
Step 2: How to Find the Remote Numbers
Look at the third image .It shows a basic remote circuit .
If you open the serial monitor you will see letters and number appear on the serial monitor when a button is pressed on the remote control .Note these letters and numbers with the accompanying remote button .
It helps to make a table of these remote button and letters and numbers with each pressing of the remote .
Look at figure 4 .This is a table of the remote controls and serial numbers and remote button.
Step 3: Then I Added Another Column
Then I added another column . If you click on the second address you can convert the serial numbers (Hex) to decimal numbers .See the second link rapid tables converts Hex to decimal
https://www.rapidtables.com/convert/number/hex-to-...
or better; https://www.binaryhexconverter.com/hex-to-decimal... (this on) After you open the link you will put in the serial number and the converter will change this to a decimal number .Note the decimal number and add it ti the table .We will use the decimal number in the Code for the remote and H bridge .
Step 4: Hbridge and 2 Hobby Motors .
I will briefly talk about H bridges .
If you want to know more read the Instructable I wrote called "Using the Hbridge (293D) to drive 2 hobby motors ".
The Hbridge has an advantage over transistor or MOSFET because it can drive a motor forward and backward
Step 5: the Circuit and the Codes
Next we will use the table and add the decimal numbers to the Hbridge Code .
The circuit is shown in the first diagram .
Step 6: The First Button Is Pressed on the Remote
The first button is pressed on the remote(on ).The motors move to 149 rpms.
Step 7: The Number 2 on the Remote Is Pressed
The number 2 on the remote is pressed.The one motor goes -160 rpms.
Step 8: The Number 3 on He Remote Is Pressed
The number 3 on the remote is pressed. The one motor goes 160 rpms .
Step 9: the Number 4 Is Pressed on the Remote.
The number 4 is pressed on the remote.and the motor goes -160 rpms.
Step 10: The Number 5 Is Pressed on the Remote
the number 5 is pressed on the remote.the motors stop.
Step 11: Summary
This Instructables shows how you can use a remote to control a H bridge 293D with 2 hobby motors .
The circuit and Code and table to do this is shown above .I made this circuit on Tinkercad .Each remote is different and the number serial and decimal will be different for each remote .
If you use your serial monitor and the link to convert the Hex code to decimal you will have your numbers for your remote . I enjoyed this project .I hope it helps you .Thank you
Comments