GithubHelp home page GithubHelp logo

mearm / mearm-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mimeindustries/mearm-js

2.0 2.0 0.0 4.74 MB

A node.js module for controlling the MeArm on a Raspberry Pi

License: Other

Shell 0.01% JavaScript 98.68% HTML 0.82% CSS 0.49%

mearm-js's Introduction

MeArm JS

This is a library and standalone app to control a MeArm (http://mearm.com) from a RaspBerry Pi or other devices.

Manual Install

The steps to manually install MeArm JS on to a fresh Raspberry Pi (running Stretch or later) running Raspbian are as follows. All commands need running from the command line, either from the terminal on screen directly or over SSH.

  • Update the system:

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

  • Update the npm version.

curl https://www.npmjs.com/install.sh | sudo sh

  • Install packages we'll need to run the software

sudo apt-get install -y pigpio python-pigpio python3-pigpio

  • Install the MeArm Software

git clone https://github.com/mearm/mearm-js.git

  • Move into the repository

cd mearm-js

  • Install the npm modules

npm install

  • Enable I2C

sudo raspi-config

Select "Interfacing Options" then select "I2C" and enable the interface

  • Run the server

sudo nodejs ./server.js

  • Use it! You should now be able to use the joysticks on the Pi HAT to control the arm. You can also load the apps via your web browser if you browse to the IP address of your Raspberry Pi.

mearm-js's People

Contributors

bjpirt avatar phenoptix avatar

Stargazers

Moaaz Sidat avatar Kaj Siebert avatar

Watchers

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