Questions tagged as 'arduino'

0
answers

Unexpected return when converting String to Integer in Java

I have a java code in which it receives motor rotation data. In Java with I get a String I need to convert to Integer to make a comparison to know if the engine has switched on or not. When I receive the string I give print on the screen and the...
asked by 03.10.2017 / 23:00
2
answers

How do I know which port my arduino board is connected to on Linux?

I'm working on a project with Arduino and found an example of how to connect the pc to the board. However the example was developed in Windows and the port in which the device is connected is informed. In the case of Windows would be the COM por...
asked by 19.09.2017 / 02:00
0
answers

Arduino - Conflict function / variable / library

I'm doing a program on Arduino. I'm using the Freematics OBDII (UART) adapter. They developed a specific library. There is a problem: trying to read a PID, which returns me 2 bytes with a value between 0 and 65535. Supposedly you should save thi...
asked by 18.09.2017 / 00:29
0
answers

Program goes into unwanted looping - Arduino

The following code should, when a button is pressed, execute the commands once. If the user holds the button pressed, the code must also be executed only once, as if it were just a pulse on the button. When you release the button, the system sho...
asked by 09.09.2017 / 22:46
1
answer

Need for pull-down resistor

I am using the attachInterrupt() function in Arduino Uno to recognize the end of stroke of an actuator. Usually the test is used with if() , however the actuator cycle is very fast and the recognition by this means becomes complic...
asked by 22.08.2017 / 20:14
0
answers

Doubt about error else without a predictive if, in serial communication between two arduinos

I am doing a communication, serial in the simulator tinkercad, between two arduino, my code is presented, error:    else without a predictive if The idea of programming is to press button, in the arduino emitter is to light led in the emi...
asked by 22.08.2017 / 22:29
1
answer

Send message every 5 minutes via the Arduino RTC module

I'm using an Arduino RTC module, which gives me date and time. I would like to know how I can send a message every 5 minutes. Below is the algorithm I'm using, the variable that prints the time is the variable ( rtc.getTimeStr() ). Note: T...
asked by 20.07.2017 / 20:28
0
answers

Update information received from arduino

I have made an application that interacts with a robotic head with Arduino and would like to know how to automatically receive all the data of the robot without having to trigger the sending of some command A log-like job, always keeping the...
asked by 06.06.2017 / 01:07
2
answers

Arduino restarting when starting the execution of python code

I'm new to development and especially to using Arduino. I'm developing a web application with python with some functions, one of them is turning on and off a light bulb (my problem). I developed the code, I used some already ready from the web (...
asked by 15.04.2017 / 21:33
0
answers

DHT library error

When I try to load the library DHT this error returns me, until today I could not make my dht22 work.    Include file from C: \ Program Files   (x86) \ Arduino \ libraries \ DHT-sensor-library-master \ DHT_U.cpp: 22: 0:       C...
asked by 06.04.2017 / 20:06