Fred is a modified Inmoov Robot. You can find the videos showing his contruction here: https://youtube.com/playlist?list=PLgXTfFM40HqEbnFfhaLPmLv_RS1ZRCilI
In version 4 of the script, we now add in the PIR and Ultrasonic sensors, to interface these, we are using an Arduino Nano.