Saturday, 11 July 2020

Spherical Quadruped Robot


Based on Greg06 Spherical Quadruped Arduino-Robot

This one I have re-drawn so that I can print it easier and I have added Bluetooth control.
Also modified it so that the gaps are smaller.


I have had no time to write it up yet. (lazy)
If you have a go at making it, and need more info, please ask questions in the comments below.
I will update as needed.

So at the moment I have just uploaded the STL files to print the parts.
If you load All into a 3D CAD program like FreeCAD it will load them in there correct place.

Here is a few pictures to show some print orientation.


A few pictures to show Electrics placement.
 


Screws I use to fix the parts together are: M1.7 x 6mm Pan Head Flat Tail Self Tapping Screws.


The servos (10 required) are the cheap SG90 9G Micro Gear Servo.
If you can afford it, go for some with carbon or metal gears.

The sonar module is the cheaper US-026 Ultrasonic Module.
The distance between the TX and RX Sensors are different to the HC-SR04 module.

The Bluetooth Module needs a data voltage converter. (3v-5v)

Used a Mini-360 MP2307 DC-DC Step Down Buck to step down

Used a cheap CH340G Nano V3.0 ATmega328 for the controller.

Used a PCA9685 16 Channel 12-bit PWM Servo motor Driver I2C to control the servos and LED's.

Used 20 x 3mm LED's. Red, Yellow, Blue, Green, White.

Batteries used are 2 x 3.7v 1200mA LiPo Batteries

I use plastic Cake Pops Sticks when making hinges and the like.
The size I have are 3.5mm dia. x 150mm long.

Used a LM2596 DC-DC module for dropping voltage to the servos.

Used single 2.54mm 0.1" Headers for making connections


More pictures:

 

Here are a few videos I made while making it:

I still need to add:
Wiring diagram.
The code for the Arduino.
The program for Android Phone.















9 comments:

  1. Hi Tim, can you please update the blog with the code for the Arduino and the program for Android Phone and the wiring diagram.

    Thanks :)

    ReplyDelete
    Replies
    1. Hi didamorte.
      Oh my, it's been so long, not sure how far I continued with it.
      I will have to look and see if I can find what I have done for it.

      Delete
    2. Thank you for your response.
      If you can find it please let me know.
      I'm doing this as a school project and it would be a great help to have your resources.

      Delete
    3. Hi didamorte.
      Not great news I am afraid.
      I don't think I went any farther than what you see in the videos.
      It was based on this Instructable. https://www.instructables.com/Spherical-Quadruped-Arduino-Robot/
      His firmware may work, apart from the LEDs.
      I did it to see if I could make better doors. Also I wanted it more printer friendly.
      The way I controlled it was through my "Tims PCA 9685 Controller" application.
      https://tims-pc-applications.blogspot.com/2020/05/tim-servo-x16-controller.html
      There is more about this application on an Instructable I did here: https://www.instructables.com/Tims-PCA9685-Controller/
      I uploaded the HEX part to the Nano. Without Bluetooth attached.
      Then I attached the Bluetooth module to the Nano's TX and RX pins via a voltage changer.
      I have done some details about Bluetooth here: https://tims-xy-plotter.blogspot.com/2019/01/configuration-of-bluetooth-module.html
      The "Tims PCA 9685 Controller" application then connected to the Bluetooth on the Nano.
      I made some scripts to make it walk.
      "Tims PCA 9685 Controller" application has a window where you can save scripts and call them at a click of a button.
      Your PC will need to have Bluetooth, I use a dongle.

      I am sure this was not what you was hoping for, but I hope you can what I did for your project.

      Delete
    4. But do you still have the code or the 3d models at least?
      I really wanted to do my project like your's I thought it looked great.

      Delete
    5. Yes they have been here all the time.
      Where it says: "So at the moment I have just uploaded the STL files to print the parts."
      Click the "STL files".
      About 7 lines down from the top. :)
      Does the link not work?

      Delete
    6. Oh ok, sorry I didnt saw the models, but you don't have the other thighs now, right? (the code for the Arduino and the program for Android Phone and the wiring diagram)

      Delete
    7. Sorry I did not get around to writing anything specific for this robot.
      I found it a bit top heavy, my main goal on this project was to see if I could improve the design.
      This I managed, so after that it got put on a shelf.
      I think I will have to update my blog to this effect.

      Do you have other boards besides the Nano?
      I have recently done an instructable for the ESP8266.
      Though I have made the instructable for a motor, I have tried to make the instructable so it shows how to modify the code to control what ever you want.
      With the ESP8266 you just need to do a web page and you connect to it with whatever you want.

      https://www.instructables.com/Wi-Fi-Control-of-a-Motor-With-Quadrature-Feedback/

      Delete