- Spider robot video how to#
- Spider robot video serial#
- Spider robot video code#
- Spider robot video plus#
- Spider robot video series#
Connecting the Raspberry Pi with the Arduino
Spider robot video how to#
To learn how to use the RaspPi camera, go to.
Spider robot video serial#
To learn about serial communication, check out the video at. The RaspPi camera, USB mic, and logic level shifter were connected to the Raspberry Pi Zero ( Figure 11).įigure 11: Mic and camera attached with Raspberry Pi.
Spider robot video code#
You will find this code in the downloads as well. Lastly, the final code for the Arduino which will work with the Raspberry Pi (SPY-DER_Arduino.ino) file was uploaded to Arduino. The code available in folder “Program1” can be used to validate the basic robot movement functions like forward, backward, right, left, etc. The code is available in the downloads, as well as at program is available in the “Legs” folder. The Arduino sketch was uploaded to the Nano and the legs of the robot were calibrated. Special precaution must be taken while connecting servo motors to their designated positions as per the servo numbering figure and the circuit diagram.
The Arduino Nano is connected to the IO shield along with all the servo motors.
Spider robot video series#
The battery management system and two lithium-ion batteries connected in series were attached to the robot, which provided 7-8 volts ( Figure 6 and Figure 7).įigure 6: Battery with battery management system (BMS).įigure 7: Battery and BMS attached in the body.Īn LM2596 buck converter was used to reduce the voltage to five volts to provide power to the Arduino, servo motors, and the RaspPi. Take a look at Figure 4 and Figure 5.įigure 5: Legs connected with body through servo motors.Īttaching the Battery and Battery Management System The parts were 3D printed using an Ender 3 3D printer ( Figure 2).Īttaching Servo Motors on the 3D Printed PartsĪfter 3D printing the parts, SG90 servo motors were attached to them accordingly ( Figure 3).įigure 3: Servomotors attached with the body parts.Īll the 3D printed parts were assembled together through the servo motors. Building the Robot Designing and Printing PartsĪ few modifications were undertaken on an existing robot design ( Figure 1).
Spider robot video plus#
As the RAM and processing power is very limited with a RaspPi Zero, the accuracy results using local speech recognition systems weren’t that great, plus the latency was very high. Modified code of Picovoice ( ) is used for speech recognition and hotword detection. The RPi-Cam-Web-Interface ( ) is used for live video streaming since the latency is very low. As for the web based control interface, the webpage was built using HTML, CSS, and jQuery using the Flask framework. The Raspberry Pi controls the Arduino which, in turn, controls the spider robot’s movements with just a few simple modifications to the previous code.Īll the codes for this project are written in Python for the Raspberry Pi. This can be cumbersome, so the RaspPi was connected to the Nano through serial communication. All the features could be integrated together using the Raspberry Pi Zero but the whole spider movement control code had to be rewritten in Raspberry Pi. So, a Raspberry Pi Zero became the new computing device for SPY-DER. Implementing all these features onto a single Arduino board was not feasible and demanded a more powerful machine. Integrating speech recognition, web control, and surveillance was a big challenge.