CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 12:36:55 GMT
content-type: text/html; charset=utf-8
cf-ray: 965c2f5ebfc3c1a1-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=2e2a1f93-b4f3-4595-b0ec-397638934b68; expires=Mon, 27 Jul 2026 12:36:54 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: 16d2c702-eefe-46cb-9379-117cab478488
x-worker-origin-response-time: 940000000
x-dns-prefetch-control: off
set-cookie: prov=2e2a1f93-b4f3-4595-b0ec-397638934b68; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=cQDCCAKeFLEyUdLD9OQ4ORDM.mTcRvQ_H_.NP7waNAk-1753619815-1.0.1.1-MKBfLWGQVearEW.ah.l5b4GViVIrKN7IBuGhui8T5Y4Crh83eAQ42.bb9ib_hu80gCe.dTKU1qqirvst1SJwSGIc5QB3ErZtr5p9qRm4cSk; path=/; expires=Sun, 27-Jul-25 13:06:55 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=5vrEzbT2Qkg.MJjAZ3ZJuMzBefsc0VzzFe53iH91brU-1753619815162-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'arduino-mega' Questions - Arduino Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [arduino-mega]
A microcontroller board based on the ATmega2560 or 1280 chip. Use this tag for questions specifically regarding the Mega, and not just general Arduino usage.
1,821 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
59
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.
...
1
vote
1
answer
84
views
Arduino Mega 2560 + DRV8871: Motor Not Moving with PWM Control
I'm using an Arduino Mega 2560 to control a DRV8871 motor driver connected to a DC brushed motor. The setup includes:
Three buttons: UP, DOWN, and FAST
One limit switch input, where the upper and ...
4
votes
2
answers
920
views
Arduino Mega: is there a way to have additional interrupt pins?
I have an Arduino Mega, and I run out of interrupt pins. I have only pin 18 available, but I need 2 of them. What can I do?
pin
INTx
digitalPinToInterrupt(pin)
3
INT5
1
2
INT4
0
18
TX1 INT3
5
19
RX1 ...
1
vote
2
answers
97
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
votes
1
answer
52
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 ...
0
votes
1
answer
66
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;?
-1
votes
1
answer
56
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.
3
votes
1
answer
283
views
Interrupt routine has unexpected execution
An interrupt routine is executing unexpectedly, and I can't figure out why. Can you please have a look?
Hardware is a generic (knock off) Arduino Mega, with an unused Ethernet shield, and a touch ...
2
votes
1
answer
163
views
Software serial communication problem between ESP8266 and Arduino Mega for plant monitoring system (using Blynk IoT)
We're using the ESP8266 to receive data from the Arduino Mega board, where our sensors are connected. Supposedly, our ESP is connected to the Blynk App. However, the values showing up in our dashboard ...
1
vote
1
answer
296
views
Different pin names in 0V7670 Camera Module
I am trying to follow this tutorial, SIMPLIFIED! How to Use OV7670 Camera with Arduino (other tutorials are also the same) and I noticed that my Camera module has different pin names, what do I do?
...
0
votes
1
answer
96
views
Problem with char* variable malloc/free. Empty contents on recipient variable after using free
I am working on a custom SD card data logger using the following function and struct:
char *filenameCreator(const char *prefix, const char *num, bool addExtension)
{
char *filename = (char *)...
-1
votes
1
answer
35
views
Fail to discard the character T from my transmitter Arduino
I wrote code for my transmitter Arduino. I want to send the data to the receiver Arduino through Tx and Rx serial.
The issue is that I could not discard the char "T" and it appears as output ...
1
vote
0
answers
45
views
Disable verification of certification SSL A7670SA
I have the code below and it doesn't work with my URL. I receive a
715(Handshake Failed)
This code below works normally, but with my API it doesn't work.
I'm using a A7670SA with Arduino Mega 2560.
...
2
votes
2
answers
200
views
interrupt from a button and wait until serial port 1 has a message
I'm a little bit loss because I'm learning how to use the interruptions on Arduino.
I'm creating a program to read an RFID code that arrives if an RFID transmitter is close to the antenna (a little ...
-1
votes
1
answer
136
views
Unable to find PCA9685 module when using the I2CScanner library: no servo movement
I am trying to use an Adafruit PCA9685 servo driver module with an ELEGOO Mega 2560 board.
I am supplying the servo driver board with 5 V and tested all the wires to make sure. I tested the servo ...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
arduino-uno × 270
serial × 199
programming × 127
arduino-ide × 83
sensors × 80
interrupt × 77
c++ × 68
power × 63
motor × 55
spi × 54
shields × 50
esp8266 × 49
sd-card × 48
lcd × 46
timers × 45
pwm × 45
gsm × 44
i2c × 42
arduino-nano × 42
usb × 41
communication × 39
ethernet × 38
softwareserial × 36
pins × 34
atmega2560 × 33
more related tags
Hot Network Questions
- Meaning of 芭蕉 in Tang age
- Can Spi flash memory's contents be corrupted from heat?
- Why is 0.0 printed as 0.00001 when rounding upward?
- Blinded despite Blindsight?
- In Fantastic Four 2025 shouldn't this thing have taken years?
- I don't understand Photos Library.photoslibrary
- Are classified documents subject to a subpoena in discovery?
- What were the two colored keys on a MUPID for?
- How do Japanese people understand the reading of a single kanji with multiple readings in their everyday life?
- Civilian airplanes with inside fuselage jet engines
- How much of a really big a spaceship could a nuke take out?
- How to make that the object sliding down along the local axis while following the rotation of the another object?
- Anonymizing a submission for double-blind review
- Early Sailing days in September 1066... Could Harold defeat William at Hastings, if it happened before Stamford Bridge?
- Is there any verse which says that throughout the Vedas the praise of Shiva is sung?
- Is this a violation of open source?
- JK flip-flop timing diagram: is Wikipedia correct?
- Heretofore I think I have been using 'heretofore' incorrectly
- When did the OEIS get even better?
- Confusing/incorrect sentence in proof of Zorn's Lemma in Lang's "Real and Functional Analysis"
- Word order for a phrase with a number, adjective and noun
- Do TeX engines support Shavian OpenType fonts?
- Why did the Holy Spirit send Jesus to the wilderness to be tempted by Satan?
- Why am I winning always? A coincidence perhaps?