Code for the Mechatronics 1 assignment (Year 3 IDE) to control a 2-axis gantry rig to search for treasure (AKA magnets) in a 500 x 500 mm 'beach'.
- Arduino Mega 2560
- HepcoMotion 2-axis gantry (driven by 2 stepper motors)
- MATLAB R2019b, with addons:
- MATLAB support package for Arduino hardware
- Symbolic math toolbox