Robot Cat: Instructables
Robot Cat: Instructables
Robot Cat
by
https://youtu.be/GxLuHmEjDJo
Step 2: Bionics
The robot cat 3D print prototype is already at the third iteration and may be more iteration later on.
The rst phase of robot cat reduced many moving generate servo signal is much better.
parts, but it still requires 13 servos. In my previous
experience, direct driver servos with MCU GPIO is not PCA9685 driver board is a common solution, MCU
a good choice. The frequency signal may vary while simply use I2C interface communicate with the driver
MCU doing another job at the same time and the board and it can control 16 servos at the same time
servo may become unstable or introduce unexpected continuously.
behavior. Dedicate an individual driver board
Various MCU able to control a servo robot, here are some preference when I choose among them:
I have a M5Stack Camera Module in hand and it can ful ll all the above requirements.
In my experience, servo is very easy to damage. It is better buy few more spares in same order. Before using it, you
can use a servo tester to check it can works normal: https://www.instructables.com/id/Servo-Tester-2/
https://youtu.be/bTzfYoeTDcU
https://youtu.be/pJeJMNt-r1Y
Step 8: FSBrowserPlus
ESP32 have a bundled example called FSBrowser. It is a simple web server that host the web source les copied to
SPIFFS, it have a simple web editor for amend the source over WiFi and also it have a simple API to read the GPIO
values.
https://github.com/moononournation/FSBrowserPlus
Step 9: Program
A r d ui n o I D E
Download and install Arduino IDE if you are not yet do it:
https://www.arduino.cc/en/main/software
ES P 3 2 S up p o r t
Follow the Installation Instructions to add ESP32 support if you re not yet do it:
https://github.com/espressif/arduino-esp32
FS B r o w s e r P l us
Download FSBrowserPlus: (press "Clone or Download" -> "Download ZIP")
https://github.com/moononournation/FSBrowserPlus
A r d ui n o W e b S o c k e t s Li b r a r y
Download latest arduinoWebSockets libraries: (press "Clone or Download" -> "Download ZIP")
https://github.com/Links2004/arduinoWebSockets
Import libraries in Arduino IDE. (Arduino IDE "Sketch" Menu -> "Include Library" -> "Add .ZIP Library" -> select
downloaded ZIP le)
C o mp i l e & Up l o a d
1. Connect the M5Stack Camera Module with USB cable
2. Open Arduino IDE
Robot Cat: Page 8
3. Open FSBrowserPlus
4. Edit the ssid and password to your own WiFi AP credential
5. Press Arduino IDE "Upload" button
Use M2 screws and double adhesive tape to x all boards under the robot cat body.
The FSBrowserPlus program have a servo initial process, it will set all the servos to the middle position of the
turning range. Before install the servos, it is better connect the servos to the driver board, connect the grove
connector to the M5Stack Camera Module and plug in the battery to reset all the servo position to the middle.
3D printed paws are easy to worn out and not enough friction to the ground. Simply add some rubber band on it
can x these problems.
Use a 6 mm M3 screw to connect the joint. Insert a nylon or PET ring in the middle can reduce the friction.
There are few type of nylon arm included in the servo package. Insert the shortest nylon arm to the servo, except
head turn require a cross arm.
1. insert the servo into the joint start from the arm side
2. push the other side in carefully
3. plug in the battery to ensure the servo position is in the middle of the turning range
4. unplug the battery
5. screw up 2 screws on both side
Robot Cat: Page 11
6. screw up the black screw together with the joint
Repeat Install Joint and servo steps for all 10 leg joints.
The head turn servo can install from the upper side or lower side depends on you would like to have a longer or
shorter neck.
The head nod servo install method is the same as the leg joint.
Then you can install the M5Stack Camera Module with two 12 mm M4 screws
The tail servo must install from the lower side and then you can use a 8 mm M2 screw to x the tail.
Fix the Battery on the Robot Cat back with some double adhesive tape.
There are a hole near the head, the battery, Grove and head nod servo wires can pass though this hole to the power
or servo board.
There are reserved some rooms between front legs and the servo board, all wires can tidy up to this area.
This project is started over 2 years, but it still at the beginning. Much more I want to do...
The rst phase of hardware just start to work, it's time to work with software part:
pose sequence design web page, combine a number of pose in sequence to make some motion
store motion data to ash
vision sensor, add some AI factor to make environment interaction
microphone for listening and even speech recognition
balance sensor to avoid unexpected falling (cat should have good balance)
foot touch sensor to ensure touched the ground
web remote control interface with camera image stream
Hardware part:
reduce weight
better weight balance design especially when only 2 legs touch the ground
more head and tail motions
speaker for MEOW!