Code Monkey home page Code Monkey logo

eddiebalance's Introduction

EddieBalance

Eddie the Balance Bot is a self blanacing robot based on the Intel Edison and Sparkfun Blocks.

This project now reflects my EddiePlus design which incorporates encoders and some new body stylings. The new 3D models and details including a builder's guide are available on thingiverse: www.thingiverse.com/thing:694969

EddieBalance is currently running the 05-15 Yocto image from Intel and requires the installation of libmraa (instructions to come in due time).

EddieBalance listens for data on two ports; one for gaining control and the other for sending commands. And Eddie returns data to the last IP received on the response port.

  • Control port: UDP 4240
  • Command port: UDP 4242
  • Response port: UDP 4243

To remote control Eddie you must gain control with a "bind" process that involves:

  • Sending "DISCOVER" to 255.255.255.255 on port 4240 - All Eddie's on the network will respond with "DISCOVER: [unique name]".

  • Using the IP/name from the response send "BIND" to [ip address] on port 4240 - Eddie will respond with "BIND: OK".

  • Now you can send command packets (currently listed in main.c) to UDP port 4242.

The bind process was a necessary evil to allow multiple Eddie robots on the same WiFi network. I've been unable to get the Edison's AccessPoint mode to work with the GPIO issue in motordriver.c and Bluetooth control is next on my list of features.

The build details for the original Eddie still remain on thingiverse (but I highly recommend building a balance bot with encoders): www.thingiverse.com/thing:655423

If you need help building your Eddie please contact me through thingiverse and I'll get an email back to you.

eddiebalance's People

Contributors

r3n33 avatar

Watchers

James Cloos avatar Lee Mun Poh 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.