Most voted "arduino" questions
Arduino is an open-source electronic prototyping platform based on flexible and easy-to-use hardware and software. It is aimed at artists, designers, hobbyists, and anyone interested in creating interactive objects or environments. This tag should be used when the problem is specific to Arduino.
Learn more…221 questions
Sort by count of
-
1
votes2
answers970
viewsArduino Ethernet Shield and PHP
Hello I am developing a code for Arduino + ethernet that triggers GET (PHP) methods, and PHP sends the received data from Arduino to Mysql. The code in php works perfectly, the ethernet can connect…
-
1
votes2
answers75
viewsError in Arduin (pointer to struct)
I’m trying to make the definition of types below but the Arduino accuses error of type declaration. /*Estrutura que abstrai a seringa*/ struct { int pot[7]; float nivel[7] = {0, 0.5, 1, 1.5, 2, 2.5,…
-
1
votes0
answers65
viewsCode on Arduino: App via Bluetooth
The image below shows the application I created to try to communicate with Arduin. Each option sends via serial a letter as shown on the screen. The point is that I need to ensure that the user…
-
1
votes1
answer322
viewsProblems making Arduino serial connection with PHP
I’m trying to make a thermometer with PHP, in Windows 10, and I’m capturing the data through an Arduino with code: #include <OneWire.h> #include <DallasTemperature.h> // Conectar o pino…
-
1
votes0
answers14
viewsCommunication with Arduino via await async . NET
Good afternoon! I’m studying the best way to communicate my web project with an Arduino board. So far I’ve managed SEND an asynchronous form of a command, according to the code below: //metodo para…
-
1
votes0
answers290
viewsSend and Receive Arduino data for Android via Internet
I am working on a project that I have communicate an Arduino with Android via Internet(Network), I have seen some tutorials on the subject but I could not finish yet, I would like to help to…
-
1
votes0
answers146
viewsProblem with serial interruption USART UDRE for Atmega328p
I’m having trouble using USART serial transmission interrupt in a program made in pure C and run in Rduino (Atmega 328p). My application requires pure C for reasons of efficiency and speed, but…
-
1
votes1
answer637
viewsSave to Arduine Memory EEPROM
I’m looking to do a Smartphone-controlled lock design. Basically, the user has the option to change the password by Keypad, but I want the new password(String) to be saved in the Internal memory of…
-
1
votes1
answer821
viewsinvalid Digit "9" in octal Constant Arduino
I have a problem with my temperature measurement function. #include "max6675.h" int ktcSO = 8; int ktcCS = 9; int ktcCLK = 10; MAX6675 ktc(ktcCLK, ktcCS, ktcSO); void setup() { Serial.begin(9600);…
-
1
votes1
answer450
viewsSplit string with comma as delimiting in Arduino’s Serial.read()
I’m developing an application in C# with Visual Studio that sends a character to the Arduino only now I want to send a string with this structure character, number as in the example below: A,0 or…
-
1
votes0
answers18
viewsArduino MQTT connection via read file
When connecting to the mqtt server using the Pubsubclient library, I can connect normally using: #define servidor_mqtt "192.168.15.24" Only this way I get hitched to always use the same address for…
-
1
votes0
answers66
viewsNodemcu does not receive the data as I send via UDP Protocol
I am developing a simple application, the goal is to simply send the reading of a sensor connected to an Arduino Nodemcu to a Raspberry PI, and perform a similar reading using Raspberry and send to…
-
1
votes0
answers219
viewssend Arduin integer number with esp8266 to mysql
I have an error when I send via ESP8266, the integer value with the name number, my code is as follows: #include <ESP8266WiFi.h> // Use this for WiFi instead of Ethernet.h #include…
-
1
votes0
answers30
viewsDivergence in reading
I made a sketch for Arduino MEGA, where receives data by Serial2 and displays in Serial, the communication happens but the byte sent is not the same as the received, for example: Send 0x01, receive…
-
1
votes2
answers366
viewsHow to generate a temperature x time graph of data collected by an Adian?
Good afternoon guys, I’m trying to use a program in python to read seven temperature values through the serial port with Arduino, so far the program I’ve done collects the data, saved in a text…
-
1
votes0
answers131
viewsArduino LCD Display does not display message
I’m using the simulator https://www.tinkercad.com. I am unable to do it appears the test message on the display. When calling does not show message, just turn on the display. What I’m doing wrong?…
-
1
votes0
answers38
viewsData transmission with Arduino
I’m monitoring 3 analog inputs of one Arduino UNO and I don’t know if the way I’m sending data to serial is correct, because when I try to receive the information in another language(C#) does not…
-
1
votes0
answers204
viewsReceive an HTML data via Arduino ESP32 Web Socket
Good afternoon. I’m developing a project with Arduino to perform the pulse count when a request via an HTTP web socket created by Arduino ESP32 is triggered. The request (in this case, when the user…
-
1
votes0
answers44
viewsPython & Arduino - Arduino does not restore my serial write() function
I am trying to communicate a python code and Arduin, but it is not returning the value to light the LED. Already all configured, Pip, pyserial etc. import serial import time import os conexao =…
-
1
votes2
answers647
viewsSending Email with Arduino
I am not able to connect properly with gmail smtp server, says "Username and Password not accepted", but my email and password is correct, I am not knowing exactly where the error is. #include…
-
1
votes1
answer68
viewsPython - value saved to database is reset
I’m doing a job for college using an Arduino and a Raspberry to make a self-contained vegetable garden. The sensors of temperature and humidity, luminosity and the hygrometer are connected to the…
-
1
votes1
answer76
viewsHow to save samples before and after an event in a circular buffer?
Hello, I’m processing a 17-hour audio dataset. wav (16-bit PCM, 192khz), to simulate a "real-time" processing that will be embedded in an ESP32, Arduino DUE or a RASP, depends on the results. How…
-
1
votes1
answer94
viewsValue storage problem of a variable in Arduino: it reads a value and saves for two cycles, is there any way to solve this?
My project consists of an Arduino program using the RFID module, to read card frequencies, to release a ratchet (similar to buses). A program in Python will read this frequency printed in the…
-
1
votes1
answer245
viewsArduino’s Serial.read() does not work as expected
In the void loop, I need it to read the difficulty, instead it keeps returning the string on the monitor. I’m spinning in this tinkercad project //Vamos começar definindo as notas para os sons…
-
1
votes0
answers79
viewsArduino (Tinygps) - why gps.Ncode always returns false?
I’m doing some tests with Arduino UNO and the NEO6MV2 gps module. It’s a very populous component, but I have two modules with the same problem: By running the code the Tinygps lib cannot translate…
-
1
votes1
answer76
viewsHeader Datalength with Arduino
I need help sending a HEADER, produced in Arduino (C++), and sent to a server Zabbix. Header documentation https://www.zabbix.com/documentation/devel/manual/appendix/protocols/header_datalen My Code…
-
1
votes0
answers59
viewsESP32 - Hardwareserial 110 Baudrate
I can’t do the reading of Serial in baudrate 110. I tried some alternatives of changing processor clock, but it didn’t work. Does anyone have any idea or suggestion of what to do? Thank you. #define…
-
1
votes0
answers22
viewsAccelerometer ADXL345 and Blik LED
Hello developers for Arduino. I am with a doubt already some time that I can not solve, I came here to get some hint for the solution of this my problem. I’m using the Accelerometer ADXL345 to take…
arduinoasked 4 years, 8 months ago Wagner Dantas 11 -
1
votes0
answers96
viewsI plan to send esp8266 data to a localhost database
Good, I have this code that in the future will read the temperature and humidity through sensors. But now I was testing to see if I could upload the data to the database, something that’s going…
arduinoasked 4 years, 8 months ago Roberto Nogueira 21 -
1
votes1
answer11
viewsRender image in graphical display
Program for IDE Arduino, ESP32. Objective is to have two functions to render in the graphic display, the logo, previously static image in the FLASH memory or preset image via UPLOAD. The drawBitmap…
-
0
votes1
answer368
viewsSave bi-dimensional array to EEPROM memory
I’m making a program for the Arduino written in C++ to turn on and off leds when a button is pressed. I want to save in an EEPROM memory the values of the leds that are connected and the amount of…
-
0
votes1
answer1388
views -
0
votes1
answer397
viewsArduino - invalid operands of types 'double' and 'double' to Binary 'Operator'
#include <DHT.h> #include <math.h> #include <stdlib.h> #include <stdafx.h> #include <iostream> #define DHT1PIN 2 #define DHT2PIN 3 #define DHT3PIN 4 #define DHT4PIN 5…
-
0
votes1
answer383
viewsAdd pointer to an Std:vector
Hi, need to add in a vector<TimedCommand> tCommands; access references for Timedcommand instances, example: TimedCommand command1("*.*.*.*.*.*",&sonCommand,"13"); (...)…
-
0
votes0
answers540
viewsCommunication between Android Studio and Arduino
Good afternoon! I’m making an application in Android Studio and trying to communicate with Arduino through the Apache library, such as "org.apache.http.Httpresponse" and I’m not succeeding. All the…
-
0
votes0
answers842
viewsSend whole type data via Bluetooth connection between android and Uino
I made a method to allow sending strings from android to Arduino through bluetooth and I succeeded! However the question arose of how it would be to send data of type 'int', following this same…
-
0
votes1
answer396
viewsKnow how many elements I have in an array in Arduino
I have an ARRAY of at most 100 row by 2 columns, which will be filled by a user. My program will play user activity after. What I want to know is how to know how many lines were filled with data.…
-
0
votes0
answers43
viewsSend String by Softwareserial
Hello I have a string and would like to send by Serial. But this giving error and not compiling. My code: #include <SoftwareSerial.h> SoftwareSerial swSer(2, 3); String variavel = "Hello";…
-
0
votes2
answers271
viewsArduino Traffic Light with PWM
Hello, I created an Arduino code to represent the functioning of a semaphore, however I am also using same code to (at the same time) send PWM signals to another device. The code is working, but I…
arduinoasked 8 years, 8 months ago José Roberto 25 -
0
votes2
answers81
viewsTake a hardware variable and play in a software
I have a potentiometer(hardware) that generates a variable that will range from 0 to 1023. I need to read this variable void atualizaDados(){ int valorpress; int valortemp;…
arduinoasked 8 years, 4 months ago Nathalia Horrana 1 -
0
votes0
answers155
viewsArduino - Ethernet Shield - Server connection
I have a server and an Arduino with a temperature sensor, but I’m not able to do a POST of the values taken by the sensor on the server page. Can anyone help me? Follow the code. #include…
-
0
votes1
answer634
viewsOpen external application within the application
I am developing an application that makes command via Arduino. So far everything goes well, but in the project the user will have access to external camera via IP, but I have no idea how I do it.…
-
0
votes1
answer137
viewsAnalog to Arduino digital value conversion
Hello, I am developing a line follower robot the sensor that performs the reading is analog (0 - 255) QTR Polulu, but the design requires that digital values (0 - 1) be used in the comparisons of…
arduinoasked 8 years, 2 months ago Hector Gabriel Garcia 99 -
0
votes1
answer401
viewsSeparate array and save to strings for later use
I have a bond for* what account of 1 to 8 and keeps in a array calling for str, but I would like that when the variable str to reach 8 is stored the value of str[i] in the array str_line[b];…
-
0
votes0
answers147
viewsReturn method
reciso create a method that returns the variable HUMIDITY; However I need to make a Thread to update the value of humidity every little time. (Moisture is read through the Arduino). You need to…
-
0
votes1
answer100
viewsConfigure GPRS module
I am developing a project that aims to take the location of the GPS and send via GPRS to the server. However I want to know how to configure the APN so that it can be accepted chip of any carrier in…
-
0
votes1
answer541
viewssend rfid data to Mysql
How do I make sure that when the tag goes through the rfid reader the following information is sent to the mysql database: "Salvador", "Bahia" ?
-
0
votes1
answer108
viewsTwo readers on the Australian
how this code in I read the card and inform if it is registered or not. Now I need to insert two rfid readers in the Arduino. How to add the second rfid reader to this code? include SPI.h include…
-
0
votes1
answer193
viewsArduino + C# + RFID?
I can get the id of tag with this snippet of code and play in a Textbox, but, it would take information from which reader RFID she was read? serialPort1.Open(); string entrada =…
-
0
votes0
answers770
viewsError in DHT library
Every time I try to load the library DHT return me this error, until today I could not make my dht22 work. In file included from C: Program Files (x86) Arduino Libraries DHT-sensor-library-master…
arduinoasked 7 years, 7 months ago Eudo Junior 1