A hexapod robot based on an Arduino Mega 2560 R3