Questions tagged [johnny-five]

Firmata based JavaScript Arduino Framework

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

107 questions
1
vote
1 answer

Johnny-Five apps always fail with RangeError after less than 1 second

My Johnny-Five apps are all failing after less than 1 second. I've tried with 0.7.9 and 0.7.8. This is the error I'm seeing: ytham:[master]~/js/deltarobot$ node . 1386668719984 Board Connecting... 1386668719986 Board -> Serialport connected…
Yu Jiang Tham
  • 53
  • 1
  • 7
1
vote
4 answers

Node.js - installing johnny five library on windows

I'm trying to install the johnny five library for Node.js on windows 7 but keep getting an error: Your environment has been set up for using Node.js 0.10.15 (x64) and npm. C:\Users\User>npm install johnny-five npm http GET…
user2643512
  • 11
  • 1
  • 2
1
vote
1 answer

Serialport Node Errors on Beaglebone (ARM)

I'm trying to run a Node Arduino library [https://github.com/rwldrn/johnny-five] on a Beaglebone running Ubuntu 12.04. However, when ever I try run an example program (servo.js, or any other) the console spits…
Chromey
  • 97
  • 1
  • 11
0
votes
0 answers

Why am I encountering a 'serialport.list is not a function' error when using Johnny Five with the Arduino board and how can I fix it?

I'm working on executing JavaScript on an Arduino board using the "Johnny Five" library. However, I encountered an issue when trying to install the required dependencies, specifically the "serialport" module. After installing "serialport," I…
BestMat
  • 11
  • 4
0
votes
0 answers

Cannot get serialport to work for johnny-five: Node_Module_Version Error

/node_modules/@serialport/bindings/build/Release/bindings.node' was compiled against a different Node.js version using NODE_MODULE_VERSION 109. This version of Node.js requires NODE_MODULE_VERSION 111. Please try re-compiling or re-installing the…
0
votes
0 answers

I'm working on arduino using johnny five. I need to control stepper motor for my project

I was tried many times to install AdvancedFirmata and ConfigurableFirmata on arduino ide for my johnny five.It actually installed but when I try to compile it show an error what I have to do?
0
votes
0 answers

Read i2c sensor with johnny-five library (Adafruit_AS726x)

I'm writing code with the johnny five library to pilote a process. Sometime I find some i2c device not include in the johnny-five library. One of them is the Adafruit AS7262 (https://www.adafruit.com/product/3779) With johnny-five we could read and…
0
votes
1 answer

I want to get mfrc522 readed data from ardiuno to my nodejs server using javascrip so can anybody know how to do it

I have ardiuno in which i have connected mfrc522 rfid reader , so i want the data which rc522 have readed from ardiuno. I have tried using have tried it using sketch which is written in cpp but i want it in nodejs.
user12902851
0
votes
0 answers

Npm errors with johnny five

When I npm install johnny five it doesnt download a directory. When I try to run my index.js file with johnny five piezo example it just doesnt want to run. Gives me an error about serialport. I tried installing serialport, didnt work. Also tried…
Dkrisztan
  • 11
  • 1
0
votes
0 answers

Problem to execute an array using Arduino in Johnny-five and Nodejs

I'm with a problem in my code and I don't know how to solve. My code has a function to blink a led using an Arduino Uno and Johnny-Five library in Nodejs. I'm passing this array from my front-end to my back-end: [ 'Blink_Led', 'Blink_Led', '' ] and…
0
votes
1 answer

How to use a function of nodejs to use in a button in html for use joohny five?

I create a server using nodejs with express server.js const express = require('express'); const app = express(); const path = require('path'); const router = express.Router(); router.get('/',function(req,res){ …
Alexander
  • 13
  • 3
0
votes
1 answer

slider controlling Lottie animation with Javascript

I have a question: Is there a way to control a Lottie animation using a slider in Javascript? I've tried triggering the animation using a simple button and that works. I'm using a physical slider (potentiometer) with an Arduino, so the slider gives…
Arthur Robaeys
  • 327
  • 3
  • 15
0
votes
0 answers

Serial(UART) Communication between Arduino Mega and NodeMCU ESP8266 using johnny five / Firmata js

I'm making a project wherein I wanted to make the two devices communicate (Arduino Mega and NodeMCU respectively) which the Arduino Mega can send data via serial comm.(UART) to the NodeMCU. The NodeMCU acts as a bridge which has a Firmata in…
0
votes
1 answer

How to wait for function to execute and get proper promise response?

I'm creating website using Johnny-five,React and node.js to control my Arduino board but I got stuck on handling async/await function. So, user is sending chosen port (COM1) for example to server, server then creates new instance of board async…
sienki_jenki
  • 111
  • 1
  • 8
0
votes
0 answers

Dimming an AC-powered LED using Johnny-Five

Is it possible to control Dimmable AC-powered LEDs using J5 on an ESP8266? Working with the following: ESP8266 Microcontroller RobotDyn AC Dimmer Question: First up, Is this even possible using J5 over WiFi with an ESP8266? I've read there are…
WhatsYourFunction
  • 621
  • 1
  • 9
  • 25