Questions tagged [arduino]

CRITICAL NOTICE! STRICT FOCUS ON PROGRAMMING RELATED INQUIRIES FOR ARDUINO ONLY. Arduino, an innovative and accessible platform for electronics prototyping, offers open-source hardware and software. Your queries should strictly pertain to programming Arduinos, specifically emphasizing the Arduino Language. For any general questions about Arduino, kindly direct them to one of the following reputable sources: arduino or https://forum.arduino.cc.

Manipulating a Stepper Motor using an Arduino and Node.js

I have successfully set up my stepper motor using an L293d driver connected to an Arduino. The instructions I followed can be found at this link: . I modified the code provided in the tutorial, originally meant for a DC motor, to work with my stepper motor ...

How can I change an element using jQuery's getElementById method?

My current setup involves using a web page as a server and an Arduino as a client. Whenever a specific mode is active, the Arduino sends the following code: <LED>on</LED> The server then adjusts its status accordingly based on this input. I ...

Serve vast in-memory array using ESPAsyncWebServer

I am attempting to serve a sizable float array with 8192 values from the ESP32 Heap using the ESPAsyncWebServer library for ArduinoIDE. The microcontroller I'm using is an ESP32 devkit c, and my goal is to access the array through a web browser. Here is th ...

Discovering how to retrieve data from the payload() function when receiving information from Firestore using an Arduino

Utilizing Arduino to access data from Firestore, a database, has been successful. By using the REST API, I managed to retrieve the payload from Firestore. However, my goal now is to store some of this data into a boolean variable. Here is the information ...

Filtering data from Arduino using web serial communication

My setup consists of an Arduino kit connected to a webserial API that sends data to an HTML div identified by the id 'target'. Currently, all the data is being logged into one stream despite having multiple dials and switches on the Arduino. The data for ...

Webduino successfully accepts POST parameters from curl, but is unable to receive them from Node

Check out the code snippet below to see the Arduino in action using the Webduino library: void handleConfigRequest(WebServer &server, WebServer::ConnectionType type, char *, bool) { // Processing POST request for new configuration if (type == WebServ ...

"Make sure to close the serial connection with Arduino's serial port before proceeding with

Trying to utilize node.js to display the Serial data from an Arduino Uno connected via USB. The file script.js contains the following code: var SerialPort= require("serialport"); SerialPort.list(function(err,ports){ ports.forEach(fun ...

Having difficulty establishing a connection between Arduino and Python with the PySerial library

I am currently working on a project with Arduino that involves communication with Python. After researching online, I found a sample code for Arduino Python serial communication which lights up an LED when the number 1 is entered. Although both the Python ...

Sending JSON data through an HTTP POST request using Arduino

I am attempting to send JSON data using an Arduino. When running this code, I attempt to send the JSON data with a QueryString parameter. However, when I try this code, the server responds with a message stating that the QueryString format is incorrect, in ...

Decoding JSON data from a URL on the Arduino IDE using ESP8266

My process involves programming the esp8266 using the Arduino IDE and connecting to a local network via WIFI. The goal is to download JSON content generated on the local server, with the following code being used: #include <ESP8266WiFi.h> #incl ...

Guide on accessing data from Infrared sensors sent to a local host via an Arduino with the help of jQuery

Currently, I have a setup where Infrared sensors are connected to an Arduino board. These sensors transmit the value of 1 when no object is detected and 0 when an object is present. To monitor these sensor readings, I have successfully created an HTTP web ...

Protecting my HTTP connections

Currently, I am working on my Home Automation project and here is how the setup looks like: An ESP8266 WiFi module will be connected to a variety of sensors. The module will run a light web server while a Linode Cloud will host specific NodeJS scripts a ...