Sam the Emotional Robot
When powered on, Sam will calmly greet you. However, Sam scares very easily. Move closer to Sam and he will throw up his arms and fear will consume his face. Once the initial shock subsides and Sam calms down, he will put down his arms and become happy once again.
Want to Build Sam?
At the core, Sam employs a Raspberry Pi, PiStorms, and serveral Lego bits and pieces. In this demo, EV3 motors and sensors are used alongside the touchscreen interface to provide a smart and interactive link from human to robot.
For those technically inclined, Sam uses his ultrasonic sensor to detect when something is too close to him. Motors on either side of his body jerk backward at full speed to show his startled emotions. His face (a small touchscreen display) shows a small image of a scared emoticon until the fear dwindles and he is calm again. His face is cleared and his arms lower back down to his sides. He sits unknowingly, awaiting the daunting attack of the next object to approach him.
If you want to build your own Sam to accompany you, the DIY instructions are listed below.
The along with python code.
4 - Mounting Screws
Battery Box - 6 AA
Raspberry Pi - A, B, or B+
- 16 - Connector Peg
6 - Double Angular Beam - Assorted Colors
4 - Technic 7M Beam
4 - Technic 5x3 Angular Half Beam
4 - Right Angle Peg Connector
3 - LEGO Mindstorms Cables - EV3 or NXT
2 - Straight Peg Connector
2 - LEGO Mindstorms Motors - EV3 or NXT
2 - 90 Degree 2M Cross Block
2 - Technic 11M Beam
2 - Technic 9M Beam
2 - 3M Connector Peg
2 - 4M Cross Axle
2 - 6M Cross Axle
2 - Double Cross Block
1 - 3M Cross Axle
1 - Technic 15M Beam
- 1 - LEGO Mindstorms EV3 Ultrasonic Sensor
- Assemble the PiStorms Frame
- Mount the Raspberry Pi using mounting screws
- Slide battery pack into the PiStorms Frame
- Make sure to feed the wires through the battery pack hole
- Attach power wires to PiStorms
- Place PiStorms onto the Raspberry Pi. The pins line up with the first row on the Raspberry Pi
- Assemble the two motor pieces
- Careful, each side is different
- Align it properly (left side of PiStorms)
- (right side)
- The lower support structure. This protects the wi-fi adapter and Raspberry Pi from any damage. It also props Sam up a little bit on the desk
- The grey beam will go on the end in a second
- After attaching the two black beams, place the gray one on the end
- Now to build Sam’s hands
- Each one is connected using the smaller cross beam through the back of the hand
- Then connect the two hands back to the motors with the other axle beams
- Let’s give Sam a head
- The support structure for the ultrasonic sensor looks very similar to the lower support structure
- Easy assembly for the ultrasonic sensor. A cross axle hold the ultrasonic sensor between the two 90 degree
- Attach the left support beam…
- ...then the right
- Place the ultrasonic sensor atop the support beams
- Add your wires
- I cleaned up the wires, and added a long beam to support the back
- All you have to do is pop the batteries in and he’s alive!!!