npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ev3-nodejs-bt

v0.0.4

Published

Bt Api for lego ev3 robot

Downloads

6

Readme

Ev3NodeJsBtAPI

Control your Lego Ev3 robot without hacking into intelligent brick (over bluetooth). A nodejs alternative to monobrick http://www.monobrick.dk/

!!!!!!tested on firmware V1.01H!!!!!!!!!

Change log

Exisiting !!!. Implemented Color sensor. For more details, run and read example.js (3 Mar 2014) Nice !!!, Color sensor can now work in other 2 different modes (light reflection intensity, ambient light intensity) (3 Mar 2014)

motivation

  1. You may not like graphic programming interface provided by official labview software (you know it is for kids :p).
  2. You may not want to heck into intelligent brick (if you do, check out the alternatives: http://www.lejos.org/).
  3. You are a nodejs fan.

If 1 2 3 are true for you, this module is the one for you. The module provide an node js api for controlling Lego Ev3 robot over bluetooth. You can write your robot control program in nodejs, run it on any bluetooth enabled pc/laptop, control your Ev3 robot remotely.

Usage

  1. go into "module"
  2. run "npm install"
  3. pair your laptop/pc with intelligent brick troubleshoot: http://www.ev-3.net/en/archives/97
  4. run example.js: "node example.js"
  5. see "example.js" for more details

Example.js

./example.js provide an interacive terminal interface for controlling motors.

press a, b, c or d to switch control among motors.

press up or down arrow to control motor output.

a demo available at : http://www.youtube.com/watch?v=HHfj1cx_dlw

press ctrl-C to quit.

Please Help

This module is built by reverse engineering the bluetooch communication between offical android Lego app and Ev3 robot. Currently I only deciphered the control protocol for motors, not sensors. If you have any information on the protocol, please help.

New to nodejs and async world, please feel free to refector my code.

You can help on testing on various Ev3 firmwares.