Académique Documents
Professionnel Documents
Culture Documents
The simulation and experimental results of the android controlled spy robot
system are described in this chapter. The control system is a remote mobile robotic
control using an android phone. In the design of the control circuit, there are Arduino
Uno, L298N motor driver and basic electronic components. Before constructing the
designed circuit, Arduino IDE and Proteus (ISIS) was used to simulate the mobile
robotic control system. And then, the designed circuit was constructed and tested
checking electronic errors. After Connecting with a PC, the system was tested and
troubleshooted to optimize results. The experimental results of the system are
presented with the different photographs. The following sections explain the tests and
results of the system in simulation and experiment cases.
In this system, the android controller will send the command to the robot. In
these processes, there is a main part of wireless system configuration; Bluetooth
transmitting and receiving between the android controller and vehicle. There are some
need for communication between the android controller and vehicle. Bluetooth
wireless module HC06 is used for the Bluetooth communication between android
controller and robotic vehicle of this proposed system. In Arduino IDE, this serial
communication is implemented with the software serial library.
The robotic vehicle is four wheels vehicle with two front wheels and two rear
wheels. Each of two lateral side wheels of the vehicle has been coupled for vehicle’s
motion. As a differential drive, the vehicle can move forward, backward, move left,
right and stop completely with PWM technique which makes the mobile robot speed-
controlled. The motion command will be got from the android phone controller. In
Arduino IDE, these motions are implemented as sub functions in main program.
In order to avoid front obstacles, an ultrasonic sensor is used to get the front
obstacle sensing which is implemented in Arduino IDE. For the initialization of the
variables and constants of the program, it is implemented in Arduino IDE. Finally, the
main program is implemented as the system flowchart described in the previous
chapter.
3
The robotic motions and obstacle avoidance are simulated in Proteus as shown
in Fig. 4.4 and Fig. 4.5. In this simulation, the Proteus libraries of Arduino, L298N
motor driver, and ultrasonic sensor module are used. There are two buttons for the
ultrasonic sensor module to simulate that there is an obstacle or not. Virtual Terminal
is used to simulate the Bluetooth serial communication, and implemented to see the
typed control commands such as 0, 1, 2, 3, 4 and 5 with the check of “Echo Typed
Character”.
5
Figure 4.4. Simulation Result of the Serial Communication between the Robot and
Android in Proteus
6
4.4. Summary
The simulation results of the control system using Proteus software are
explained in this chapter. Then the constructed real hardware of the system is tested.
The experimental results of the proposed circuit are then explained in this chapter.
The discussion, conclusion and recommendation will be described in the next chapter.