Unanswered Questions
954 questions with no upvoted or accepted answers
0
votes
0
answers
50
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 wifi.
What I have so far:
The ESP8266 attempts to connect to ...
0
votes
1
answer
63
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
0
answers
43
views
After an USB disconnect the program I've uploaded to the Arduino Mega 2560 doesn't work properly anymore, why?
For a race simulator I'm using several Arduino Mega 2560 boards on which the code that will post below will be running. (not my code! But freely available on the internet)
Everything works fine, just ...
0
votes
2
answers
101
views
5V DC pump connected to relay on nodemcu esp8266 running non stop
I using a nodemcu v2 esp8266 for my automatic watering system. I used 3v - 5v DC pump for the watering system. The pump is controlled based on the soil moisture level ( or Blynk ). When the code was ...
0
votes
0
answers
127
views
ESP8266 Not Booting Properly on First Power On – Works After Restart
I'm working on an ESP8266-based water level monitoring system using an ultrasonic sensor and an I2C LCD. The problem I'm facing is that sometimes the ESP8266 does not boot properly when powered on for ...
0
votes
0
answers
147
views
Initializing both I2C devices of a RP2040 Rpi Pico with Earle Philhower Core
I'm using the Arduino IDE (v1.8.19) with the Earle Philhower core to program a Raspberry Pi Pico (RP2040) board.
I2C bus 0 of the Pico (pins 4 (SDA) and 5 (SCL) are coupled to a first MCP23017 port ...
0
votes
2
answers
136
views
Difference Between delay() and a while Loop with millis() in Arduino?
What are the practical differences between using delay() versus a while loop with millis() for timing in Arduino projects? I assumed both methods are blocking, but I'm not completely sure.
Example ...
-1
votes
1
answer
63
views
Musicbox freezes or can no longer find songs (FeatherRP2040, VS1053, Neokey1x4 x 2, RotaryEncoder)
I have a problem with my code for a music box that has the following features.
Using two neokey1x4 I can switch between folders on the SD card and press play/pause, stop, next song, previous song. ...
1
vote
0
answers
117
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
vote
2
answers
129
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() {
...
1
vote
0
answers
256
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
207
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
181
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
0
answers
77
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
1
answer
75
views
Arduino and custom pcb
I am looking to minimize the size and assembly complexity of my arduino projects. Is there any easy way to integrate something like an esp8266 onto my own pcb. I don't want to have to solder it on. In ...