Coder Social home page Coder Social logo

robotcontrol's Introduction

RobotControl

Arduino ESP8266 project for UBTech Alpha 1S Controller.

Initial version 1.0 comes from the sample in my UBTech library.

Versionn 2.0 will define a new set of communization protocol. In this version, it will support both V1 & V2 commands.

Major changes in V2

  • New command set for V2 with start / end cod and checksum for better communization control
  • Use major loop for action playback, so there has no block in playing action, can be stopped anytime
  • Default reset action with all servo locked, and LED on
  • Use single file to store individual action
  • Define name for action (to be used in PC UI only), and a maximum of 255 actions allowed
  • Support up to 255 steps for each action
  • Support servo LED control
  • Support Robot Head Light control
  • Support remote control by
    • USB direct connect
    • Bluetooth
    • WiFi with router
    • WiFi with softAP

Dependency

Save all above libraries in lib folder.

Installation

This is a Visual Studio Code project with PlatformIO IDE.

  • Install Visual Studio Code
  • Install the PlatformIO IDE extension
  • Open the folder in Visual Studio Code

Hardware

  • ESP8266 board
  • HC-05 for Bluetooth connection

Pin Assignment for ESP8266 Board

Pin Usage
GPIO-12 Connect to signal pin of Servo
Rx Connect to Tx of HC-05
Tx Connect to Rx of HC-05
GOPI-2 Connect to Rx of serial console for debug output

robotcontrol's People

Contributors

super169 avatar

Watchers

 avatar

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.