Questions tagged [johnny-five]

Firmata based JavaScript Arduino Framework

Johnny-Five is an Open Source, JavaScript Arduino programming framework, developed at Bocoup.

107 questions
8
votes
1 answer

Use Johnny-Five with React

I would like to use Johnny-Five and create an interface with React JS. I used this React setup tutorial. I installed Johnny-Five in the same project: http://johnny-five.io/ (Johnny-Five works very well alone, in standalone apps. This allows me to…
Julien
  • 1,946
  • 3
  • 33
  • 51
7
votes
2 answers

Nodejs modules not working as expected in different devices

I am using twitter streaming api & johnny-five with some other modules http , express& socket.io with arduino uno My script is working fine in laptop. But my production will be on a tablet. I have two tablets and both are responding differently. On…
Skyyy
  • 1,539
  • 2
  • 23
  • 60
4
votes
2 answers

Johnny Five: board not ready

I've previously had my Arduino kit working on the same hardware with Breakout, but would like to switch to Johnny Five. My hardware is wired with the simple single LED layout from http://weblog.bocoup.com/javascript-arduino-programming-with-nodejs/…
mikemaccana
  • 110,530
  • 99
  • 389
  • 494
3
votes
1 answer

Using johnny-five with Raspberry Pi

I'm trying to figure out how to use johnny-five with raspberry-pi board. Since the library that they recommend on johnny-five http://johnny-five.io/examples/raspi-io/ which is raspi-io is no longer up-to-date for the current version of node. When I…
An Trieu
  • 41
  • 1
3
votes
1 answer

johnny-five to arduino >>> serial communication

I am new to johnny-five.js framework (javascript-iot) I would like to do some "hello world" in johnny-five by blinking the onboard led at the arduino board and according to some tutorials the board is at default pin 13 and this is the…
Pedro Juan
  • 69
  • 6
3
votes
0 answers

How to use Johnny-five in Angular2 project

Please, I am new to angular2 and I need help implementing Johnny-Five in angular2. I created a provider (J5Provider): import { Injectable } from '@angular/core'; import 'rxjs/add/operator/map'; var raspi = require('raspi-io'); var j5 =…
3
votes
1 answer

Johnny Five Over Bluetooth Connection Issue

I want to run commands from my computer to an Arduino using JS/Johnny-Five, wirelessly. I have an Uno and an HC-05. I set the HC-05 up per the instructions in this URL. I can pair my computer to it and I have uploaded StandardFirmata to the Uno. But…
ailaG
  • 41
  • 1
  • 6
3
votes
1 answer

arduino wifi with cylon.js or johnny5.js

Do you know if is possibile to implement a wifi connection through Arduino one wifi modules using one of these javascript firmata (Cylon or Johnny5)? Reading the guidelines of these frameworks I didn't find any information about this. Thanks a lot.…
2
votes
1 answer

Control Arduino using Express JS server and Johnny-Five

I want to control my Arduino from a web interface, so I've created the client side in ReactJS and the server side in ExpressJS (Johnny-Five included). I just want to update the interval of a blinking led in real time, based on the user input. Here…
Andrei Rosu
  • 1,169
  • 2
  • 10
  • 26
2
votes
1 answer

Use analog output as digital in relay pins

I can use digital pins from 1-13 as usual. For example relays.firstRelay = new five.Relay ( { pin:13, type:'NO' }); But I am unable to set pin:14. I don't get any output. Is there a way to set A0 as digital pin and use it in relay? I am using…
Gokhan Dilek
  • 4,314
  • 4
  • 21
  • 24
2
votes
2 answers

Rookie error with Node.js, Johnny Five and Raspbian

I'm currently trying to communicate with Arduino through a web server created with Node.js installed on my Orange PI PC. In order to do this, I tried to use the module called johnny five, but the only output I receive is a bunch of errors. I'm using…
filyps98
  • 21
  • 3
2
votes
1 answer

Johnny five and multiple boards - how to recognize which board I am connected to

Let's say I am connecting 2 Arduino boards to the computer and I want to use Johnny-five here. Each of boards is used to different tasks, for example one reads sensors, the other controls some LEDs. So it is important to me to read/write signals to…
Aleksy Goroszko
  • 897
  • 7
  • 10
2
votes
0 answers

Twitter Streaming api shows several duplicates tweets

I am blink an led every time there is a new tweet. My script was working fine till yesterday. Today when i run my script its showing me duplicates tweets like this. I am using node.js ,twitter api and johnny-five Here is my script //INITIALIZING…
Skyyy
  • 1,539
  • 2
  • 23
  • 60
2
votes
1 answer

Use external C++ library with Johnny Five for Arduino based projects

I need to use the RFID-RC522 module in my Johnny Five project (it is an NFC reader). There is an arduino Library that makes it easy to interface with that: https://github.com/miguelbalboa/rfid Can i use this library through Johnny-Five? If yes,…
Morrisda
  • 1,380
  • 1
  • 11
  • 25
2
votes
2 answers

How to resolve 'cannot find module 'serialport' using Node.js and Johnny-Five?

Main goal: using Johnny-five and node.js to run a script for my Arduino, using LeapMotion Controls I have a folder with my 1: 'robotarm.js' script 2.the Leapjs 'lib' folder the 'node_modules' folder in leapjs which has underscore, glmatrix and…
user2855405
  • 495
  • 2
  • 7
  • 20
1
2 3 4 5 6 7 8