We have used a low-cost microcontroller ATmega328 integrated with development board Arduino for the main controlling unit. For connecting the robot with the smartphone bluetooth sensor HC-05 is used. To run the prototype we used motor driver L298N and DC gear motors with DC batteries. To collect the data of temperature and humidity we have used a DHT11 sensor, later other sensors will be used also. To show the collected value we have used an Oled display. We are sending the collected data to a free cloud server Thingspeak via post method by Wi-Fi connection. To send the data with Wi-Fi we have used wifi module ESP8266. The unit circuit diagram of the prototype robot is given in Fig. 1.
We can use any android or smartphone app which can communicate with arduino. Then we receive the data and put them into our algorithm and robot runs. Let the app send us F, B, L, R and S. We have the circuit combination as Fig. 1 then the algorithm of our system is as follows:
Step 1. Turn the system on.
Step 2. Establish connection with smartphone via bluetooth.
Step 3. If connection established turn off the red led and turn on the green led.
Step 4. Establish connection with router for the internet via Wi-Fi and ESP8266.
Step 5. Wait for receiving the instruction.
Step 6. If receive data = = F then Forward going function works.
Step 7. If receive data = = B then Backward going function works.
Step 8. If receive data = = L then Left going function works.
Step 9. If receive data = = R then Right going function works.
Step 10. If receive data = = S then Stop function works.
Step 11. If connection is ok collect data with sensor.
Step 12. DHT11 sensor collects temperature and humidity values.
Step 13. It shows the values in the oled display.
Step 14. Then sends the data to the declared cloud server
Step 15. Monitor the data and take actions.
The system methodology by which the robot moves is described by the following block diagram mentioned in Fig. 2.
The programming language C + + is used in the microcontrollers. The unit system follows the flow diagram mentioned in Fig. 3.
The diagram mentioned in Fig. 4 shows how the data are collected with sensors and sent to the server via node MCU ESP8266. Power supplies are also mentioned.
A pulse sensor also added with the system then with optical pulse sensor and DHT11 the system for collecting data looks like Fig. 5. The sent data to the cloud can be monitored from mobile devices, smart phones and computers from all over the world. We have also developed an android app to see the values and monitor a particular patient. That output will be discussed in the results section.