Questions tagged as 'arduino'

0
answers

Arduino - Sending Infrared Signal

I'm trying to turn on and off a Sony projector with Arduino, I've already been able to capture the code sent by the controller. But when transmitting this signal to the projector, nothing happens. Please, can anyone help me? This is the code I'm...
asked by 23.02.2017 / 01:39
1
answer

Arduino Hash Function

I'm doing a project where I need to randomly generate Hash numbers. The code has to work as follows. A random function generates a random number, these numbers are concatenated with a String to then generate the Hash o...
asked by 28.12.2016 / 15:35
0
answers

Arduino and PHP communication via serial

Friends, forgive me for the post, but I do not understand PHP. I already read some other posts here on the site, applied a few things but turned into a mess. The idea is to make PHP send a letter that will serve as a trigger for the arduino to r...
asked by 01.12.2016 / 17:45
1
answer

Conversion value analog to digital Arduino

Hello, I'm developing a line follower robot the sensor reading is analog (0 - 255) Polulu QTR, but the project requires that digital values (0 - 1) be used in comparisons of values like: if(digitalRead(sensor1) > digitalRead(sensor2)){ ... }...
asked by 15.09.2016 / 02:22
1
answer

Open external application within the application

I'm developing an application that does Arduino command. So far everything is fine, but in the project the user will have access to the external camera via IP, but I have no idea how I do it. Camera Model: IP Camera P2P IP: NIP-28869...
asked by 10.09.2016 / 23:54
0
answers

Method with return

create a method that returns the variable HUMIDITY; But I need to make a Thread to update the value of the humidity every now and then. (The humidity is read through the Arduino). Is it necessary to make a thread or not the need? Here's the c...
asked by 07.06.2016 / 02:31
0
answers

Send String by SoftwareSerial

Hello I have a string and would like to send it via Serial. But it is giving error and not compiling. My code: #include <SoftwareSerial.h> SoftwareSerial swSer(2, 3); String variavel = "Hello"; void setup() { } void loop() { sw...
asked by 11.05.2016 / 20:18
1
answer

Knowing how many elements I have in an Arduino array

I have an ARRAY of at most 100 lines by 2 columns, which will be filled by a user. My program will play back user activity later. What I want to know is how to know how many rows were filled with data. Is there any C command for this?    ...
asked by 07.05.2016 / 23:59
0
answers

Arduino - Ethernet Shield - Connection with server

I have a server and an Arduino with a temperature sensor, but I'm not able to do a POST of values taken by the sensor on the server page. Can anyone help me? Follow the code. #include <DHT.h> #include <Ethernet.h> #include <S...
asked by 07.04.2016 / 18:56
0
answers

Send data of the integer type through the Bluetooth connection between android and arduino

I made a method to allow the sending of strings from android to arduino through bluetooth and I was successful! However, the question arose as to how to send data of type 'int', following the same idea. What would be the code for this applica...
asked by 24.12.2015 / 13:34