Introduction: Luna: Cute Interactive Desktop Robot

About: My name is Akshat Shankar Bidwai. I live in India. I am a student and studying in class 11. I am a hobbyist. I like to make automated projects.

Hi Guys, my name is Akshat, and I've made a Cute Interactive Arduino based Desktop Robot. It is emotional robot which shows emotions. It shows emotions like fear, anger, joy etc. It also Monitors Air quality and tells if the air has high Pollution of not. I've outlined detailed steps so you can easily replicate this project and play with it too !!!

Supplies

For this project you will need:

  1. Arduino Uno
  2. 3x IR Sensors
  3. 1x Touch sensor
  4. 1x Smoke sensor
  5. 2x LEDs (Red and Green)
  6. SH1106 1.3-inch OLED Screen
  7. Battery
  8. Arduino Extension Shield (OPTIONAL)

Step 1: Working

I have used an OLED screen to display emotions. Thanks to Flux Garage's easy to use Libraries because of which this project has become successful. When I lift the robot, it shows fear on Screen (IR sensor placed downwards). When I move my hand from left or right side of robot, the eyes look in the same direction. When I put my hand in front of the robot, it gets annoyed and displays an angry expression. When I tap on its head, it laughs and feel happy. All this happens because of IR sensors and Touch sensor. Moreover, the smoke sensor monitors the air quality and displays it in the form of lights (Red light- High Pollution, Green Light- Low Pollution).


Here is the video of how the robot works: https://youtu.be/2Kxn-mDM4FQ?si=p4b-WIH5IFiv_k5n

Step 2: Connections

1. SH1106 OLED Display (I2C)

  1. VCC → Arduino 5V
  2. GND → Arduino GND
  3. SCL → Arduino A5
  4. SDA → Arduino A4


2. IR Sensors

  1. IR Sensor 1
  2. VCC → Arduino 5V
  3. GND → Arduino GND
  4. OUT → Arduino Pin 7
  5. IR Sensor 2
  6. VCC → Arduino 5V
  7. GND → Arduino GND
  8. OUT → Arduino Pin 8


3. Capacitive Touch Sensor

  1. VCC → Arduino 5V
  2. GND → Arduino GND
  3. OUT → Arduino Pin 10


4. Smoke Sensor

  1. VCC → Arduino 5V
  2. GND → Arduino GND
  3. AOUT → Arduino A0


5. LEDs

  1. LED 1 (Green)
  2. Anode (+) → Arduino Pin 3
  3. Cathode (-) → GND
  4. LED 2 (Red)
  5. Anode (+) → Arduino Pin 4
  6. Cathode (-) → GND


Step 3: CODE

Upload the code below. I have provided comments so that you can customize the expressions of your robot

Step 4: Making the Body

I was having a small box at home by chance. So, I decided to use it as the body. You can make your custom body of any desired shape and size.

Step 5: Fitting the Components

I've made necessary cutouts in the box to place all the sensors at correct positions. Just make sure that you put an IR sensor facing downwards at the back of your body so that when you lift it, it senses and displays fear expressions.

Step 6: Conclusion

This is playful and cute desktop robot that you can easily make. Thank you for reading my Instructable. I hope you enjoyed it. If you have any doubts or face any errors in the project, you can drop a comment. I will help you and answer your question. Thanks