Johnny-Five library #5203
Replies: 1 comment
-
Posted at 2015-04-21 by @gfwilliams Nope, it doesn't... What did you want to do with it - run Johnny-Five on a PC and then control Espruino with it, or run it on the Espruino board itself? Posted at 2015-04-21 by polaroid62 Run johnny five on a pc and then control Espruino . And I have also found a node module for Espruino but I can't install it . Posted at 2015-04-22 by @gfwilliams Ahh, ok - well, Johnny-Five could potentially be modified to send JavaScript commands over the serial link rather than the Firmata protocol - in which case it would 'just work' with Espruino. I don't think they've done that yet though. Which module did you try and install? There are a few different ones available. The main ones are: There's also the command-line tool that I've done, which isn't on NPM yet, but which uses the Web IDE's codebase so will upload a wider variety of code (including compiled code/assembler/etc). https://github.com/espruino/espruino-tools Posted at 2015-04-22 by polaroid62 node-espruino Failed at the [email protected] install script 'node-gyp rebuild'. Posted at 2015-04-22 by Spocki @polaroid62 You have to write an IO Plugin for Espruino (implements an interface to Firmata), see https://github.com/rwaldron/johnny-five/wiki/IO-Plugins. There's a template "Board-IO" to adapt. Posted at 2015-04-22 by @gfwilliams :) Well, Rick Waldron (one of the J5 creators) already has a bunch of Espruinos, so I'm kind of surprised he hasn't done this already. From the look of that page on IO plugins, it'd be dead easy to write one - for output at least you're basically just defining a bunch of functions that look like I'm not doing another KickStarter - at least until I forget how stressful it is! Posted at 2015-04-22 by @allObjects
@spoki, I feel Espruino listens to a different drum beat... as many other alike enterprises do too - and that is: get a thing done as small as possible and as a component to integrate/combine with alike component as easy as possible. This promises the largest (potential) clientele - for function and for (affordable) price. The same goes for the gazillion sensor (chip) solutions... 'We' - the Pico Kickstarter backer community - had the opportunity to choose larger or smaller... and smaller was the answer, hence the 0.05" pitch. And look how beautiful a Pico looks with an ESP8266! ...and the little shim makes it happen. Therefore, I think optimize an on-demand creation and delivery of shims / carriers dedicated to combinations could be a solution. Yes, there are a lot of combinations, but getting a (passive) shim/carrier going is a pico fraction of what it takes to get an board like Pico going. Posted at 2015-04-23 by @gfwilliams I'd be interested in doing a 'shim' with spaces for a bunch of different sensors, and maybe holes for an ESP8266. ...maybe when the BME680 comes out. That and a gyro/accelerometer/compass would be great. Posted at 2015-04-23 by DrAzzy Is that just a BME280 plus the gas sensor? The documentation they have on it is super sparse, but it's got the same pinout as the BME280... Wonder how expensive it will be... A gas sensor in such a tiny package is certainly cool, but you only need that functionality in a limited number of use cases, much less than for temp/humidity/pressure Posted at 2015-04-23 by @gfwilliams I think it's yet to be released - hopefully more info will follow. I don't know - I think a lot of people would appreciate an air quality indication. Any kind of weather station, room monitor, environmental sensing would benefit from it - including that one on the Quadcopter in the other thread :) Posted at 2015-04-23 by DrAzzy Yeah, definitely the quad copter project in that other thread cries out for a sensor like that. I wonder if it's sensitive enough to do air pollutants, though? Posted at 2016-01-29 by user61911 Hi! And what about running johny-five in espruino to control a serial connected arduino? Posted at 2016-01-29 by @gfwilliams You could potentially do that, yes. However Johnny-five itself is probably a bit too big to use on Espruino without a bit of work. However I'm not really sure why you'd want to do it? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-04-21 by polaroid62
Hi everyone
Can Espruino work with that or no?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions