Figure 1-5 The top
side of the motor shield
Step 2. Attach Screw Terminals to the Shield
The screw terminals fit next to the A and B channels for the motors. We will also attach a screw terminal
to
the power socket, as it is easier to connect to than the main 2.1mm power socket on the Arduino.
Solder the four screw terminals into place, with the opening facing toward the outside of the shield.
Figure 1-6
shows the shield with the screw terminals attached and the shield plugged into an Arduino.
Figure 1-6 The shield with screw terminals attached
Step 3. Install the Bluetooth Module
Figure 1-7
shows the Bluetooth module soldered into place and the wiring attached.
www.ECA.ir ﮏﯾﻧورﺗﮑﻟا و قرﺑ ﯽﺻﺻﺧﺗ تﯾﺎﺳ بو
@ECAir مارﮕﻠﺗ لﺎﻧﺎﮐ رد تﯾوﺿﻋ
Figure 1-7 The completed shield
Before attaching the Bluetooth module, carefully bend the pins with pliers
so the board lies flat
against the shield. Solder the module itself into place first, and then attach the four wires as listed next:
+5V on the Bluetooth module to +5V on the shield
GND on the Bluetooth module to
GND on the shield
TXD on the Bluetooth module to RX on the shield
RXD on the Bluetooth module to
TX on the shield
Note the cross-over between transmit and receive between the Arduino and the Bluetooth module.
That’s it for the electronics. We now turn to constructing the hardware for the robot.