arduino Questions
7
Solved
Whenever i execute the code below it gives me following Error:
ImportError: cannot import name 'Serial' from 'serial' (unknown location)
Code:
from serial import Serial
arduinodata = Serial('co...
2
I'm starting to use the Android USB API to send data from an Arduino to an Android device. Is it possible to programmatically switch between send/receive data and just charge the Android phone?
I ...
4
Solved
Recently I have been using the := operator in python quite a bit, in this way:
if my_object := SomeClass.function_that_returns_object():
# do something with this object if it exists
print(my_obje...
Hog asked 21/8, 2021 at 3:58
5
Solved
So I'm trying to run this really simple code on my LCD display, using an ESP32.
When I compile the code in the Arduino IDE I get no errors.
But, when I try to upload it, I get the following error:
...
3
Solved
I'm have an Arduino Uno R3. I'm making logical objects for each of my sensors using C++. The Arduino has very limited on-board memory 32KB*, and, on average, my compiled objects are coming out arou...
Padishah asked 9/3, 2013 at 18:53
6
I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding.
I am faci...
Morganstein asked 8/8, 2018 at 15:25
7
Solved
I would like to convert a char to its ASCII int value.
I could fill an array with all possible values and compare to that, but it doesn't seems right to me. I would like something like
char mycha...
9
I am building a system with the Arduino Uno, a power shield (REf to model) and a bipolar stepper motor.
I cannot initiate the motor using the stepper library from Arduino. I instantiate my stepper...
Cronus asked 28/5, 2012 at 22:40
12
I am trying to read temperature and humidity from a DHT-11 sensor with a arduino uno R3
#include <DHT.h>
#include <LiquidCrystal.h>
#define DHTPIN A3
#define DHTTYPE DHT11
DHT dht(DH...
Stooge asked 29/11, 2016 at 20:6
3
I'm creating a App that involves Bluetooth and WiFi. I firstly connect the Phone to the Bluetooth and pass the WiFi ssid and password through it. Then after receiving the ssid and the password I at...
Drennen asked 8/1, 2021 at 21:6
2
I'm working with Arduino and Teensy boards from inside VS code. I can build and program everything fine, but the highlighting and code following functions built into VS Code don't work.
Previously,...
Bumpy asked 6/5, 2020 at 20:6
13
I get this error message when i try to upload code to my arduino. Does anyone know what is going on?
I have installed the proper drivers and it works fine. My port appears on the menu and it is the...
Selfcontent asked 23/11, 2016 at 18:18
5
Solved
I have this arduino sketch,
char temperature[10];
float temp = 10.55;
sprintf(temperature,"%f F", temp);
Serial.println(temperature);
temperature prints out as
? F
Any thoughts on how to form...
10
Solved
I am working with an Arduino and a real time clock chip. The chip compensates for leap years and such, so it will always have the correct date, but it does not handle daylight saving time, I assume...
8
Solved
I want to compile and transfer an Arduino program by myself on a Leonardo board.
Everything works great with the Arduino official IDE. I have enabled verbose mode for compiling and bytecode transf...
Calise asked 25/3, 2017 at 13:33
9
I'm trying to use vscode with arduino but have no success.
The problem seems to be something with the libraries path.
But I havent been able to fix that !
I'm on linux.
"message": "...
Inerrant asked 7/7, 2018 at 23:22
9
Solved
I'm using an Arduino with the Firmata library for communication to a C# application, and I want to eliminate a COM port configuration component since it can change from machine to machine...
Is it...
16
This is the main error that I get when I try to run my ARDUINO program. The full list of errors is as follows:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_ReceiveMessage(): timeo...
Wavelet asked 28/10, 2013 at 21:30
2
Solved
I'm learning to program my Arduino, but I have a pretty solid background in C++, which means that I was very disappointed to find that I couldn't use the C++ Standard Library. I've been looking aro...
5
Solved
is there any way to repeat a C code N times with a macro? Also N is a macro.
For example if I have this macros:
#define N 5
#define COODE "nop\n\t"
#define REPEAT [...]
When I call repeat the p...
Kirtley asked 17/11, 2014 at 22:57
4
Long-time Arduino IDE user, one-day VS Code + Arduino extension user:
When I first load a sketch and do "Arduino:Initialize", the name of the sketch is stored in the arduino.json settings file, e....
Tosspot asked 23/10, 2019 at 0:30
15
Solved
I'm reading data from 9 different sensors for my robot and I need to display them all steadily, in the same window so I can compare the values and see if any of the readings is off.
The problem I'...
2
Solved
The break and error indication glows up in real terms while communicating with RS-232. Sometimes, the CTS is also will be glowing.
Due to this, the data in prints as junk for some time; later it g...
11
Solved
My Arduino Uno is plugged in with mac USB port. But Arduino IDE is not showing any port.
(macOS- Catalina)
Flagellate asked 1/8, 2020 at 7:37
3
Recently I was attempting to upload some code on my Arduino and got this error:
****Arduino: 1.8.9 (Mac OS X), Board: "Arduino/Genuino Uno"
fork/exec /Users/Gu/Desktop/Every single yhing...
Nette asked 17/8, 2020 at 5:39
1 Next >
© 2022 - 2024 — McMap. All rights reserved.