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
-
2
votes0
answers134
viewsRead Arduino Serial with bluetooth 4.0 using Evothings
I am developing an application, where I want my iPhone touch information with Arduino from bluetooth 4.0. I was able to connect to Bluetooth and also send data through Serial, but I’m not able to…
-
2
votes0
answers132
viewsCommunicate with Arduino through the COM4 port
I created a code in c# to communicate with the Arduino uno. He has to pass me what the tag passed by the rfid reader and show in a textbox the value. I added the serialport1. Code:…
-
2
votes0
answers49
viewsProblems returning an Arduine array
I’m not getting back the array of the following code: void loop() { if(tem_msg){ lcd.clear(); // <-- limpa o cursor e retorna ele pra linha 1 e coluna 1 lcd.print(msg[indice]); // <-- printa a…
-
2
votes0
answers354
viewsDynamic Text Label on Tkinter
I researched a lot here in stack and google, I spent all night looking for a simple solution but I did not find, I saw some ways to solve but none worked for me until now. Situation: I am creating a…
-
2
votes1
answer737
views -
2
votes0
answers749
viewsHow to turn the servo motor using Arduino and a button? What would be the function?
I would like a help to program the servo motor with Arduino with a button. How can I control the rotation time with timestamp? I need to turn the servo motor from -90º to 180º. Thank you! #include…
arduinoasked 6 years, 11 months ago Yunrin 127 57 -
2
votes0
answers29
viewsSet a matching password?
Good afternoon, I’m making an android application to connect and communicate with an Internet via Bluetooth, my problem is regarding pairing, where I can’t set the password automatically to pair…
-
2
votes0
answers626
viewsMPU-6050 Raw Data Conversion Accelerometer
I am using an MPU6050 with Arduino UNO, however the values that this sensor displays are the raw values. I need the acceleration values for distance calculation, but I’m not getting the actual…
arduinoasked 6 years, 6 months ago Karine Guimarães 31 -
2
votes0
answers53
viewsLED Alloy - ARDUINO
Hello, I am a student of electrical engineering and I need to create a code that updates the reference values to light 3 different Leds in all possible combinations, the programming language is for…
-
2
votes2
answers841
viewsArduino + PHP + Mysql
Guys, I know little of PHP I’m having some doubts... I’m wanting to implement a connection of the three systems mentioned in the title. The idea is to capture two sensor values and send them to php…
-
2
votes0
answers51
viewsHow to successfully read and process data received through the Visual . NET serial port?
I got a arduino who is the detect tapping on a signal line audio level. Whenever it is detected a beat the arduino sends the character b to the serial port. So far I’ve managed to do. Now I was…
-
2
votes1
answer128
viewsProblem with graph c#
Good morning guys, I’m developing a program in which should be plotted several line graphics(x,y) on the screen, the y axis corresponds to serial port where is connected an Arduino UNO. As an…
-
2
votes2
answers157
viewsSend data via Arduino serial communication - Raspberry
Good morning, I’m having problems receiving the data that the Arduino is sending, what I want to read the line information, play this information in a variable and compare the values in Raspberry.…
-
2
votes0
answers248
viewsSwitch Case - Break and Return inside a Function - Arduino
Hello, good afternoon! I would like to understand how the switch case works in the Arduino C++ language. I have the following hypothetical situation: estado_principal=0; estados_Japão=0; setup () {…
-
1
votes1
answer280
viewsC++ if select object
I am making a program for Rduino written in C++ to turn on and off leds when a button is pressed. I created an Led class and put in it the methods, now I wrote an if that checks when a button is…
-
1
votes0
answers266
viewsRead Archive data for android
I have a sketch of Arduino that today allows me to turn on and delete leds via bluetooth with an app I developed in eclipse for android. Now I’m trying to capture the value of a power, as its value…
-
1
votes1
answer195
viewsInitiation with Arduino
I have knowledge in web and mobile programming. I have huge interest in learning Arduino and integrate my creations on the board to web and mobile systems. My question is: It’s worth messing with…
arduinoasked 9 years, 3 months ago Developer1903 717 -
1
votes0
answers204
viewsjava.lang.Noclassdeffounderror: gnu/io/Serialporteventlistener communication with Rduíno
I’m trying to make a java communication with an Afghani but I’m having a problem when I invoke a Class that implements the SerialPortEventListener on my controller. Controllers This Java class is…
-
1
votes2
answers194
viewsInstantiate class in a library by method in the Norwegian
I have this line of code, and in it I have 2 methods, where one sets up the keypad and another takes the key pressed. void Maleta::setKeypad(int r1, int r2, int r3, int r4, int c1, int c2, int c3,…
-
1
votes1
answer991
viewsReceiving data through the connection between the Internet and the Internet (Ethernet Shield)
I built an app to receive data from a sensor connected to the Antarctic over the Internet using a Shield Ethernet. For this I took the result of the page and separated only the sensor measure on…
-
1
votes1
answer375
viewsbitWrite function code for use with PIC microcontroller
I am therefore an Arduino code for the PIC pro compiler Mikroc. I arrived at a part that contains the following: byte data[3]; // pulse the clock pin 24 times to read the data for (byte j = 3; j--;)…
-
1
votes4
answers2455
viewsSerial Communication With PHP and Arduino
I already have a code in the Arduino IDE, in which when passed the letter 'l', an led will be access, however, I can not in any way access this serial port with PHP, I am using Fedora 22, Arduino…
-
1
votes1
answer898
viewsInterpret the JSON response of a Webservice that was called by Arduino
How do I interpret information from a Webservice who was called by the Arduino? Webservice returns a JSON and I need to interpret it. An example of the answer can be seen below: [{"valor":"10"}] The…
-
1
votes2
answers645
viewsMake calculations based on PHP or Mysql averages
A friend created a project in Arduino that monitors power consumption in Kw/h. It every 5 minutes inserts the consumption information in the Mysql database. Every five records I need to average…
-
1
votes1
answer370
viewsCommunication HC-06 with android
Hello, I am layman on the subject and I would like to know how to make, if possible, a data transfer via bluetooth from Android to the module HC-06 of the Internet using the phone pairing itself.…
-
1
votes0
answers843
viewsArduino UNO rebooting alone
Good afternoon, I have an Arduino UNO, and a Shield GSM ICOMSAT 1.1 here, was working normally with both, receiving and sending Smss, but when I added a Shield SD Card to generate a Datalogger the…
arduinoasked 8 years, 10 months ago Marco Antonio 95 -
1
votes0
answers54
viewsIs it possible to use the stlport library on an Arduino, with Cout?
I’m working on a project with an Arduino in which I need to use the library Eigen, so I’m using Eigenarduino. However, this library requires a standard library, which is not available in Arduino, by…
-
1
votes0
answers77
viewsArduino android and socket
How to make Arduino communicate with android using socket network protocol, to send and receive data? Traffic information captured in Rduíno, in this case of humidity and temperature.
-
1
votes1
answer384
viewsWhat is the ideal network protocol to communicate an App with Arduino?
I realized the creation of an application through Android Studio. I have a Mega Rduino, Shild Ethernet and infrared sensors. I would like to communicate my website with my application. Ex: I was…
-
1
votes1
answer134
viewsArduino: Bluetooth connection, and data storage
I am a beginner and I have some projects in mind, I wonder if it is possible to connect the phone to Rduino and make q an application pass some data to some memory linked to Uino and dps other…
-
1
votes3
answers3912
viewsArduino IDE does not open in Windows 10 - JAVA error
I installed the IDE of Arduino in my Windows 10 64bits and I’m having trouble executing: The log of debug gives this result C:\Program Files (x86)\Arduino>arduino_debug.exe Picked up…
-
1
votes0
answers68
viewsSafer form of connection between Android and Arduino
I am developing an application that communicates with Arduino (Uno). I used two modes to communicate so far, via USB (I used the usb-serial-for-android and Physicaloid libraries) and Bluetooth.…
-
1
votes1
answer124
viewsError - Lighting Led with 74HC595
Hello I’m trying to light the led 1 that is in the pin 1 of 74HC595 and the rest are erased and then erase the led 1 and light only the led 2 that is in the pin 2 of 74HC595, but the problem I’m…
-
1
votes0
answers217
viewsReception problems in the GPS module signal
I am trying to develop a program to capture coordinates by the GPS module and send the information to a server concatenated in url form, which will handle the information and display my location…
-
1
votes0
answers36
viewsRead values from a bluetooth, in a React application
I have an app in React and I have a Bluetooth connected to an Adian. When I send a value to bluetooth, I’d like to read it in my React app, but I can’t find how to do it.
-
1
votes0
answers106
viewsHow to Start Arduino Serial Communication with Raspberry PI 3
I am making a little project on the Arduino and need to start the Serial communication with the Raspberry PI 3 without IDE with the S.O Raspbian Lite. That is, the Raspbian Lite has no graphical…
-
1
votes1
answer164
viewsUnexpected return when converting String to Integer in Java
I have a java code in which you receive engine speed data. In java with I get a String I need to convert to integer to make a comparison to know if the engine started or not. When I get the string I…
-
1
votes0
answers472
viewsArduino RFID + Nanoshield Ethernet Network Communication Conflict Problem
Good afternoon, I have a difficulty in creating an Arduino program that reads an RFID TAG and validates the TAG in a mysql database. I have tried several ways, but to no avail. I first tested an…
-
1
votes0
answers16
viewsIs it possible to choose between . Hex files stored in Arduin’s sd?
I worked on an embedded project that changes the modules of different functions, but the program code for the Mega Rduino is too big to integrate all functions of the modules and to rewrite it, I…
arduinoasked 6 years, 11 months ago Ale Queiroz 11 -
1
votes1
answer131
viewsHow do I create a somaCum() function for Adian? C
Angles ang = {0.0,46.0,91.2,134.7,179.2}, the unit is deg (steps). I have to implement code that initializes the values as a global array, and then defines the void somaCum(float arr[]){} function…
-
1
votes1
answer208
viewsConnecting led with Arduino using strings
Perform code that causes the D1 LED to be erased when it is sent from PC to Arduino an odd decimal numeric digit between {1,3,5,7,9} and accessed if the sent digit is even between {0,2,4,6,8}. How…
-
1
votes1
answer658
viewserror: field has incomplete type
I get this mistake error: field has incomplete type by doing something like: class MinhaClasse { MinhaClasse teste; // Erro aqui }; I already tried to add this line at the beginning of the code…
-
1
votes1
answer146
viewsHow do I recover the current date of a Mysql database in Arduino?
I’m making database connection mysql using the Arduino next to esp8266, wanted to know how to take current date store in a variable to then send to the bank. I’m in trouble just to get the current…
-
1
votes0
answers33
viewsHow to do this routine in Assembly show 3 digits on screen?
I have the following code in avr Assembly. link The teacher passed this code and asked us to make the program show a 3 digit result on the screen of the lcd, since now it accepts only 2. The routine…
-
1
votes1
answer126
viewsPassing value from a label to Arduino via serial
I have developed a Windowsform that contains a label that checks CPU usage and displays its variations, and a button that connects the software to the Arduino in the available serial port. I also…
-
1
votes0
answers759
viewsReceive data from an Arduino sensor for the Android app ( Android Studio)
Good night! I need a help with the application I’m developing, I made the bluetooth connection of my Arduino with the android app and it’s all right, I can turn on and off small but I do not know…
-
1
votes1
answer49
viewsChar* value is shown even where it was not called using Arduino
This is exactly what I’m wearing: #include <SPI.h> #include <Ethernet.h> byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // Tentativa frustada, possui o mesmo problema: //uint32_t…
-
1
votes0
answers33
viewsSend AT commands by VB.NET to Arduino (SIM900)
Good afternoon, I am new in the programming part in Arduino, I am with an SIM900 connected to an Arduino UNO, I am making an application in VB.NET that will communicate by Serialport, which will…
-
1
votes1
answer472
viewsHow to create a function in Arduino with optional arguments
I would like to create a function that takes two arguments: Statuspino(nPino,Valor) However I would like, when I send only the pin number, the function read the logical pin value and when I enter…
arduinoasked 5 years, 6 months ago Eduardo Moraes 11 -
1
votes0
answers137
viewsSending string via Node by serial port to Arduino
I have a local server that keeps listening to the serial terminal of the Arduino and from certain data, he is able to make a select in a Mysql database to know if an RFID tag is registered (and…