Project made for the IRADA hackathon

Hello guys. We are sharing the code for the project Wheels 4 Water Basically, we have partitioned the code according to the 2 different section of the project, one being the Arduino (stationed part) while the other one is NodeMCU based robot section (the mobile one)

In arduino section, there are only arduino files which are controlling the robot and arduino’s microcontroller. In the python code folder, there are the python files wchich looks after the serial communication, implements the ID3 Machine Learning Algorithm, gathers the data points and much more. But as of now we have only made the python files. Soon we will be uploading the arduino files.

Note: This is not just a project which is using a line following robot. We just want to highligh the points wchich will prove that this is not a simple line-following robot:

This is not an arduino-powered robot. The microcontroller overning the robot is Nodemcu which makes it quite interesting because the Nodemcu has only single analog reading pin i.e. A0 whereas the robot will be controlled through 2 IR sensors controlling each motor. So, in order to use the single A0 pin to process two analog singals coming from IR sensors, I used 7401 IC which is a multiplexer to read multiple ipt signals at a time. If we have to make a robot, then we can just hard-code the directions for the motors (rotating the wheel) according to the geograhical locations between the starting point and the destination. But the main achievement of this project is sustainability in a smart manner. According to the real time data feeded into the google sheet, the robot will decide where it has to go and accordingly follow that line. As this was for demonstration pupose only, in the real-world situation, we can make the robot follow a certain section of the house so that it can reach to the desired section of house.


View Github