Questions tagged as 'arduino'

2
answers

Concatenate byte with string in Python 3.5.2

I am making an application where I detect data from a sensor from Arduino and I want to print them together with the date and time. The data I read from the Arduino serial port is byte type, while the date and time are str. I want to concaten...
asked by 28.09.2016 / 08:30
1
answer

Help with Arduino via Serial

I have an Arduino that I use to move some servos. The Arduino has the following code: #include<Servo.h> //Creamos los objetos servo Servo servo; Servo servo2; Servo servo3; Servo servo4; int enviado; //Aqui enviamos el numero completo...
asked by 21.10.2017 / 16:08
2
answers

Arduino - Error erasing EEPROM memory in MEGA

I'm new to Arduino and I'm having a problem with Arduino ... I have 2 plates. One is an Arduino UNO and another is an Arduino Mega. I run the following program in both, that the only thing it does is clean the EEPROM memory and show how it was....
asked by 31.07.2018 / 20:35
1
answer

Does the Arduino software emulate hardware?

Good day community of StackOverflow! I have been researching on the internet about the official Arduino software to determine whether or not it can emulate hardware, that is, I need to know if the Arduino software emulates in a virtual enviro...
asked by 30.05.2018 / 03:19
2
answers

Problems when moving DC motors

I have a Raspberry Pi with a web server where there is a joystick. I have programmed a script in python that is responsible for translating the position of the joystick to the speed that the DC motors have to have for the car to turn as indicate...
asked by 22.10.2017 / 00:20
2
answers

Convert char array to one byte

void loop() { String str = "F03A42"; int start = 0; int arr[2][19]; int t = 0; //El 'for' lo hace 6 veces hasta que acaba la cadena de datos for(int ends = 2;ends <= sizeof(str); ends += 2){ char...
asked by 17.06.2016 / 04:53
1
answer

Doubt with Pyserial on Mac

My problem is this, I just bought a MacBook Pro computer, I used to use Windows 10 to do Python practices, connecting it to Arduino using the Pyserial which was included in the Pycharm program. Now that I am suando Mac the program...
asked by 15.07.2016 / 04:17
1
answer

Python does not record sensor data in csv file

I'm doing a python tutorial with arduino, with an exercise that tries to record the data of two sensors: a motion sensor (digital input), and a potentiometer sensor (analog input). The problem I have is that although when I run the program it...
asked by 11.07.2017 / 10:18
0
answers

how to go from string to integer in processing? or how to concatenate integers? [closed]

Good I need to take the value of the string cade and pass it to an integer to make operations with it, there goes the code I appreciate your help import processing.net.*; Client c; String data; int r=1; int l1=0; Str...
asked by 04.05.2017 / 10:05
1
answer

Classes in arduino problem with the loop

good morning I have a problem when doing a class in Arduino and it is that the code is not repeated as in a loop, I explain: I made a library that allows me to control a series of LEDs in a blinking way and I want that blinking sequence to...
asked by 22.04.2017 / 02:03