GithubHelp home page GithubHelp logo

spider_robot's Introduction

Spider Robot Code

This repository contains the Spider Robot code for Arduino (plus some proof-of-concept code for Raspberry Pi in rpi folder.)

Requirements

  1. Arduino Uno
  2. Arduino power supply or USB cable if powered over USB
  3. Adafruit PCA9685 PWM driver
  4. 5 V, 3500 mA power supply
  5. HC-06 Bluetooth module
  6. Spider Robot

Wiring

Arduino and PCA9685 communicate using I2C.

Arduino Uno PCA9685
5V VCC
A4 SDA
A5 SCL
GND GND
Arduino Uno HC-06
3.3V VCC
GND GND
TX RXD
RX TXD

Note: When uploading firmware with PC → USB → Arduino, disconnect HC-06 from Arduino board (TX and RX are sufficient). HC-06 interferes with the programming process otherwise.

Servos need a lot of power. To prevent the PWM driver from overload, PCA9685 has a dedicated power connector.

5 V, 3500 mA power supply PCA9685 dedicated power connector
+ V+
- GND

See define servos' ports in spider_robot_main_code.ino, which servo to connect to which PCA9685 PWM port.

Usage

Servo Alignment

  1. Unscrew and remove servo arms to make Spider Robot servos rotate freely.
  2. Compile Scaling_servos.ino and upload it to Arduino. It will move all servos to 90°.
  3. Move each Spider Robot joint to the neutral position as shown on the picture: alignment.jpg
  4. Reattach servo arms with screws.

Main Code

This code listens for commands over the Blueetooth and executes requested move.

Compile spider_robot_main_code.ino and upload it to Arduino.

spider_robot's People

Contributors

rozmansi avatar noanastazija avatar

Watchers

 avatar

Forkers

amebis

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.