Newest Questions
25,030 questions
1
vote
0
answers
126
views
"Stack canary watchpoint triggered (loopTask)" when synchronizing with Arduino Cloud IoT (ArduinoCloud.update())
I have created a sketch that updates 195 variables : 16xString variables, 34xfloat, 52xint, 107xbool.
Notice : I'm using the IDE tool instead of the included Cloud IoT compile (because I have a pb ...
-1
votes
2
answers
149
views
My LED light strip won't turn off
/*
* when it's bright the lights will turn off
* when it's dark the lights will glow blue and green
* when it is in between, the lights will turn red
*/
#include <Adafruit_NeoPixel.h>
#...
1
vote
2
answers
151
views
Arduino keeps restarting with L9110 and DC motor
I am trying to control a DC motor using the L9110 motor driver and Arduino MEGA 2560.
Here's the code.
#include <Arduino.h>
const int rightA = A3;
const int rightB = A2;
void setup() {
...
0
votes
1
answer
93
views
ATTiny85 PWM on PB2 not working - only on/off, no fade
I have a custom ATTiny85 PCB with LEDs connected to GPIOs (PB0-4) through current-limiting resistors. All ports fade LEDs smoothly except PB2, which only switches on/off with no intermediate states.
...
1
vote
0
answers
82
views
SB Components Micro RP2040 and ST7789 2.4 TFT LCD SPI display not working together using any library
I have a Micro RP2040 board from SB Components. Link to this product
With this I also have a 2.4 inch SPI TFT LCD screen with an ST7789 controller Link to the screen, it's on that page just scroll ...
-2
votes
1
answer
69
views
BH350 Strain gauge Arudino naon
I have changed the strain gauge of BH350 modules with another strain gauge of equal 350 ohm strain gauge, but after the change, the readings are only 1 or 2. It's like there is no strain gauge ...
0
votes
0
answers
89
views
Multiple esp32s running on batter power using ESP-NOW
I have a project where I'd like to have two esp32s communicate using ESP-NOW, but both running on battery. I'd like for both to be in deep sleep, wake up and communicate, and go back to sleep, repeat.
...
0
votes
1
answer
596
views
How Can I Get My ESP32 to Work with a 3.5-inch ILI9486-Based RPi Display Using SPI in Arduino IDE?
I'm working on a project where I need to connect my ESP32 (WROOM) to a 3.5-inch, 480x320 resolution LCD designed for the Raspberry Pi, which uses the ILI9486 driver (as suggested by the lcd wiki). I’m ...
0
votes
0
answers
94
views
Get Hash from Biometric Fingerprint Data for Encryption
I'm trying to get a reliable hash from a fingerprint scanner to use as a encryption key. According to this post here: https://crypto.stackexchange.com/questions/103693/can-you-restore-a-private-key-...
0
votes
0
answers
224
views
Sleep and Wake Arduino Nano 33 BLE
I'm trying to figure out how to wake up and put to sleep the Arduino Nano 33 BLE. I have seen a few post about it but absolutely nothing I can understand or implement. I'm attaching a subset of the ...
-1
votes
1
answer
69
views
Why is this simple sketch not working? I want step thru 3 variables on alternate button presses. Keeps getting stuck of 1st one. Here is the code
I know that I am missing something basic but cannot find the problem. The button works correctly. The board is Nano connect. Monitor readout is stuck on first line although obviously the whole thing ...
-1
votes
1
answer
108
views
Can't connect to Arduino Nano 33 BLE while MicroPython file is running
I am using a Arduino Nano 33 BLE and I'm using MicroPython to write code for my board using Arduino Lab for MicroPython. I uploaded a file with the name main.py to my Arduino to test if it would work ...
0
votes
1
answer
429
views
P10 LED Display Character Overlaying with DMD library
Hi, I am using p10 Led display and trying to make digital clock. it works fine but after 2 or more weeks later without any switch off there is a overlaying start on characters. why this happening I ...
0
votes
1
answer
356
views
Arduino IDE Doesn't Detect Installed Library Dependency
I am trying to edit an old code for a dot matrix display. This code was written on Arduino IDE in Windows 10, for DOIT ESP32 DEVKIT V1. I never had a problem with libraries in the Windows environment ...
1
vote
0
answers
270
views
ESP8266 (Mini D1) does not come back after deep sleep but NodeMCU does
Kind of desperate here. I tried every solution found on this forum / google and others.
My sketch works perfectly with a NodeMCU 1.0
The same script should work on a Lolin Mini D1, everything works ...
-1
votes
1
answer
240
views
How many FPS I can theoretically get for streaming frame from OV7670 with this setup?
Setup:
OV7670 -> STM32F103... --USART--> ESP01 --UDP--> Gateway --> Internet --> Server
I want to achieve a real-time streaming experience.
Here is my analysis:
According to the ...
-2
votes
1
answer
853
views
ESP32 TFT_eSPI 8-bit Parallel Compile Error
I am compiling TFT_eSPI library for Arduino ESP32 in 8 bit parallel mode, When I Compile it in SPI mode then no error occurs, but when I select 8-bit parallel mode in User Setup File, then it shows ...
0
votes
1
answer
354
views
Not able to control servo motor using ESP32 board when RGB LED is used
I'm new in using ESP32 boards. For some reasons, the servo motor is not working when RGB LED code is used. I have looked everywhere and I did not see any solution for this. Any help is appreciated.
...
-1
votes
1
answer
225
views
How do I fix display showing random pixels on ST7789V2 LCD Module?
Problem Description:
I’m trying to interface a Waveshare 1.69-inch LCD module (ST7789V2 driver, 240x280 resolution) with an Arduino UNO board. I’ve connected all the necessary ports as per the ...
0
votes
1
answer
120
views
Read 4 data types..but wait for answers
I want to ask using the Serial Monitor....for
PlayerName, Age, Money, boolean Happy....
I do not know from reading around how to make the Arduino read each value...
When I do get this to partially ...
0
votes
1
answer
215
views
ESP32 (Arduino): WiFi.softAPdisconnect(true) gives error + Heap Corruption issues
I have NodeMCU ESP32s and I am using Arduino framework.
I want the ESP to connect to local Wifi, so I set AP on ESP and send to it UDP packet with WIFI credentials.
I am doing it in a loop until sent ...
-1
votes
1
answer
60
views
Communication protocol and hardware for 50-100 feet of communication between 2-3 arduino megas
Newish person here. Have done a few smaller projects, looking at something a bit bigger and need direction on where to start.
I'm building a guitar effects pedal board that I want to be able to ...
1
vote
1
answer
139
views
How to run G code with SoftwareSerial?
I'm trying to build my own CNC machine. Since I need to control a large number of motors at the same time, I want to control it via an Arduino master and several slaves with CNC shields. Now I'm ...
3
votes
1
answer
268
views
Error trying to play audio through an ESP8266 using the 'ESP8266Audio' library
I am attempting to use an esp8266 to play an .mp3 audio file through a connected speaker using the 'ESP8266Audio' library.
I have tested that the hardware setup is correct (e.g. I have been able to ...
-2
votes
1
answer
210
views
Controlling Vintage floppy drives
After researching a solution to a problem I want to solve, I'm hoping the third time posting is a charm. :)
I'd like to use an Arduino to control a vintage floppy disk drive. I'm looking to use it as ...
1
vote
1
answer
299
views
LCD display connection without a resistor
Can run a LCD without a potentiometer or a resistor?
I don't have any.
Here it said to connect both:
1
vote
2
answers
319
views
Why is my BME280 sensor returning 0 for all data values?
My BME280 is returning 0 for temperature in Celsius, 0% humidity, 0.00 pressure (hPa) and 44330.00m for altitude. I am connecting it with I2C on a Raspberry Pi Pico and everyone on the team has ...
0
votes
1
answer
113
views
Running stepper motors with A4988's, and might have shorted the Uno when checking voltages with multimeter. Is my circuit design faulty?
What Happened
I'm working on a project to run two peristaltic pumps from an Uno. The previous version used DC motors and L298N's, but I am attempting to upgrade it by using stepper motors and A4988's. ...
0
votes
0
answers
124
views
Input/Output error upload with arduino-cli / avrdude
Unpacked my first Arduino today, an Uno. Went to try the instructions from the arduino-cli getting started tutorial.
When I connect the unit with USB, I get three quick flashes, then slow continual ...
1
vote
1
answer
341
views
Change MKR Zero SD SPI Pins
I have been trying to learn more about using the ATSAMD21 MCU with Arduino. I designed and assembled a bare bones breakout board and have successfully flashed the MKR Zero bootloader and uploaded ...
0
votes
2
answers
170
views
Connected the 3.3v output and the 5v output together
I accidentally connected the 3.3V output and 5V output to the same connection. How bad is that and what issues could that cause?
I was busy with making my first project which uses a module which runs ...
0
votes
1
answer
500
views
Powering SG90 Servo with 18650 battery
I want to power one SG90 servo with an 18650 3.7v battery. Since the working range for the servo is 4.8v-6v, I used XL6009 boost converter and got a 5.8v output. I have measured it with my multimeter. ...
1
vote
0
answers
86
views
`__has_include` macro on ESP board
I am working on a code for ESP boards that can be used on either ESP32 or ESP8266 and I want to make sure I include the correct libraries.
I know I can check if ESP32 OR ESP8266 are defined, but I ...
0
votes
0
answers
80
views
Upload Same Sketch to Multiple Different Microcontollers via USB?
I'm attempting to figure out how to mass-upload a single Arduino INO sketch file to several different microcontrollers on a Windows 10 system.
It was understanding that, every time that the Arduino ...
-1
votes
1
answer
284
views
Installing CH34xVCPDriver on mac
I've tried to install CH34xVCPDriver on my Mac M3 Sonoma and it's not working no matter what I do. I get an error message that says:
Install Tips error: The operation couldn't be completed.
(...
0
votes
1
answer
228
views
Trouble Programming ATTINY1616 with Arduino Nano via UPDI: No Communication
I'm trying to program a board I designed with an ATTINY1616. The schematic is shown in the photo. I'm trying to connect an Arduino Nano. +5V and GND are shared, while the UPDI pin is connected to the ...
0
votes
1
answer
97
views
How to use C++ user defined modules in Arduino
Does Arduino support C++ module import functionality i.e. what would it require to implement something like this in Arduino: import std;?
0
votes
1
answer
188
views
Arduino seems to be reading incorrect analog I/O. Am I doing something wrong?
I am using an ATTiny88 to measure temperature using a 470 ohm thermistor attached to port A3 on the Arduino.
The thermistor is attached in series with an 1870 ohm resistor connected to Vcc. At room ...
-1
votes
1
answer
95
views
L298N motor driver not working with Arduino UNO R3
I was trying to use the motor driver, but the motors aren't spinning for some reason.
I am sure the motors are working; I tried and tested them. I can't understand if there is a problem with the code, ...
2
votes
2
answers
426
views
Simple debounce coding
am a complete beginner at coding with Arduino, although I have used them for a few years by copying other peoples code. I only understand a tiny fraction of the layout of a sketch and would really ...
2
votes
2
answers
883
views
How can I stop digital pins from floating at reboot?
I've got a LattePanda 3 Delta, which runs windows on its main processor and an Arduino sketch called StandardFirmata on its coprocessor. It's connected to a lock, which locks at HIGH and unlocks at ...
0
votes
1
answer
149
views
Extra 0x00 sent with RS485 message
I am currently trying to use an arduino to send an RS485 via an SP3078EEN RS485 transciever. I have my arduino code set the DE pin high, wait 1ms, then write and flush a data buffer to the serial ...
-1
votes
1
answer
78
views
Arduino connect programatically two wires of external 3.3V device
What is a missing puzzle in here, relay, transistor?
I would like to pull pin of external device to the ground programatically using arduino's digital pin.
-1
votes
1
answer
377
views
Stepper motor turns unexpectedly slowly
I want to control a stepper motor using my esp32 and an USB connection. I seem to have some issue understanding why the stepper motor runs very slowly - I suspect it's because power to the motor is ...
1
vote
1
answer
322
views
External EEPROM Read and Write Issues: Junk Values in I2C Communication
I have an ESP32 controller and am using AT24C1024 for communication. In my code, I am trying to access an external EEPROM at positions writing data from 0 to 10000 position data is = '1'. However, ...
2
votes
1
answer
105
views
UART Transmission Incorrect on ATTiny826
I'm currently trying to test an extremely simple circuit where I use an ATTiny86 to output some arbitrary values via serial to an Arduino micro. The problem I am facing is that all of the values being ...
5
votes
1
answer
256
views
MQTT connection fails when using String objects
On my ESP32 I am trying to connect to my HomeAssistant server using ArduinoHA library.
I can easily connect when hard-coding the credentials: mqtt.begin("server", "username", "...
0
votes
1
answer
210
views
Controlling UCS2904 LED flood with Neopixel library
I'm attempting to control one of these UCS2904 floodlights using the Neopixel library; according to the chip documentation it uses 800khz and RGBW ordering, both of which are set in my Arduino code ...
2
votes
2
answers
764
views
Arduino Uno Serial.write() how many bits are actually transmitted at once by UART and effect of baudrate on other interrupts
With Arduino Uno Rev3, I am trying to maintain a delicate timing while handling data transmission. I want to send 6 bytes at a time, which takes around ~44 us when I time Serial.write(). The time it ...
0
votes
1
answer
134
views
Arduino Nano max current from 5v pin if using 5v 1A wall adapter
I read several answers, but those can be confusing, because it depends on how you provide power to the Arduino.
What if I use a wall adapter with 5 V / 1 A and connect it directly to the Arduino Nano ...