Newest Questions
25,030 questions
0
votes
0
answers
15
views
pouvez vous m'aider a résoudre ce problème? [closed]
« On dispose de quatre poussoirs S1, S2, S3 et S4 montés en pull down.
À l’appui sur S1 le moteur M1 démarre dans un premier sens en étoile pendant 20 s puis s’arrête.
À l’appui sur S2 le moteur M1 ...
-1
votes
0
answers
20
views
RC Car HC-05 HW150 [closed]
I have been following this https://www.youtube.com/watch?v=KgooInH3880 video for around 7 hours straight. What ever I do, I get no lights flashing when just inputting the battery power.
When I plugged ...
-2
votes
1
answer
62
views
Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) while using LEDC PWM Mechanism on ESP32
Using Arduino Core for ESP32 version 3.3.4 based on ESP-IDF 5.5 and writing code on Arduino IDE version 2.3.6.
The code:
void setup()
{
Serial.begin(115200);
delay(1000);
pinMode(2, OUTPUT)...
-1
votes
0
answers
24
views
Camera not connecting to web server Esp32
Below is the code I am using for a camera webserver, followed by error messages. What do I do fix the errors? I have the board from link below
https://www.amazon.com/dp/B0FLPMGHLR?ref=...
0
votes
1
answer
84
views
Bluetooth HC05 refuses some AT commands
I wish to change the settings of a HC05 to create a Bluetooth server connected to an Arduino Uno. I enter command mode easily keeping the button on the HC05 pressed while powering up the HC05. It ...
1
vote
1
answer
57
views
Computational efficiency? [closed]
I have been tinkering with rs485 serial bus.
My message is 7 byte array with layout
uint8 address
uint8 command
int32 data
uint8 checksum
I now serialize and deserialize the int32 with bitshifting.
...
0
votes
0
answers
45
views
LCD screen works fine for a few seconds, then when after delay finishes weird text appears and all inputs add more strange text [closed]
I'm currently making a mash of both projects 07 (keyboard instrument) and 11 (crystal ball) from the Arduino project book. The idea was to have the four button inputs both play a noise using the piezo ...
0
votes
1
answer
140
views
Increase interrupt resolution on Arduino Micro
I have connected an Arduino Micro (not Pro Micro) to an Magtek swipe reader.
Data is connected to pin 3,
Clock to pin 2
And swipe_detect to pin 4.
Then I use this lib to read data from the magstripe ...
2
votes
1
answer
146
views
Software serial and RS485
I have 2 Arduino Nano that will communicate in half duplex mode with transceiver using MAX485. But the master has libraries like Wire.h, uses tone() and also receives UART communication.
I'm a ...
0
votes
1
answer
86
views
Use of 3 synchronized PWM pins on Arduino Nano
I try to use three PWM pins on an Arduino Nano, each with 10kHz. I know that there are timer0, timer1 and timer3 but I wonder if I can combine them while ensuring all three PWM pins to be in sync and ...
0
votes
1
answer
59
views
I2C arduino to jetson TimoutError
I am working with I2C for the first time and having an issue with a very simple problem.
I want to send 2 bytes from an Arduino and nvidia jetson orin.
On the Arduino, my code looks like this:
#...
0
votes
1
answer
43
views
Which USB driver to choose for Digispark ATtiny 85 board connected to a Windows 11 PC?
I'd like to know which driver to use on a Windows 11 PC for a Digispark ATtiny 85, micronucleus bootloader: winusb, libusbK, libusb_win32 ? Thanks
0
votes
1
answer
97
views
ESP32 LEDC "hpoint" - Parameter
When using the ESP-IDF, there are the LEDC-drivers. Basically, you initialize a timer and a channel, so a matching PWM for your LED is the result.
ledc_channel_config_t.hpoint
...
0
votes
1
answer
67
views
Trouble connecting Uno + ESP8266 to Wifi
I am trying to build a simple project to get data from a web server and display it, using an Arduino Uno R3 clone with integrated ESP8266 Wi-Fi.
What I have so far:
The ESP8266 attempts to connect to ...
0
votes
1
answer
79
views
Arduino Nano ESP32 control WS2815 led strip [closed]
I’m trying to get a WS2815 LED strip working with an Arduino Nano ESP32, but I can’t get it to light up.
The strange thing is that with an Arduino UNO, using the exact same circuit and sketch, ...
1
vote
0
answers
68
views
Issue reading sensor values with CD74HC4067 16 Channel Mux
I'm running to an issue when measuring my sensor outputs. Previously I've connected my sensors directly to Nano analog pins and measured fine, but I want to use more sensors so trying a mux. Any help ...
1
vote
1
answer
81
views
Missing data when communicating over UART
So I am working on an Arduino project and have trouble communicating over UART.
I have a SIM7600G-H 4G Module from Waveshare and hooked it up to an Arduino Nano ESP32. The connections are as follows:
...
2
votes
2
answers
169
views
Receiving incorrect Data through CANbus MCP2515, Nano to Nano - Data points 3, 5, and 7 only go to 7 bits instead of 8?
We are trying to get two Nanos to communicate via CANbus, using MCP2515 shields. I have decided to use the autowp/arduino-mcp2515 CAN interface library for the code. I've based my code off their ...
0
votes
1
answer
532
views
Can an Arduino wake from deep sleep exactly on an analog voltage threshold crossing (not a digital interrupt)?
I’m exploring ultra–low-power sensing designs where the Arduino should remain in deep sleep until a specific analog voltage threshold is reached — for example, when a sensor output rises above 1.2 V.
...
4
votes
1
answer
313
views
Arduino IDE formatting quirk with nested lists
For an Arduino LED animation project I have been working on an editor tool using HTML and javascript. After setting up various things, the tool enables generating C++ code to paste into an Arduino ...
0
votes
1
answer
69
views
Using Analog Multiplexer CD74HC4067 with Circuit Playground Express
I am working on a school project requiring the use of the circuit playground express. I am trying to connect a bunch of external photocells to the cpx so that it will change the color of its lights ...
0
votes
0
answers
91
views
USB Host Serial Port Emulator [closed]
I am trying to build a USB Host-side serial port emulator, similar to HyperTerminal or TeraTerm, to run on an Arduino platform. That is, to send and receive ASCII characters to and from a USB Serial ...
0
votes
1
answer
41
views
Arduino IDE 2.x fails to flash 32u4 via ArduinoISP flashed Nano, but 1.8.19 works
I'm trying to use a Nano as an Arduino as ISP programmer in Arduino IDE 2.x, and it's not working.
In v1.8.19 of the Arduino IDE I select the comport the Nano appears as, select "Arduino as ISP&...
0
votes
1
answer
51
views
Is there a c++ library for the GitHub API and Arduino compatible?
I'm logging some data using an ESP32 board, and I need the data logged to be uploaded from the ESP32 to one of my repositories on GitHub.
Are there any C++ libraries for the GitHub API compatible with ...
0
votes
1
answer
94
views
Change I2C address of Arduino Modulino Thermo
I want to use several Arduino Modulino Thermo modules in one project and therefore change the default I2C addresses of the sensors. On the internet, I find conflicting info about if this is possible.
...
0
votes
1
answer
56
views
Sketch Upload Fails -USB bus damaged?
My desktop computer abruptly started failing to upload sketches to the Arduino UNO (a smd "Make: Special Edition" board) I've been working with for the last few weeks. The sketch compiles ...
0
votes
1
answer
88
views
ESP8266 + TFT SPI ST7796S - Touch and Display not working together
I am trying to get the touch screen and display working on my ESP8266 + TFT ST7796S. However, only one of them works at a time.
Below is my pin configuration:
Function
Device
NodeMCU Pin
GPIO
TFT_CS
...
0
votes
1
answer
83
views
ESP-NOW works with broadcast but doesn't work with unicast
I'm using the Arduino IDE to program ESP8266 to communicate with each other using ESP-NOW.
If I call esp_now_send with the broadcast MAC address (FF:FF:FF:FF:FF:FF), the message is sent and the slave ...
0
votes
1
answer
78
views
esp_now_send takes a non-const uint8 mac address. Why? Does it modify it in some way?
I am using the Arduino IDE to do ESP-NOW communication with an ESP8266.
In espnow.h, on line 53 I find the function prototype:
int esp_now_send(u8 *da, u8 *data, int len);
Why does it take the mac ...
0
votes
1
answer
117
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
77
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 ...
-1
votes
0
answers
139
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
223
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
130
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
127
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
78
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
113
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
94
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
92
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
97
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
112
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
510
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
73
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
77
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:...
0
votes
1
answer
89
views
How to adapt this ESP32 + TMC2240 stepper controller design to my project?
I’m trying to build a wireless stepper motor controller using an ESP32 with a TMC2240 driver. I came across this reference design: Wireless Stepper Motor Controller with ESP32 and TMC2240 https://www....
0
votes
1
answer
108
views
Why does my stepper motor have jerky motion with DRV8825 microstepping?
I’m using a NEMA 17 stepper motor (model 42SHDC3030Z-23WB-1 / 17HS4401S) with a DRV8825 driver with small radiator and an ESP32. Even when set to 1/16 microstepping, the motor motion is very jerky.
It ...
1
vote
1
answer
85
views
HC-12 receives garbage, but the garbage is consistent
I'm playing with two HC-12 wireless communication modules. After setting AT+FU4, I tested the modules, but the communication appeared to be unreliable in one direction. I tried to simplify the code as ...
0
votes
1
answer
93
views
Information about PWM frequency
Previously, the reference page for the analogWrite function showed the PWM frequencies for different pins on different Arduino boards, but now it doesn't mention it anywhere... Where is this ...
0
votes
1
answer
67
views
Send uint32_t over i2c from attiny85 slave to atmega328p master
I run into an issue with querying a uint32_t with an atmega328p master from an attiny85 master.
I have put both codes below.
I did run the equivalent code for just sending a uint8_t and all works ...
-1
votes
1
answer
136
views
Connecting the device to Arduino via the UART protocol
The essence of the task
I have a task to connect an external device with my arduino and transfer data to each other via the UART protocol. The external device has 4 pins (Two for power supply and RS-...