CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 14:04:04 GMT
content-type: text/html; charset=utf-8
cf-ray: 965caf0e7ecee084-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=da495b6f-763d-4bc2-8441-b95b28dc5529; expires=Mon, 27 Jul 2026 14:04:04 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: 86d06e63-5714-4491-9658-c5a21b36e6ef
x-worker-origin-response-time: 425000000
x-dns-prefetch-control: off
set-cookie: prov=da495b6f-763d-4bc2-8441-b95b28dc5529; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=1fiXtDe2ZH8F6xjS7YinWTt0RSICkne2Sd4LEn_b4GE-1753625044-1.0.1.1-ThhZLNEZ_NiFXQxujBJSJQdx5tb097hl_FodRyqVy5FeX10HnBF8EOvrZ4NhmjbrrMe3.Bs7zMUI332uH7ZjEmnOeVyfi.uLKE6qrGX94PY; path=/; expires=Sun, 27-Jul-25 14:34:04 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=MBgiFHPufPn6wV1oaYVI63hsthDZ._5xsohMuSXjsC8-1753625044674-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
- Heretofore I think I have been using 'heretofore' incorrectly
- Time Machine backup disk not writeable any longer
- Early Sailing days in September 1066... Could Harold defeat William at Hastings, if it happened before Stamford Bridge?
- How to navigate in the Universe's Heat Death
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- Alternative to tedious assert-rewrite for trivial operations?
- Symbols for A.P. Morse's book in Set Theory
- Were the Fantastic Four the only superheroes on Earth-828 in The Fantastic Four: First Steps?
- Kepler's first law proof error - can anyone help me see what the error is?
- Shared-Memory Queue Implementation in C
- Extensions of diagonalizable, respectively multiplicative-type, groups
- rock paper scissors game with randomized system choices. NOT using rnd()
- Forces applied to a car hood while driving
- What is the weight of holy water?
- Humans on alien planet get tailed by silent humanoids
- What does "enter the hold at arden" mean
- Do TeX engines support Shavian OpenType fonts?
- How to extend an MDF shelf?
- edge to curve endpoint move/transform to normal direction
- When and why is fwait necessary when using the 8087 coprocessor?
- What is the meaning of 'Tel.......,qui......'
- Civilian airplanes with inside fuselage jet engines
- "I met a monk and philosopher." How many people did I meet?
- JK flip-flop timing diagram: is Wikipedia correct?