3
votes
Accepted
How to send IR data from Arduino to USB-TTL
You are transmitting data by encoding it using one of probably many Sony Consumer Remote Control formats and expecting to decode it using one of many possible RS232 like formats. You will likely get ...
2
votes
arduino nodejs serial data chunked and not in synch
Serial.print(lat);
Serial.print(";");
Serial.print(lon);
Serial.print(";");
Serial.print(date);
Serial.print(";");
Serial.print(timestamp);
Serial.print(";");
Serial.print(temp);
...
2
votes
How to HTTP post a data to Node express API from a Arduino esp8226?
Did it heres the code
`if (client.connectSSL(server, 443)) {
Serial.println("Connected to server");
// Make a HTTP request
String PostData = content + volt;
Serial.println(PostData);
client.println("...
1
vote
How to transmit data from Arduino to Raspberry Pi?
Which protocol to use to transmit data from Arduinos to the Raspberry Pi? Do I have to write code for both Arduino and Raspberry Pi or are there existing solutions which I can use for this purpose?
...
1
vote
Arduino Nano/Uno and js sketch compiling/uploading from browser
You can't, and that's a good thing. If the browser could let a Web site access your hardware, that would be a huge security breach. You may be able to bypass this security restriction if you can write ...
1
vote
Keep on getting scandone
Try to use your Local IP as your client WebSocket.
...
...
const char* host = "192.168.x.x";
WifiClient wificlient;
...
...
void setup(){
...
...
startWiFi();
//WiFi.mode(WIFI_OFF);
//...
1
vote
SerialPort Node.js stuck in 'Error'
I see two issues in your code. I cannot say for sure they are related to
the problem you experience, but anyway:
The Readline parser's line terminator defaults to "\n", whereas
Arduino's Serial....
1
vote
Decimal numbers sent over Serial get split and sent over multiple ticks
As explained in Majenko’s comment, the serial link is not packetized: it
transmits individual bytes and nothing else. If you need to convey a
notion of “data packet”, or “full message”, you will have ...
1
vote
Sending data to Arduino Via Nodejs: Arduino does not echo back the data
There are too many String copies in your code. This is asking for
trouble, as it can lead to memory fragmentation and, ultimately, to
memory exhaustion. That's why I recommended in a comment to buffer ...
1
vote
ESP8266 cannot connect to an existing network after using AT command
you have Firmata in Atmega, AT firmware in ESP and the 'blink led' js on computer.
you did not follow the tutorial properly. it requires jonny-five firmware in esp8266
1
vote
Arduino Serial data communication with NodeJS
As Look Alterno wrote in a comment, you need to parse the incoming data on the receiving side. In this instance, you have to look for the line terminators. The Node.js serialport module provides a ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
node.js × 33arduino-uno × 14
serial × 10
esp8266 × 5
wifi × 3
communication × 3
web-server × 3
temperature-sensor × 3
arduino-yun × 3
arduino-mega × 2
nodemcu × 2
usb × 2
string × 2
compile × 2
serial-data × 2
json × 2
johnny-five × 2
programming × 1
arduino-ide × 1
arduino-nano × 1
sensors × 1
esp32 × 1
library × 1
c × 1
arduino-pro-mini × 1