Questions tagged as 'arduino'

0
answers

send the array value to the mysql database

I would like to be able to send the array data in the convert.toCharArray parameter to the mysql database? My question is what value do I put in the INSERT line in the VALUES field? I can connect to the base but nothing appears in the table crea...
asked by 01.10.2018 / 15:15
0
answers

Error: 33 = got packets out of order

When I run the code, the serial monitor shows the temperature value, but then it does not send to the MQTT broker nor to the database, if you run the code separately, that is, one at a time it already sends or for the database or to the MQTT bro...
asked by 01.10.2018 / 19:46
0
answers

ObtainMessage does not call Handler

I'm doing a communication between arduino and android, the android already manages to send command to the arduino quietly, however now I want to read commands received from arduino. I managed to make it work however with a class that extends thr...
asked by 28.09.2018 / 23:36
0
answers

Control servo motor and brushless motor

I have a nano Arduino and need to move two components via bluetooth: a servo motor and a brushless motor. In the Android app, step two variables: one for port 4 and one for port 5. On port 4 is Servo motor and on port 5 is the brushless motor...
asked by 29.09.2018 / 16:32
0
answers

How to record information using the MFRC522 in arduino?

I'm using an MRFC522 module to use arduino with NFC, so I can read the UID of the tag normally. But when I try to write something in the memory blocks it appears: PCD Authentication () failed: Timeout in communication. Theoretically the cards co...
asked by 31.08.2018 / 23:17
1
answer

Numeric Counter

I must create a program that commands a hardware in which I have connected in 3 different ports of the arduino a circuit containing 3 leds. The program should raise these LEDs in binary order. I have two functions ready, the first function...
asked by 24.08.2018 / 00:30
0
answers

Increase the speed of the bluetooth HC-05 module

Hello, I have a project with Arduino and with the HC-05 Bluetooth module that receives the MACS of Bluetooth devices around (do not connect, just search). It works, but I would like it to perform better by capturing, for example, devices that pa...
asked by 15.08.2018 / 00:44
0
answers

Code matplotlib does not show y-axis scale

I'm doing a program in Python 2.7.15 to display the data of various temperature sensors in real time by serial communication with the Arduino. However, the chart showed some unwanted problems that I broke my mind trying to solve, but no solution...
asked by 24.07.2018 / 15:22
1
answer

Motion sensor only of value 0

I am trying to detect motion using the mini PIR motion sensor but only gives the value 0, does anyone know how to solve this problem? The code is as follows: //Declaramos os pinos que vamos a usar int Pin = 7; //Analogico A5 para o sensor in...
asked by 16.07.2018 / 11:24
0
answers

Arduino Ethernet Shield with SD Card does not le the html file

Hello, I have a problem, my Ethernet Shield does not start the SD Card, it gives the following error: "ERROR - SD card initialization failed!". Can someone help me? PS: I'm using Arduino Mega Code: #include <SPI.h> #include <Eth...
asked by 25.06.2018 / 16:53