Newest Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Reading JSON from Arduino via Serial Missing Parts of Message

I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial. The Pi gets the JSON data, makes some adjustments and then sends it to an ...
Honeybadger22's user avatar
0 votes
1 answer
15 views

Replace bootloader in ATTiny88

There are other threads about replacing the bootloader on Arduino boards, but the ATTiny88 seems to be rather a different beast. Instead of creating a serial port and sending the compiled code to the ...
LesRhorer's user avatar
0 votes
0 answers
21 views

How to faithfully collect geophone data by modbus RTU

I am trying to collect data from a geophone using a UNO R4 minima as slave with a Zihatec shield so that I can integrate it into a larger project on a modbus RTU bus. The signal from the geophone is ...
user36093's user avatar
  • 101
2 votes
2 answers
1k views

I need compact code to fit in memory

I feel a little like I am back in 1975 trying to fit my code in 4K of RAM. I am writing some code for an ATTiny88, and the code is starting to get big, relatively speaking. I need to save every byte ...
LesRhorer's user avatar
-1 votes
0 answers
21 views

How do I generate a square wave with an Arduino Uno and DDS 9850 module? [duplicate]

I am having difficulty generating a square wave using an Arduino Uno and an AD9850 frequency generator. From what I understand the ZOUT pin should generate a square wave at the same frequency that the ...
The_Logos's user avatar
0 votes
0 answers
38 views

Send DTMF tones with arduino [closed]

I have been searching for a way to automatically answer calls and send DTMF tones, as many apartments in my area use intercoms with local rj11 phones. How it works is it calls the assigned phone in ...
Haram Lee's user avatar
-1 votes
0 answers
62 views

Arduino simulator [closed]

