Xianghan Wang
3 min readFeb 16, 2022

--

AP Week 3

This week’s assignment is to use esp32 to make an interactive object. Lily and I worked as a team. We thought this assignment could be completed smoothly and not be complicated, but we didn’t expect so many difficulties and bugs in the production process.

First of all, our idea is to make a supporting manipulator. We used a temperature sensor, servo motors, cardboard, and a 3D printing pen to make the whole project. The original idea was that when the user’s body temperature was high/enough, the arm would give the user a high five; when the user’s body temperature was normal, the arm would wave to the user; and when the user’s body temperature was low, the arm would give the user a hug. We use people’s body temperature to simulate people’s high or low moods.

Then, although the functions of waving and high five can be well realized, the function of hugging can not be realized. We tried various ways to arrange and fix servo motors and found that only a servo stand could solve our problem (which we don’t have now).

Following is the simple sketch of our initial hugging idea. The arm will be waved down first and then recycled, giving people the feeling of hugging.

Because we have two hands, we initially used eight servo motors, and the test in Arduino was normal, but we just couldn’t connect all components with the cardboard.

Our original Arduino code.

Later, we urgently changed the idea and prepared to make a device that can be pasted on the wall to give comfort. When the body temperature is high and normal, it will clap and wave as before. When the body temperature is low, the arm will slightly down and touch the user’s head by rotating the hand.

However, when we were ready to dismantle all the previous things and rebuild them, our esp32 could not be connected to the computer. After trying countless solutions, we found that connecting the board again is the way to solve the problem.

However, making this simpler device is not smooth. Because we couldn’t fix the servo motor with screws, our arms fell several times during high fives and broke our palms.

Fortunately, we finally finished it.

This is our final result and coding.

--

--