19,461 questions
-1
votes
0
answers
39
views
Arduino IPADDRESS class to String [duplicate]
There is a builin function / method for the IPADDRESS class, .toString() which works fine on output via Serial.println
However it does not seem to covert it actually completely when storing it in a ...
-1
votes
0
answers
33
views
Trying to flash BlueJay on EMAX BLHeli 40A UBEC ESC Via Arduino Uno As passthrough [closed]
I am trying to flash BlueJay firmware on an EMAX BLHeli 40A ESC
I am using an Arduino Uno as the interface (interface programmed with BLHeli Suite)
Does anyone have any experience with this setup? I ...
0
votes
0
answers
65
views
How can I improve the stability of my PI controller for a DC motor? [closed]
I'm trying to build a PI feedback controller in Python that communicates with an Arduino over serial. The Arduino adjusts the PWM input of a DC motor to keep it running at a desired RPM.
The problem ...
-4
votes
0
answers
38
views
ESP32 NimBLE crashes on characteristic write during provisioning - restart loop [closed]
I'm developing an ESP32 device with BLE provisioning using NimBLE-ESP32. The device crashes and restarts in a loop when the mobile app sends WiFi credentials via BLE characteristic write operations.
...
0
votes
0
answers
36
views
SAM3X8E / Arduino Due: Timer/Counter not generating PWM on TIOB0 (PB27) — output stuck HIGH
I'm trying to generate a PWM signal on PB27 / Arduino Due pin 13, which corresponds to TIOB0 on the SAM3X8E (used on the Arduino Due).
However, the output pin just goes HIGH and stays there — no PWM ...
-1
votes
0
answers
47
views
M5 Stack GNSS Module [closed]
How can I use the GNSS Module from M5 Stack with Arduino or STM32? There is little to none documentation on how to configure the I2C to be able to communicate with microcontrollers.
I have tried to ...
0
votes
0
answers
115
views
Reading two buttons states with Arduino UNO not working [closed]
I want to create a sampler instrument using an Arduino UNO that will read the pads (which, for testing purposes, are now replaced with simple push-buttons) values, so if they're pressed or not. I'm ...
2
votes
1
answer
106
views
How can I use the PN532 with an ESP32-Wroom-32?
The ESP32 cant find the NFC module (Pn532). I used the I2C and SPI without any promising results.
I used the Example code and edited the Pins
Every time I only Get this result: Serial.print("Didn'...
0
votes
1
answer
48
views
Error Installing specific library in PlatformIO extension for VSCode
Currently running PlatformIO inside of VsCode on my Arch Linux machine for an embedded project. I'm coming from Arduino/ESP32 dev and my hope is to use my Nucleo-l476rg dev board within the arduino ...
0
votes
1
answer
17
views
SIM800L chunk file for sending through TCP Connection properly - CME ERROR 3
If anybody is conform with SIM800L, I've got a working design regarding sending data through TCV via SIM800L, building up the network is ok.
What is working:
AT+CIPSTART
waiting about 2 sec
AT+CIPSEND=...
-1
votes
0
answers
37
views
OLED display is not working in my Arduino code for Auto AC project [closed]
Below code is about an Manual AC to Auto AC controlling system in cars which i generated from Chatgpt, basically what it does is it detects the cabin temperature using DHT11 sensor and based on the ...
0
votes
0
answers
90
views
Send only String variable from Java to Arduino and reverse
Need another new libraries.
This is the code for java.
My porposes are sending from java to arduino variable like this String = "hello"
But nothing Its happiens.
Java code:
package j;
...
1
vote
0
answers
83
views
PWM FSP code not working in ARDUINO UNO R4 WIFI
I decided to program a PWM using an ARDUINO UNO R4 WIFI. I tried to configure the RENESAS RA4M1 microcontroller with the FSP libraries through the Arduino IDE. What I want to do is generate a PWM and ...
2
votes
2
answers
202
views
Why we use PIN & (1<<PBx) to check if PIN is high?
I'm a beginner working on AVR programming on the ATmega328P. I am trying to get input from a button and then control an LED.
void setup() {
DDRB |= (1<<PB5);
DDRB &= ~(1<<PB4);
...
0
votes
1
answer
68
views
IoT Nano 33 Timer Issues
For a project I have to fulfill the following conditions:
Setup interrupts on the ARM Cortex MCU using CMSIS APIs
a) Show how to initialise global interrupts on the ARM Cortex for GPIO pins and ...