Questions tagged as 'arduino'

1
answer

Arduino I2C sends unexpected NACK

I am using a development board of microchip (explorer 16) with pic24f128ga010 as Master and Arduino as Slave . The PIC is sending everything right, but for some reason arduino sends NACK to all date , only sends ACK...
asked by 29.03.2015 / 18:43
3
answers

Why local variables are avoided in Arduino?

In several code examples for the Arduino, I note that there is almost no use of locally scoped variables. One of the examples in the IDE: Analog > AnalogInput : int sensorPin = A0; int ledPin = 13; int sensorValue = 0; void setup()...
asked by 24.12.2013 / 14:21
1
answer

Arduino serial port error with communication between C and Perl

I have to make a language communicate with arduino and vice versa. I have the program in C and I have to modify it for this project, the language I will have to use is Perl . Here is the code I have: use 5.014; use str...
asked by 23.08.2016 / 20:22
2
answers

Connect Arduino to SQL Server

I'm wanting to keep a database up to date with the Arduino sensor outputs. I would like to know if it is possible to directly connect Arduino to SQL Server for sending and receiving data. Or would the only option be to make an intermediate ap...
asked by 08.05.2015 / 16:01
1
answer

How can I record information with Arduino?

We are developing a reading system to check parameters of electrical pulses that are measured directly from the electrical grid of a residence, and for this to happen we need to read and archive these parameters for a month.  Is it possible to d...
asked by 24.11.2015 / 19:32
2
answers

How to use multithreading with arduino

I'm making a doorbell with arduino. This bell will be composed of: 01 Arduino ONE, 01 Buzzer, 01 Transmitter 433 Mhz, 01 Receiver 433 Mhz. My question revolves around how I can handle the listener who will be listening the controls...
asked by 09.02.2015 / 02:56
2
answers

Controlling extra inputs and outputs on Arduino Uno and Mega 2560 via software

During the development of an Arduino project, I needed more digital (input and output) terminals than those indicated on the board. Is it possible to control, via software, extra digital (pin) terminals on the Arduino Uno and Arduino Mega 256...
asked by 24.04.2014 / 18:22
1
answer

Libraries for communication between Arduino and Android

I am a beginner Arduino programmer trying to make a connection with my cell phone (Android) and / or my laptop using Java. I did some research and so far I've found three examples of how this might work: Using rxtx libraries (GNU IO) Us...
asked by 18.05.2014 / 15:18
1
answer

Arduino send GET to PHP page

I have the following code in Arduino: #include <SPI.h> #include <Ethernet.h> #include "DHT.h" #define DHTPIN 2 #define DHTTYPE DHT11 DHT dht(DHTPIN, DHTTYPE); byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; IPAddress ip...
asked by 23.03.2016 / 14:14
1
answer

Arduino with millis function - computer cycle

I'm trying to set up a computer cycle with Arduino that displays the offset and speed on a 16x2 LCD display, but I'm having trouble calculating speed. The displacement traveled is working perfectly, but the speed is only 0 km / h. I am a layman...
asked by 08.03.2015 / 01:08