Tile Master is an web application written in React.js, that interacts with the Python backend in real-time to operate a robot, which purpose was to push the colored tiles on a factory line. The app is responsive, so it works both for phone, tablet and computer screens.
Previously, the robot was hosted on a raspberry PI, which operated the electrical components according to the requests sent by the users. Unfortunately, there are no electrical components anymore. There is however a real-time web application to demonstrate the capabilities and interactivity of the robot.
Through the Tile Master web app, the user could:
- Arbitrairly program the robot behaviour with pre-designed instructions
- Use the pre-made useful utilities, like sorting or displaying Morse Code
- Switch the robot to the manual mode, which stops the instruction execution and lets the user push the arm manually
- See all of the actions performed by robot's components
- See the counter of the tiles detected by the robot's scanner
To run the project, you need to run a python program that works as a server. This is a python program, so you need a python interpreter (3.8 or higher).
Firstly however, you need to install all of the dependencies. Go to the raspberry directory:
cd raspberry
Then install the dependencies and run the script:
pip install -r requirements.txt
python run_testing.py
python3 -m pip install -r requirements.txt
python3 run_testing.pyThen, every device on the same network can connect to it by typing in its ip:5000 (for example 192.168.0.20:5000) into the browser. On the same device, you can run localhost:5000 to connect to it.
