Questions tagged [node.js]
The node.js tag has no summary.
33 questions
1
vote
0
answers
914
views
POST ESP32 image buffer using HTTPClient to Node.JS API
I'm trying to post the buffer generated by the ESP32 camera to my personal API service I have built with Node.JS. The post gets sent successfully. I have yet to test it on large image (higher ...
1
vote
2
answers
2k
views
Keep on getting scandone
I have a node server with express and socket io behind nginx reverse proxy at AWS.
I am try to connect remotely from my NodeMCU esp8266 through websocket io client to my server using ...
1
vote
1
answer
399
views
Node.js cannot recognize characters from the serial port
The following script prints everything fine, it recognizes integers from the serial port, but cannot recognize characters. The if statement does not work with characters. I have tried both == and ===...
1
vote
1
answer
349
views
Arduino Nano/Uno and js sketch compiling/uploading from browser
I need to compile generated source code in js runtime then upload it to my device.
Compiling:
I have found arduino-cli
Uploading:
There is only avrgirl but it doesn't work in browser. What should ...
0
votes
1
answer
2k
views
How to send IR data from Arduino to USB-TTL
I have a led receiver KY-022 and led emitter KY-005, I also have a PL2303 (USB-TTL). This is the code of the issuing LED:
#include <IRremote.h>
IRsend irsend;
void setup()
{
Serial.begin(9600)...
1
vote
1
answer
1k
views
Sending data to Arduino Via Nodejs: Arduino does not echo back the data
I have the following sketch that runs in a arduino UNO:
/*
* Copyright 2018 Dimitrios Desyllas
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and ...
2
votes
3
answers
5k
views
How to correctly read a string from Arduino serial port?
I'm trying to communicate with my Arduiono UNO via USB serial port, more precisely I'm trying to read a string like 125,0, I know it's full of article out there about this, but belive me I've tryied ...
0
votes
1
answer
672
views
SerialPort Node.js stuck in 'Error'
I am trying to get my Arduino to send data to my computer using Node.js Serial port. Everything compiles, my Arduino is working well and sending data in the serial monitor, but the program always goes ...
1
vote
0
answers
125
views
Is the johnny-five library and javascipt good for Arduino projects?
I am new to Arduino. I just have my Arduino UNO kit and started to do some small projects with node.js and the Johnny-five library.
My question is why there not many content about javascript+...
1
vote
2
answers
2k
views
Arduino Nano, nodeJS serial
I tried to make a 2 way communication between my Arduino and a PC(running linux mint) using NodeJS:
My Arduino code:
void setup() {
Serial.begin(9600);
}
void loop() {
if(Serial.available()) ...
0
votes
1
answer
2k
views
Error: Cannot find module 'serialport'. node.js, Arduino Yun
I carefully followed Andy Sigler's tutorial on how to setup node.js on Arduino Yun. But I'm getting this error "Cannot find module 'serialport'". my node.js file is in mnt/sda1/arduino/node folder. ...
0
votes
2
answers
326
views
Data not updated in real time
In my recent project, working with JSON and Arduino. Till now, I am getting proper JSON data and add this one into Arduino data. But here I face one problem. My data are not updated in real time.
For ...
1
vote
1
answer
1k
views
Arduino Yun used as Wi-Fi hotspot
I use for a project an Arduino Yun with Node.JS + socket.io to provide interactivity between a smartphone, driving through a webpage different devices.
I would like to enable this service for ...
0
votes
1
answer
61
views
Not sure which Arduino to pick [closed]
Is the Arduino Uno the best one to purchase for a complete beginner?
I eventually want to get into building Nodebots since I already have experience writing Nodejs web-based applications.
Or should ...
2
votes
0
answers
593
views
How to use console.log message from nodejs server, to control led pin 13?
I want to use Arduino Yun as a client, that connects to my nodejs server, receives a message from nodejs and then change led pin 13 on/off according to the message send.
I have this example of a ...
2
votes
0
answers
310
views
getting simple socketIO server to work with MRAA library on Edison
I spent the last week working with the CylonJS framework on my edison using a Maxbotix sensor.
Everyting works with a web client on the front end.
However at the last moment I can't get the edison to ...
2
votes
0
answers
191
views
How to reset an Arduino with node-serial?
I was reading about using an Arduino with a Makefile. In the Makefile-Arduino project there is a reference to the Python serial library required to reset the board.
Looking into the usage of PySerial ...