Newest Questions
25,033 questions
0
votes
1
answer
106
views
PS4 not recognizing Leonardo as a controller
I have created a modified AVR core based on ArduinoXInput's custom core but for PlayStation instead, to emulate a DS4 controller on HID-capable boards like the Leonardo. Using USBTreeView and online ...
0
votes
1
answer
56
views
L298N Motor Driver works only for a single direction
I'm using a L298N motor driver with an UNO and when I try to run a motor few seconds for forward and few seconds backward, it will only move for a single direction and remain still in the second ...
0
votes
1
answer
88
views
How to modify the Leonardo's HID descriptor
I'm trying to make an Arduino Leonardo work with a PS4 following a similar approach as ArduinoXInput with its modified AVR core. However, even though I managed to add the device and configuration ...
-1
votes
1
answer
180
views
Arduino Nano R4 interrupts
I have 4 of the the Arduino Nano R4 microcontrollers. My project requires a routine where the Arduino Nano R4 reads the A/D converter every 30 MicroSeconds, and runs a few lines of code on each ...
0
votes
1
answer
111
views
How do I ensure XIAO ESP32S3 reconnects to network?
I am writing a program for a XIAO ESP32S3 using ArduinoIDE.
The function of the program is to have the ESP open an Access Point (using AutoConnect) when it first starts up. Once the user inputs their ...
0
votes
1
answer
99
views
Problems to start OV5640 Camera in a ESP32-CAM board
This is the first time I write on this site, so let's go to the question but first a little bit of context:
I'm working in a esp32-cam board. I want to use a OV5640 camera to stream video but the ...
-3
votes
2
answers
66
views
What does VRx stand for in the KY-023? [closed]
The x and y axis pins on the KY-023 are labeled VRx and VRy, but I'm curious as to what they stand for, as I couldn't find any official statements about it. I assumed it was "Variable Resistor X/...
0
votes
1
answer
95
views
Ultrasonic sensor showing random readings
I am using a HC-SR04 ultrasonic sensor to measure the distance using an Arduino Uno. When I run this code which is worked perfectly in the previous, it only shows just random readings in the serial ...
-1
votes
1
answer
83
views
Using Arduino Pro Micro as a Rubber Ducky AZERTY layout
I'm trying to use an Arduino Pro Micro as a cheap Rubber Ducky. I want to use it on a PC that uses the Belgian AZERTY layout.
The problem is that Keyboard.h is not designed for AZERTY keyboards. When ...
0
votes
2
answers
69
views
How to instantiate a 2nd serial port on STM32 Nucleo-C092RC
I am trying to use two serial ports on the STM32 Nucleo-C092RC, but the 2nd serial port (i.e. USART1) is completely silent (USART2 is the default serial port used by STLink/VCP/USB on the C092RC).
No ...
0
votes
1
answer
80
views
When I try to debug using Arduino IDE for stm32 using stm32duino nucleo F767ZI throws error
I am trying to debug using Arduino IDE through STM32Duino for my STM32 Nucleo-144 F767ZI. The code is uploaded successfully, but upon pressing debug, I get this error.
Waiting for gdb server to start....
2
votes
1
answer
95
views
Setting the Libraries Path
I am tracking my Arduino project in git, and using git submodules seems an appropriate way to track the libraries used in the project attached to the git repo of the main project.
However, the default ...
0
votes
1
answer
489
views
esp32 cam is showing cam_hal : dma overflow
.xclk_freq_hz = 20000000,
.ledc_timer = LEDC_TIMER_0,
.ledc_channel = LEDC_CHANNEL_0,
.pixel_format = PIXFORMAT_JPEG, //YUV422,GRAYSCALE,RGB565,JPEG
.frame_size = FRAMESIZE_QVGA, //QQVGA-...
0
votes
1
answer
52
views
Problems reading WNK811 i2c sensor on arduino using wire library without device library
I am trying to read a WNK811 pressure sensor connected by i2c to an STM32 Nucleo F401RE, programmed as arduino. The WNK811 is a Chinese device, the device datasheet is highly minimal (inadequate in my ...
0
votes
1
answer
64
views
Using Serial Port names as a variable array for looping access to same block of code
If I have multiple NODES one on each Serial port (and / or SoftwareSerial port) all of which have the same code for execution can the names of each Serial port be put into an array such that I can say:...