Most Popular
1500 questions
5
votes
3 answers
ESP8266 I2C doesn't respond
I've got a huge problem using an ESP8266 from a Wemos D1 mini.
I am using an STM32L073RZ to send a request to an ESP8266 to send me the time it has acquired from a WiFi connection.
ESP code:
#include
#include
#include…
Jackob2001
- 53
- 5
5
votes
1 answer
First Uses of Digispark can't get past upload error
Windows 7 (64Bit) Parallels VM on Macbook Pro running BigSur. Arduino version 1.18.19, Digispark ATtiny85 Micro USB.
Loaded Boards Manager http://digistump.com/package_digistump_index.json and updated all.
Installed Windows Driver DPinst64 from…
Dave
- 51
- 1
5
votes
3 answers
Arduino to Arduino communication
When I send data to an Arduino Uno via the serial monitor, the serial data goes down the same USB cable used to program the Arduino. So there must be a device on the Arduino board like a FTDI or USB-capable AVR that drives the RXD pin of the…
Neil Stockbridge
- 161
- 4
5
votes
2 answers
How do I change the Console colour of Arduino IDE?
Leading on from the question Can I change font Color and/or Type for IDE 1.5.6r2?, in 1.6.0, or 1.6.11 it does not seem to be possible to change console.color or console.error.color. To be precise, you can change the settings in the preferences.txt2…
Greenonline
- 2,938
- 7
- 32
- 48
5
votes
4 answers
Generating a PWM frequency greater than 125 kHz using Arduino Uno
I need to obtain a PWM frequency of at least 125 kHz. I plan to drive a pair of MOSFETs using this PWM as the driver signal. The below code gives a 1 kHz frequency. Can I just change the delay values to obtain a lower time period, and thereby a…
user276998
- 59
- 1
- 1
- 3
5
votes
2 answers
UNO analog input voltage reading not accurate
My loop code is this:
// read the input on analog pin 0:
int sensorValue = analogRead(A0);
// print out the value you read:
Serial.println(float(sensorValue*5000.0/1023));
delay(1); // delay in between reads for stability
When I read 5V it…
user30878
- 112
- 1
- 8
5
votes
1 answer
Pin Change Interrupt Flag timing on 1284P
I want to ask about pin change interrupts on a 1284P chip using MightyCore. I have a question about the timing of multiple interrupts on one port. Specifically, if I am servicing a PCINT vector and another pin in the port changes while I am in the…
Delta_G
- 3,270
- 2
- 10
- 24
5
votes
2 answers
Simulation of Arduino Mega 2560 with GSM Module using Proteus
I have really been suffering with my simulation! Tried connecting my arduino mega 2560 to COMPIM (used as GSM Module) in my circuit and also loaded sample code but damn! In vain! I wanted to view the data sent in virtual terminal but am getting…
Joshua Kusaasira
- 51
- 1
- 1
- 5
5
votes
0 answers
Internet in ESP32 is not working with IPv6
I am using ESP-WROOM-32D in STA mode with Arduino IDE(2.0.5) ESP32 board(2.0.9).
I am trying to do http post request with ESP32. Router that provides internet supports only IPv6.
Here I am getting http code -1. I have tried different network with…
dharmikP
- 151
- 2
5
votes
2 answers
Arduino Freezes (probably because of I2C) - Need help to write robust script
Arduino Pro mini 3.3V stucks few hours after startup. After repowered, it begins to stuck within a few seconds. If I wait long enough before turning it on it stucks little later for example now it lasted 45 seconds before stuck. Whenever it is stuck…
CaveScientist
- 151
- 3
5
votes
1 answer
ESP32 SocketIO Client is not connecting to Flask-SocketIO Server
I'm trying to connect a ESP32 client using SocketIO with a Flask-SocketIO server and it's not getting connected.
The server uses SSL. The local server address is https://192.168.1.137:3000.Is the https causing issue here?
The following is the output…
Shyam3089
- 165
- 3
5
votes
0 answers
Why does arduino use a PWM range of 544 to 2400?
I learned in school that typical servos use a simple PWM system to control a servo. To do this, we would generate a 1000ms pulse to put the servo at 0 degrees and 2000ms pulse to set it at 180 degrees. Simple basics, right?
I recently tried…
DSdavidDS
- 51
- 1
5
votes
0 answers
How to set ESP32 RTC clock source
According to the manufacturer's link below, the default RTC timekeeping in the ESP32 is supposedly based on Internal 150 kHz RC oscillator.
Apparently, there is another option called Internal 8.5 MHz oscillator, divided by 256 (~33 kHz) that has…
Randy
- 407
- 3
- 13
5
votes
3 answers
What are the main differences between Arduino and mbed?
I have been working a lot with the Arduino platform over the last year. Arduino makes it very easy for beginners (in my opinion) to get started and has a large community and a lot of libraries for all kinds of peripherals.
Now, I am considering to…
fuenfundachtzig
- 1,515
- 1
- 14
- 26
5
votes
1 answer
Library not found when using the arduino-cli command (although working with the Arduino IDE)
I have a sketch which I can upload without problem with the Arduino IDE. I installed the arduino-cli Version: 0.28.0 Commit: 06fb1909 Date: 2022-10-18T15:53:04Z. I want to compile and upload a code on an arduino uno and use the command…
ecjb
- 165
- 5