Luna: Cute Interactive Desktop Robot
by Akshat Shankar Bidwai in Circuits > Arduino
12 Views, 1 Favorites, 0 Comments
Luna: Cute Interactive Desktop Robot

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:
- Arduino Uno
- 3x IR Sensors
- 1x Touch sensor
- 1x Smoke sensor
- 2x LEDs (Red and Green)
- SH1106 1.3-inch OLED Screen
- Battery
- Arduino Extension Shield (OPTIONAL)
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
Connections
1. SH1106 OLED Display (I2C)
- VCC → Arduino 5V
- GND → Arduino GND
- SCL → Arduino A5
- SDA → Arduino A4
2. IR Sensors
- IR Sensor 1
- VCC → Arduino 5V
- GND → Arduino GND
- OUT → Arduino Pin 7
- IR Sensor 2
- VCC → Arduino 5V
- GND → Arduino GND
- OUT → Arduino Pin 8
3. Capacitive Touch Sensor
- VCC → Arduino 5V
- GND → Arduino GND
- OUT → Arduino Pin 10
4. Smoke Sensor
- VCC → Arduino 5V
- GND → Arduino GND
- AOUT → Arduino A0
5. LEDs
- LED 1 (Green)
- Anode (+) → Arduino Pin 3
- Cathode (-) → GND
- LED 2 (Red)
- Anode (+) → Arduino Pin 4
- Cathode (-) → GND
CODE
Upload the code below. I have provided comments so that you can customize the expressions of your robot
Downloads
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.
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.
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