What Arduino simulator program do you recommend for simulating a toy car (ideally, opensource)? (I'm new to Arduino.) I previously tried ThinkedCAD, but it seems to only work with basic circuits (I/Os,...
eraldcoil's user avatar
  • 115
-1 votes
0 answers
19 views

avrdude: stk500v2_getsync(): timeout communicating with programmer Failed uploading: uploading error: exit status 1 [duplicate]

i bought chinese arduino mega 2560 and have this error avrdude: stk500v2_getsync(): timeout communicating with programmer Failed uploading: uploading error: exit status 1 led on L is blinking when i ...
XxYatoxX's user avatar
0 votes
1 answer
44 views

Arduino HardwareSerial flow control with handshake XON/XOFF

I am sending large texts from PC to Arduino over Serial and I cannot simply copy-paste it, as Arduino is not fast enough to process it on the fly. I need some flow control (probabely XON/XOFF) so ...
gilhad's user avatar
  • 1,466
0 votes
0 answers
50 views

ESP32-S3 continuous reboot after flashing larger firmware

I’m facing a persistent reboot issue on one of my ESP32-S3 boards after flashing a larger firmware binary. Here’s a breakdown of the problem: 🔧 What’s Happening After flashing my project (which ...
dev_eng's user avatar
1 vote
1 answer
56 views

How can I improve ELM327 response stability on Arduino after setup verified with OBD-II scanner guide?

I'm using an Arduino Mega with a Bluetooth ELM327 adapter to read live data from my car’s OBD-II port — specifically RPM (PID 010C). The goal is to log data to an SD card or display it in real time. ...
tepalia's user avatar
  • 158
1 vote
1 answer
58 views

How does `delay()` differ from using `millis()` in terms of processor efficiency and responsiveness?

In many Arduino sketches, especially beginner ones, delay() is commonly used to pause between actions. However, I’ve seen more advanced projects use millis() instead to handle timing. From a ...
F. A. Mala's user avatar
0 votes
0 answers
36 views

Problem generating 10kHZ sine wave using Arduino Uno R3 + DDS AD9850 -- distorted output on oscilloscope

I am attempting to generate a 10kHZ sine wave using an Arduino Uno R3 and a DDS AD9850 wave generator module and getting jagged higher frequency signals in the Megahertz instead. I have successfully ...
The_Logos's user avatar
1 vote
1 answer
20 views

How can I achieve <50 ppm timing with a Sparkfun Artemis ATP?

I want to sample an ADC at very regular intervals. Right now, using millis/micros (which are driven by the internal RC oscillator), I'm off by around 3000 ppm, and it drifts. Here are some things that ...
Vulcan's user avatar
  • 255
1 vote
1 answer
55 views

MKR1010 Interference when relay motor engages?

I am a complete beginner. Are Arduino products really flaky? I've thrown together the circuit in the diagram - an MKR1010 in a relay shield. I've wired up 2 sets of sensors, an LCD screen and a motor. ...
Ephasius's user avatar
0 votes
0 answers
32 views

Arduino R4 webpage not loading

I am trying to create a web page through which I can control the builtin LED of Arduino R4 wifi. I thought since this is basically an ESP32, I could run it but, even though I'm getting the IP address ...
MohaamedSwalih2703's user avatar
1 vote
1 answer
44 views

Is there a way to use symbolic names for debug watch of RISC-V registers?

Re debugging RISC-V CH32V2xx/CH32V3xx Is there a way to watch 'RCC_CFGR0', say, rather than '* 0x40021004'? eg. add definitions to GDB? (program compiled with -g option and optimized for debug, IDE 2....
Spehro 'speff' Pefhany's user avatar
-1 votes
1 answer
91 views

Error in Compiling for Seeed Xiao nRF52840 [closed]

I am using Arduino IDE 2.3.4 to program a XIAO nRF52840 Sense. I added the board using the instructions on the official getting started page. After installing the board in Arduino IDE, I open up the ...
paki eng's user avatar
1 vote
1 answer
85 views

include directive for external libraries

I added the Adafruit_GFX_Library to my Windows. I used Arduino IDE, Tools > Manage Libraries > Install. In preferences, Sketchbook location is set to d:\Alex\Hobbies\Electronic\Learning Arduino\...
Alex 75's user avatar
  • 121
0 votes
0 answers
61 views

How to setup the configuration (User_Setup) of TFT_eSPI for ILI9225 176x220 TFT with esp32?

I was trying to interface my 2 inch 176x220 reslolution tft display having a ILI9225 driver with esp32 using TFT_eSPI library.This is the User_Setup file of the TFT_eSPI library, i edited this to ...
Sreyas Kumar C V's user avatar
0 votes
0 answers
40 views

ESP32 - SIM7000G and TinyGSM response from server stuck/delayed with multipart/form-data POST request

I am experiencing a delay in receiving the HTTP POST request body when sending data over a TCP connection using the TinyGSM library with a SIM7000G and an ESP32 (LilyGo T-SIM7000G). Below is my ...
NRav's user avatar
  • 243
0 votes
0 answers
29 views

WeMos connection to SinricPro

I am using a WeMos Wifi ESP8266 with a DHT11 sensor to measure temperature and humidity in my house and send them to SinricPro. Alexa then reads from here and uses them to answer to the question "...
Deffo's user avatar
  • 109
2 votes
0 answers
74 views

Arduino libraries in Atmel Studio, importing INO and building core for DUE

Is there a simple way to use the Arduino libraries in Atmel Studio 6 or 7? Already tried it with include path but thats a never-ending story. Looking for a precompiled .a file for the Arduino Due so I ...
michael86's user avatar
0 votes
1 answer
36 views

How to receive data from an Rasberry Pi on ESP32-Cam?

My use case is an ESP32-cam that serves two purposes: HTTP feed (accessed by a Raspberry Pi 5 which processes stream and provides a response) Servo Motor microcontroller: Receives response from ...
jmarywien's user avatar
0 votes
2 answers
62 views

How do I read data from a 32 bit I2C register address?

I'm having trouble reading the I2C data from the CPS8200, that has a 32 bit Register Address. Since I'm not too familiar with I2C register addresses more than 8 bits, and right now I'm not sure if I'm ...
J. Street's user avatar
  • 109
0 votes
1 answer
42 views

Compiling issues with included library MX1508 for Billy Bass build

Thank you for considering my question. I have been learning Arduino so I can teach coding basics to my son. I came across a fun project to interface bluetooth with an old singing Billy Bass so he can ...
Benjamin Burgess's user avatar
1 vote
1 answer
275 views

How to implement a pulse counter for two clocks on Nano Every?

For clock synchronization I want to implement a pulse counter on the Arduino Nano Every. There are two clock signals at 40-100 kHz, the Nano runs on 20 MHz. Nyquist says we need at least 2 times the ...
Mo_'s user avatar
  • 111
1 vote
1 answer
52 views

Generate all frequencies between 5 and 8 kHz in steps of 1Hz

Is it possible generate all frequencies between 5000 and 8000Hz, 1Hz in between with an ATmega328? When I create a c-program outside the Arduino IDE to calculate the frequencies with the formula ...
hennep's user avatar
  • 131
0 votes
1 answer
69 views

New Freak UI @Arduino IDE v2.3.6 - 2025/05/21

This shXt stop after I turn off the power, and bring Notebook back to home. @@"? No any configuratin changed, just power NB off and on. How this shXt happened, and how it solved !? No idea... ...
James's user avatar
  • 11
0 votes
1 answer
64 views

Stepper motor not moving

this is my second Arduino project and I am trying to figure out why my stepper motor is not moving. I was able to get a basic 28byj-48 stepper motor to work using stepper.h and some sample code. Now I ...
Doug Ray's user avatar
  • 109
0 votes
1 answer
41 views

I've looked at the spec sheet on the ESP8266, but can't find the time it takes for the A/D conversion or the A/D control registers

text or link to describe the answer or a link to where to find the answer. I am a newbie to the esp8266.
David Thompson's user avatar
1 vote
0 answers
44 views

Can't get ESP32C6 to work in PlatformIO. Error is "unsupported ISA substring '_zicsr_zifencei'"

I bought a few Waveshare ESP32C6 Touch LCD 1.47 boards and have had a hell of a time trying to get my sketch uploaded. I somewhat understand that PIO doesn't support esp32c6 because: The ESP32 Core ...
Brad T's user avatar
  • 11
0 votes
0 answers
29 views

Circuit Playground Express (CPX) + Crickit + I2C sensors

I have a Circuit Playground Express (CPX) mounted on a Crickit. I want to control two air pumps using the motor output on the Crickit, but also connect two Adafruit SCD41 sensors using I2C. When I ...
LuxNo's user avatar
  • 9
0 votes
2 answers
84 views

LED Matrix for Arduino R4 Wi-Fi specific functions

I'm searching for the path and the source code for the builtin (I think) function, name is: renderBitmap(). This function appears as a member of the ArduinoLEDMatrix class but its name doesn't appear ...
Franck's user avatar
  • 25
-1 votes
1 answer
59 views

Reasons for an ATmega328P Nano SuperMini USB-C board not being recognized by a PC/Mac? [closed]

I recently got two of these ATmega328P Nano SuperMini USB-C boards but none of them is being recognized by my PC or Mac. I'm using the old bootloader setting in the Arduino IDE 2.3.6, CH340 drivers ...
georgmierau's user avatar
0 votes
1 answer
34 views

How do I reinstall Arduino IDE 1.8.12 to correct corruption, without losing all of my libraries and board installations?

I have been told to reinstall my Arduino IDE Ver: 1.8.12 to correct some corruption with my current installation. loading hardware from C:\Users\Paul\AppData\Local\Arduino15\packages: loading package ...
Paul Wilkie's user avatar
1 vote
1 answer
56 views

Arduino Nano ADC input selection

The maximum ADC sample rate for the '328p, using the default prescaler of 128, is given as roughly 10000 samples per second. Maybe I've missed it, but I can't see whether that is the total rate for ...
Jim Mack's user avatar
  • 269
1 vote
1 answer
52 views

ESP32 and Fingerprint Sensor – Serial Monitor Shows Nothing

I'm trying to connect a fingerprint sensor (Adafruit type) to my ESP32 (DOIT ESP32 Devkit V1), but the Serial Monitor remains completely blank, even though I'm using Serial.begin(9600) and printing ...
R T's user avatar
  • 11
1 vote
1 answer
42 views

When I run my for loop the serial monitor is giving very strange results

This is unfinished code for driving a 4 digit 7 segment display. When I run my data function that should output the data to send to the shift register, I get a very weird output. 0 00111111 1 00111111 ...
Daniel MacDonald's user avatar
0 votes
2 answers
77 views

How does a sensor data move from physical layer to application layer

I have used Arduino IDE to program a IOT gateway using ESP32 and W5500 ethernet module to use them as a ethernet webserver. I wanted to know for educational purpose, I know that sensor belong to ...
Deepak Kumar's user avatar
1 vote
0 answers
41 views

Configuring the colors of the IDE

I do not like the dark theme at all and I set the Light theme, but the output background color is still black. I know that somewhere there is a file where it is possible to tweak the colors, but I ...
AngMas's user avatar
  • 11
2 votes
1 answer
124 views

ESP32 LED PWM fade not working?

Not sure if this belongs more in an electronics SE, but I'll give this a try. I'm trying to use an ESP32-C3 and an NPN transistor (2N5551) to PWM drive an LED (values below). I'm trying a simple fade, ...
Lorenzo's user avatar
  • 149
1 vote
0 answers
30 views

arduino micro A000053 disappear at device manger

I have two Arduino micro atmega32u4 boards (A000053) and I'm trying to detect them with at Device manger but I'm stuck, I tried to solve it with the guide below but not succeed because the device ...
Yonnigunn's user avatar
0 votes
2 answers
82 views

Coding Sequential Operations

I am using an Arduino r4 Wi-Fi to control unique angle settings for two different servo motors during the execution and operation of a device I am building. I want to have the servos use different ...
user1363363's user avatar
0 votes
1 answer
75 views

Serialise a struct containing a flexible array

I want to serialise and deserialise a struct containing a flexible array. I did find a working code but wondering if it is the most elegant and optimum way to do it. This is my first attempt below ...
Noel's user avatar
  • 135
1 vote
1 answer
53 views

Connect ESP32-CAM to L293D

Disclaimer: I'm a programmer, not an electronics expert. I built this car using an Arduino Uno, and now I want to add a camera to it. I’ve tried researching online, but I couldn’t find much ...
Carina's user avatar
  • 11
1 vote
2 answers
68 views

Trouble calibrating MMC5603 Magnetometer with MotionCal and Adafruit SensorLab – readings seem off

I'm trying to calibrate my MMC5603 magnetometer using MotionCal and the Adafruit SensorLab Jupyter notebook, but my readings seem off. The raw magnetometer values appear to be spread out oddly even ...
user avatar
1 vote
2 answers
66 views

Can't sync ESP32 with Blynk

I was trying to display the readings of my dht11 sensor on the Blynk dashboard but I am struggling a lot. A little help would be really appreciated. #define BLYNK_PRINT Serial /* Fill in information ...
KnightRiderDutt's user avatar
1 vote
2 answers
144 views

ESPAsyncWebServer WiFi.scanNetworks() Soft WDT reset

I'm using Arduino IDE(2.3.5) ESP8266 (3.1.2) and ESPAsyncWebServer (3.7.4), ESPAsyncTCP(2.0.0). I need to wifi scan the network an print the result of my web interface. If I use WiFiScanNetworks(), ...
Seafox's user avatar
  • 11
1 vote
1 answer
70 views

ESP32 scanNetworks compile error: call of overloaded 'BSSID(int)' is ambiguous

I am trying to run following code: #include <WiFi.h> void setup() { //int16_t scanNetworks(bool async = false, bool show_hidden = false, bool passive = false, uint32_t max_ms_per_chan = 300,...
Kosmada's user avatar
  • 19

15 30 50 per page
1
2 3 4 5
500