Recently Active Questions

2 votes
1 answer
117 views

Transmitting voice via VLC

The project I'm working on: Short-Range Coded Visible Light Communication System. Visible Light Communication (VLC) systems use light to transfer data between transmitter and receiver over short-range ...
3 votes
1 answer
438 views

Adafruit OLED 7-pin display - Abbreviations

I can't remember for the life of me how exactly I set up this screen in previous models, partially because the references I'm using in my code have different names from the pins on the Adafruit ...
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. ...
3 votes
1 answer
2k views

Creating a sine wave with a DAC and feeding it back

I want to produce a digital sine wave, send it to DAC0, and then receive it back as input on A0 and plot the graph. I am using an Arduino Due. I wrote the following code: #define maxSamplesNum 120 #...
2 votes
1 answer
175 views

Can I use a TCS34725 color sensor with a LilyPad?

I have been trying to get a TCS34725 color sensor working with a LilyPad Arduino USB - ATmega32U4 board, but with no success. I am wondering if it possible? I have been using the following sketch to ...
2 votes
1 answer
53 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 ...
-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 ...
1 vote
1 answer
480 views

BLE library for Beetle Bluno BLE with AVR architecture (ATmega328)

When I try to #include <ArduinoBLE.h> in my Arduino program, I get the error: WARNING: library ArduinoBLE claims to run on samd, megaavr, mbed, apollo3, mbed_nano, mbed_portenta architecture(s) ...
1 vote
0 answers
459 views

HMC5883L Magnetometer X, Z values constant, only Y value Changes

I have a HMC5883L module connected to an Arduino Mega 2560 via +5, GND, SCL, SDA. The Arduino code is from the MagMaster-master example, as follows: #include "Wire.h" #include "...
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 ...
0 votes
2 answers
427 views

Is std::string (and ephemeral memory allocation in general) safe to use for ESP32 Arduino?

I know that with 8-bit AVR Arduinos, std::string is widely regarded as fundamentally unsafe due to problems with heap-fragmentation (partly due to limited ram, and partly because the WAY the ...
1 vote
1 answer
763 views

Reading a monochromatic bitmap with Arduino for plotting

Complete newbie here. I am following this thread: How to read bitmap image on Arduino Specifically the third reply from : frarugi87 in my attempt to plot a monochromatic bitmap image with a plotter ...
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. ...
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 ...
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 ...

15 30 50 per page