A robot based on arduino, raspberry and java