Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
2 answers
636 views

Arduino IDE Failing to Compile Any Sketches

OS: Windows 11 Arduino IDE Version: 2.3.2 I recently opened up my Arduino IDE to find that nothing--absolutely nothing--would compile. Whenever I tried, I got the following error message: Using board '...
Robert Goddard-Wright's user avatar
0 votes
0 answers
94 views

Why can my computer not see my Arduino Uno?

I've plugged my ELEGOO Uno R3 into a USB port on my computer with a USB cable. However, neither Arduino IDE nor my computer can see the device. When the Uno is connected, it shows no connected devices....
elvishpotato's user avatar
0 votes
1 answer
110 views

Error: void value not ignored as it ought to be done = radio.read(&Irms, sizeof(float));

Good morning everyone, I had this sketch that worked now when loading the program gives me an error: #include <Wire.h> #include <SPI.h> #include <nRF24L01.h> #include <RF24.h> ...
ksalva's user avatar
  • 9
1 vote
0 answers
193 views

Issue with multiple RC522s connected to Arduino Uno

THIS IS NOT A DUPLICATE QUESTION. My main problem is that whenever I attach the third RC522, the whole system becomes unstable. When I attach the fourth, suddenly one or two of the modules stop ...
Arman Asgharpoor's user avatar
-1 votes
2 answers
173 views

I cannot resolve the errors with attachInterrupt() (error: invalid use of non-static member function) [duplicate]

I have been trying for days to get this code to work, but I cannot find a solution. Can anyone please help me find what I am missing here? My sketch: #include <ControlInterrupt.h> const int ...
TheCodeGeek's user avatar
2 votes
3 answers
793 views

Importing content of text file as string into Arduino code

Is there any macro for importing the content of a file (for example html code) located in the sketch folder as a string for the Arduino IDE during compilation time?
Ali.kavari76's user avatar
2 votes
1 answer
710 views

Read binary file on SD card

Why I can't read the last byte in the file when I use the Arduino ide code? The code in cpp is work without any mistakes. This is my code on Arduino ide: vector<unsigned char> text; unsigned ...
george's user avatar
  • 149
1 vote
1 answer
1k views

Using file.seek() with arduino ide

I have in my code in c, this function: fseek(file, 0, SEEK_SET); I need to use the same function with Arduino ide. Is this correct? file.seek(file.size()); Or what is the alternative ...
george's user avatar
  • 149
2 votes
0 answers
133 views

What wrong with my Arduino code?

I have a rotary encoder (ppr = 600) and I want to write code to achieve the implementation to read current angle and direction. Here is my code. I think it is correct but it donot have any output on ...
Jie's user avatar
  • 29
1 vote
0 answers
81 views

Connecting HM-10 and relay to Arduino Uno

I have an 8 channel relay, an Arduino Uno, and this HM-10 bluetooth module: https://www.amazon.com/dp/B06WGZB2N4 The Goal Send a number (1-8) from my Android phone via bluetooth to turn a relay on. ...
badhorsebadhorse's user avatar
1 vote
1 answer
2k views

an lcd with I2C is not recognized by esp32

I have a NodeMCU esp32-s board and I'm trying to connect My 16x2 lcd with PCF8574T I2C bus to the esp32 , the problem is that the lcd doesn't show anything and the WireScan sketch can't recognize the ...
kamal MKA's user avatar
1 vote
1 answer
307 views

Run encoder code simultaneously with other code in Arduino

volatile unsigned int temp, counter = 0; int county=0; void setup() { Serial.begin(9600); pinMode(2, INPUT_PULLUP); pinMode(3, INPUT_PULLUP); attachInterrupt(0, ai0, RISING); ...
Maximus Su's user avatar
-1 votes
1 answer
173 views

Continous Rotation Servo not changing directions

I have coded a robot to be controlled by a ps3 Controller. I am using continous rotation servos but unfortunately I can not figure out how to get them to change direction. My input for my if ...
Brax's user avatar
  • 1
0 votes
1 answer
255 views

Balancing pendulum using PID

Dear all, referring to the video at here on how to make a PID balancing pendulum as shown in the picture and the author also provided the arduino code in the video description. May I ask whether this ...
jessica smith's user avatar
0 votes
2 answers
137 views

How to reduce codes numbers

I am new in Arduino projects, i made a digital counter that counts from 00 to 99. Here is my code below void setup() { pinMode(0,OUTPUT); pinMode(1,OUTPUT); pinMode(2,OUTPUT); pinMode(3,OUTPUT); ...
Joseph Afodu's user avatar

15 30 50 per page
1
2 3 4 5
26