Skip to main content

Questions tagged [atmega2560]

Low-power 8-bit AVR microcontroller with 256kB flash.

0 votes
1 answer
214 views

I’m attempting to connect a 4x20 LCD to an Arduino Mega 2560 Rev3 using the I2C protocol via a 2.5m VGA cable. I understand that such a long cable isn’t ideal for I2C communication, but I cannot ...
Luigi's user avatar
  • 181
0 votes
1 answer
100 views

I am wondering how I can precisely count time delays between rise events happening on 4 different lines/pins using Input Capture of Arduino Mega 2560. How can I synchronize timer/counters? Appreciate ...
Bakyt's user avatar
  • 9
0 votes
1 answer
328 views

I have conflicting information on the max output rating for the Arduino Mega. Some say 200 mA and others say 800 mA like the Uno board. I am running 8 model railroad signal devices that have (3) 3mm ...
Robert B's user avatar
2 votes
1 answer
113 views

I am building arcade game with 10 player buttons (5 for each player) and one start button. All buttons have build in LED inside. Player buttons has LED for 12V and start button has led for 5V. I am ...
andz's user avatar
  • 123
1 vote
0 answers
1k views

I have tested the library and LCD with simple script and everything worked fine. Now I am trying to add the LCD functionality to my working program but the code reaches the lcd.begin(); function it ...
Jesus Soto 's user avatar
1 vote
0 answers
121 views

I have a Mega2560 and would like to use it to power a single fan and display. The fan is a 5V fan that draws 260mA and I can't find power specs for this display. I can't find a clear answer for how ...
David Carpenter's user avatar
2 votes
1 answer
343 views

I am trying to make an observatory through 2 GY-521 gyroscopes and using the outputs I have to make a motor move, but I have a problem. When I move one of the two gyroscopes the outputs change, but ...
Liam Ferretti's user avatar
0 votes
1 answer
893 views

I have been getting the error avrdude: verification error, first mismatch at byte 0x036c 0xb8 != 0xf8 avrdude: verification error; content mismatch avrdude done. Thank you. When trying to upload the ...
Banjoof's user avatar
  • 13
-1 votes
1 answer
210 views

first of all I would like to apologize for the, probably very basic and stupid questions for you, but I'm not an electronic expert.. I'm implementing my project using an Arduino Mega 2560 (I need more ...
Safari's user avatar
  • 101
2 votes
1 answer
310 views

I am trying to convert the following code to output to pin 7 (PH4, OC4B) on an Arduino Mega. The code outputs to pin 6. This code is from a GitHub for the GRBL on the Mega "https://github.com/...
Mr.Spriggs's user avatar
2 votes
0 answers
494 views

I have a code for finding the rpm of one system calling here as engine , the engine have a hall sensor output and I have tried the following Code #define SERVO_MIN 2000 #define SERVO_MAX 4000 struct ...
Lawliet's user avatar
  • 183
0 votes
1 answer
269 views

I'm trying to use softwareserial to exchange datas with a sensor. After some tries without any answer from the sensor, I checked the arduino TX with my scope and what I've seen is not what I've sended....
Prof_Sims's user avatar
3 votes
1 answer
273 views

I am using Arduino mega with 4 interrupts to find the rotation speed of 4 motors . For this I have used INT2, INT3, INT4, INT5 and the code for the same is given below struct Pulse { uint32_t ...
Lawliet's user avatar
  • 183
1 vote
0 answers
88 views

I want to be able to use my HC-05, currently on Serial3 to download code to on my 2560 from a connected android tablet. I'm currently running MegaCore, which has optiboot on it. I've looked for ...
Thom's user avatar
  • 173
1 vote
1 answer
1k views

I have two sunfounder mega2560s. I am using one as an ISP programmer and the other is my target. The programmer has the original bootloader on it. I have placed the ArduinoISP sketch on my programmer ...
Thom's user avatar
  • 173

15 30 50 per page
1
2 3 4 5
9