Learn how I made by Mine Sweeper Robot using IoT!!!
Description:
In the past and exactly in the year 1939 were the worst thing happened which is World war 2, Countries were fighting and planting landmines for the enemy whenever someone moves over it exploded, And here it comes the solution and the use of Robots they made our life easier where we can easily do all dangerous jobs. In Egypt, there are planted mines in the El-Alamein city certain places not all over the city and here it comes the idea of creating a competition that invites all motivated and brilliant teams from all over the world to take part in and have the chance to join this wonderful experience and I got the chance to join this competition and be the Software Engineer of this MineSweeper Robot.
Introduction:
In this Competition called ARC (Alamein Robotics ChampionChip), In this competition, all teams work independently to figure out the best mechanism, landmine detector, and best software that handle all data transmitted from the metal detector and the Co-pilot GUI also the PS4 JoyStick that will solve the map of landmines in a good way.
Information about me and my Team:
I am a software Engineer at Robo-Tech Team that was founded in 2017 at Alexandria University in the faculty of Engineering, Robo-tech mainly focuses on ROVs that used to participate in MATE ROVs Competition, ROV (Remotely operated vehicle) which is:
this is the Arduino code example I created to explain the publishing into the topic as you see there is a topic called Encoder and a node called chatter, this node publishes encoders data into that topic, and then the raspberry pi with ubuntu 20 installed gets those data and do calculations as bellow:
this is the code that gets the data and makes all calculations to get the linear distance in meters, all other components communicate with the same method.
Now after getting the value of the encoder on the Encoder topic, there are many topics else such as IMU, ControllerValues, and mine detector.
The mine detector is made of two coils that make a magnetic field around it with the number of fluxes and there is a transmitter-receiver, when the receiver notice a change in the magnetic field that means there is a metal (landmine) and the robot makes a sound and also a map for each landmine, in the end, it gives the judge a CSV file that has all detected maps, those sender and receiver data are managed by two ways one with hardware components and the other with the code by receiving a reference data which is constant and another analog data if the analog data change concerning the reference value it means there is a mine so map it and it's co-ordinated like x-axis has values (A, B, C, etc) and y-axis with numbers starting from 0, for example, a mine found at A 0, which means in the square of 'A' at x-axis and y-axis at 0.
this is an example of the map generated from the robot to the GUI.
I hope I explained everything very well that the robot mission.
- Mohamed Bahaa
- Mar, 27 2022