Skip to main content

Questions tagged [node.js]

Filter by
Sorted by
Tagged with
1 vote
0 answers
914 views

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 ...
Johnny boy's user avatar
1 vote
1 answer
490 views

I think the issue is within the library because I have try to implement this code according to the tutorial that I found in YouTube Youtube. The discussion of this tutorial is the first they implement ...
Ly Bunvath's user avatar
1 vote
1 answer
400 views

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 ===...
Harry Hobson's user avatar
0 votes
1 answer
415 views

I am planning to build a network with five Arduino Mega devices, each of which will collect data using multiple sensors. Each Arduino will periodically transmit the sensor data to a gateway Raspberry ...
Adnan Ali's user avatar
  • 119
1 vote
1 answer
350 views

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 ...
caxapexac's user avatar
  • 111
1 vote
0 answers
126 views

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+...
Qui-Gon Jinn's user avatar
0 votes
1 answer
62 views

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 ...
Daniel's user avatar
  • 103
1 vote
1 answer
2k views

I am HTTP posting a data to this web API https://morning-cliffs-85779.herokuapp.com/api/users from an Arduino connected to esp8226. I am using the wifiesp library to HTTP_POST data. The REST APIs are ...
tony mathew's user avatar
1 vote
2 answers
2k views

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 ...
Zeni's user avatar
  • 111
0 votes
1 answer
673 views

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 ...
J.C's user avatar
  • 101
0 votes
1 answer
1k views

I'm trying to get an arduino sending data to node but with no success. I'm connecting to an ar-drone 2.0 as in https://gist.github.com/maxogden/4152815 Here is my Arduino code: #include <...
lbrutti's user avatar
  • 111
0 votes
1 answer
2k views

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)...
FrEqDe's user avatar
  • 127
1 vote
1 answer
120 views

Here is my Arduino sketch: #include <HX711.h> #include <Wire.h> #include <LiquidCrystal_I2C.h> HX711 hx(9, 10, 128, 0.002229); LiquidCrystal_I2C lcd(0x27,16,2); void setup() { ...
J Edwards's user avatar
1 vote
1 answer
1k views

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 ...
Dimitrios Desyllas's user avatar
1 vote
1 answer
1k views

I followed this tutorial to connect the ESP8266 to a wifi network using AT commands. I used the below schematics (without the connection between ESP's CPIO 0 and Arduino's Ground): After that, I was ...
luuhd's user avatar
  • 11
0 votes
1 answer
1k views

I am using an Arduino Uno and a DTH11 temperature sensor to read temperature and then send that value to a computer via the serial port. A NodeJS application is running on the computer and captures ...
Sachith Muhandiram's user avatar
2 votes
1 answer
6k views

I'm sending a string from my sketch over Serial port as follows: Serial.println(F("Found ILI9341 LCD driver")); On the other side, I have a nodejs app using the serialport npm module, with something ...
jotadepicas's user avatar
0 votes
2 answers
327 views

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 ...
Hasan's user avatar
  • 1,486
0 votes
2 answers
3k views

In my recent project, I have to parse incoming JSON data in Arduino and I successfully did it. But it is only for one constant data string. For example, if my incoming JSON string like: {"TPS":"0.40"...
Hasan's user avatar
  • 1,486
1 vote
2 answers
2k views

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()) ...
Berrigan's user avatar
  • 138
0 votes
1 answer
2k views

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. ...
CuriousHash's user avatar
-1 votes
2 answers
251 views

Initially I was sending sensor data to NodeJS using socketIO and this worked perfectly. I had to add a function to control an RGB LED using this. This also works but I'm unable to perform these two ...
Ekom's user avatar
  • 111
1 vote
1 answer
2k views

We are trying to make an app that generates an Arduino sketch (.ino) using Google's Blockly and node.js, and uploads it to Arduino. Even after searching a lot, I am unable to find how to build and ...
Siddhesh's user avatar
2 votes
3 answers
5k views

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 ...
FabioEnne's user avatar
  • 233
0 votes
1 answer
625 views

I have an ESP8266 module attached to an Arduino Uno that is connected to my local network. On the network, at address 192.168.1.13, I have a nodejs/express server running on port 3000. How would I go ...
A metal chair's user avatar
2 votes
0 answers
1k views

I ran into some strange problems while trying to send data from my Node.js Server to my Arduino. My goal is to transfer an Int to the Arduino Nano and display it on a LCD. So far I managed to connect ...
Centro's user avatar
  • 21
0 votes
1 answer
859 views

I'd like to get a TCP based connection from an arduino to a node.JS server. I found an example, I've tried to run it but its throwing the errors below, would appreciate any help. Error Messages ...
bassteq's user avatar
1 vote
1 answer
1k views

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 ...
AtoM_84's user avatar
  • 11
0 votes
1 answer
250 views

I originally discouraged my friend against the use of Javascript in his robot project because I didn't know any use for Javascript outside of web developement but then I saw this book on amazon. Since ...
SemperAmbroscus's user avatar
2 votes
0 answers
593 views

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 ...
Tommy Otzen's user avatar
2 votes
0 answers
191 views

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 ...
poseid's user avatar
  • 325
3 votes
1 answer
357 views

I've done some basic apps with NodeJS firmata where I can connect to my Arduino Uno and do the basics like reading a pin or doing a servo write. I'd like to go further and play with some different ...
Gregir's user avatar
  • 161
2 votes
0 answers
310 views

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 ...
user2005121's user avatar