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.
0
votes
0answers
3 views
Simulation of Arduino Mega 2560 with GSM Module using Proteus
I have really been suffering with my simulation! Tried connecting my arduino mega 2560 to COMPIM (used as GSM Module) in my circuit and also loaded sample code but damn! In vain! I wanted to view the ...
0
votes
1answer
9 views
Bizarre compilation problem — only compiles with the addition of a single Serial.println() line?
I have a SwitchDoc Labs DS3231 Real Time Clock Module that I am using with an Arduino Mega. It's connected to 3.3V and the SDA(20)/SDL(21) pins. I'm also using SwitchDoc's RTC_SDL_DS3231_ARDUINO ...
1
vote
2answers
46 views
16Hertz Uno R3 Board vs Arduino Uno R3 Board
I bought a 16Hertz Uno R3 Board. When I installed the driver and the Arduino IDE, in the IDE`s menu I saw:
Tools -> Board -> Arduino Uno
was selected by default which is great, ...
0
votes
0answers
27 views
arduino mega number of simultaneous pulse inputs
I'm looking at this specification page:
http://arduino.cc/en/Main/ArduinoBoardMega2560
It says there are 54 digital input pins. How many of those can be used at the same time to measure pulse input ...
1
vote
3answers
64 views
What happens if an interrupt is triggered while sending data via serial?
I would like to use an inertial sensor to measure acceleration and send the results to an Android app using a serial communication with a bluetooth Mate Gold module. The sensor provides a data ready ...
2
votes
2answers
52 views
Difficult between atmega328 & atmega2560 when coding & compiling in a pure c
I have an arduino uno with atmega328p controller.
I found the code to deal with some specific uart protocol, named mdb: https://github.com/Bouni/MateDealer/tree/master/arduino
But it's compiled just ...
0
votes
1answer
19 views
Programming Arduino Mega processor with FTDI instead of ATmega32
does anyone tried to program the Arduino Mega with an FTDI chip like in the Arduino Nano (this is for a custom design)
Will it work?
Thanks!
0
votes
1answer
17 views
Can I connect an RFID reader to the ICSP header?
I am connecting an RFID reader to my Arduino mega. The directions that I have found say that I need to use pins 50-53. I also noticed that the ICSP header contains (what looks like) a secondary ...
0
votes
1answer
20 views
Use an ethernet shield and RFID rc522 together on a mega?
I am using an Arduino Mega and I would like to connect a rc52 RFID reader and a network shield. My problem is that both are set to use the same set of pins: 50 - 53. Can I redefine the pins used so ...
-1
votes
2answers
32 views
Powering an Arduino Mega with external USB Power Bank?
I am making a robot with arduino mega r3. I want to power the arduino with a usb power bank. How should I do that?
-2
votes
2answers
60 views
Code for four road junction
This is the Arduino code for a four road junction. In the below code, the if case must be tested after every road without delay. Can any one guide me?
int redLed1 = 7;
int yellowLed1 = 6;
int ...
1
vote
1answer
70 views
How to accept user input (array, variables,…)
I am working on a project using my Arduino mega2560 that triggers a solenoid (maximum of three solenoids), my camera and my flash (maximum of two flashes). The core routine is there, and working.
...
6
votes
1answer
187 views
Can you query the current serial port's speed?
Is there some code I can use to find out what the a chosen serial port's speed is running at ?
0
votes
1answer
36 views
how to send SMS from Ethernet shield via SMS Gateway
how do i send SMS from Ethernet shield via SMS Gateway?
this site provide free sms (Clickatell) does anyone kno how to do this or Is there some other way to do it ?
1
vote
1answer
49 views
error: 'CLASS' does not name a type only when creating object inside another object
I'm trying to use Adafruit's LED Backpack library within a custom class. When I use the Adafruit library directly within a sketch, it compiles fine. When I use an example sketch provided with the ...
2
votes
2answers
53 views
Use RFID-RC522 with other Pins
I'm wondering where the pin setting is manifested in the library.
I want to use the RC522 with other digital pins than the default 50-53 pins, because I am using a shield for a display on theese ...
0
votes
1answer
55 views
High Frequency Sine Wave Generation
I'm new to the world of Arduino and I'm working on a wireless charging project that needs a 5.7MHz sine wave. I've tried using a Due and changing the PWM and DAC, but I can't get a clean sine wave at ...
1
vote
0answers
28 views
Data Loss over Serial Communication thru GSM SIM9000A Modem
I have an Arduino Megs 2560 board and using Serial 2 for communication with SIM9000A GSM Modem. I send over a HTTP get request by using appropriate AT command strings.
The GSM modem TX/RX pins are ...
0
votes
1answer
48 views
PWM pins weird on Arduino Mega, works on Arduino Uno
I've bought one of those cheap 2.4" TFT LCD resistive touchscreens, one of these:
It works great on my Arduino Uno, using the code from this github repository. Now I'm trying to get this to work on ...
0
votes
0answers
19 views
Data at Serial Port Avaliable
I am interfacing a GSM modem via Arduino at Serial port 2.
I have seen that responses fron GSM modem are subject to time. Sometime its response are fast and sometime it are slow. I have a code like ...
-4
votes
1answer
39 views
How to connect twenty different serial devices to an Arduino Mega?
I want to connect 20 serial devices to the same Arduino Mega.How to do this?I know that multiplexing is the way but how to do that
2
votes
1answer
139 views
Serial.read() vs. Serial.readBytes()?
I'm trying to do some fairly simple serial communication and have things partially working, but am pretty confused about a couple results I'm getting.
For a little background, I'm using an Arduino ...
0
votes
0answers
78 views
Arduino PID setup for Quadcopter
I am currently working on a quadcopter in which I want help in setting up my PID.
I am trying to get output from the PID loop by giving input from MPU6050's (accelerometer and gyro) pitch value. The ...
0
votes
3answers
67 views
Time based scheduling, NTP vs delay()
Without asking an open-ended question, i wish to find the best way (resourcefulness) to execute methods from an arduino based on time.
in a nutshell, every 10 minutes i want functionA() to be called ...
0
votes
1answer
32 views
Adafruit CC3000 jumper pads
if I solder the jumper pads on the adafruit cc3000 for use with the Arduino Mega will it still work fine with the Uno?
0
votes
2answers
58 views
Pressure Sensor and Arduino
I am currently working on reading pressure values using a tekscan a201 sensor. The sensors I have are limited to 25lbs.
My plan is to use eight on these sensors of them with a arduino Mega. Since I ...
2
votes
1answer
98 views
US-100 Ultrasound sensor doesn't work on Arduino mega 2560
Im using a Arduino Mega 2560, and I tried to connect a us-100 ultrasonic sensor for distance measurement.
I connected it as shown in the image
The code I used was:
const int trigger=6;
const int ...
0
votes
3answers
108 views
Smaller version of the Mega
I'm currently working on a Arduino Mega (GPS + IMU + SD card logging + BT). need the Mega for extra memory and serial port.
I would like to transition to something with a smaller form factor now. ...
0
votes
1answer
151 views
How can I speed up reading of an SD card?
I am working on a project using an Arduino as a web server.
Code:
webFile = SD.open("index.htm");
if (webFile) {
while(webFile.available()) {
client.write(webFile.read());
}
webFile.close();
...
0
votes
2answers
53 views
How do I connect two slaves of same type in I2C?
I am not experienced about I2C communications, but I do happen to have two HMC5883L magnetometer modules that I wish to connect to a single arduino. It uses I2C protocol, and hence the slave device ...
0
votes
0answers
33 views
Sending data from processing to arduino
I have problem to send data from processing to arduino mega.
Processing Code :
import processing.serial.*;
Serial myPort;
void setup()
{
println(Serial.list());
String arduinoPort = ...
0
votes
1answer
51 views
SIM900 GRPS Shield Power down over issue AT+CIICR cmd(Bring Wireless Coms)
I'm trying to get the TinySine SIM900 GPRS Shield working to get data over the GPRS network, using Arduino MEGA.
I'm Able to register my SIM with this Shield and even , but as soon as I sent the ...
0
votes
1answer
73 views
Arduino + wizfi210(WiFi) http post
I would like to do an HTTP post to Carriots. I saw few tutorials.
Both of them are using ethernet instead of WiFi. I realize the way using Arduino WiFi shield and WizFi Shield are a bit different. ...
0
votes
1answer
32 views
Powering Infrared and Sonar sensors using BEC
I'm new to Arduino. I'm using Arduino Mega 2560 board & MATLAB Simulink-Arduino support package and trying to integrate Maxbotix Sonar and Sharp IR sensor for my class project. When I powered ...
1
vote
1answer
71 views
Serial Data through Pin 13 LED
I am looking to utilize Pin 13 and an external LED to flicker as either the Rx or Tx LEDs do when Serial data is transferred through the Arduino. The existing code is all in real time to function with ...
1
vote
1answer
125 views
Multiple 7 segment displays blinking
i just set up 2 displays ( 3 digit 7 segments ), and the displays seems to be blinkin ( i know they are suppose to blink but so fast that the human eye cannot detect it ).
I'm using the SevSeg ...
0
votes
2answers
94 views
Decoding a RS232 message in Arduino
I have an Arduino Mega with an MaxBotix (MB7066) sonar attached, the sonar has the ability to send serial data with it's reading. It uses a asynchronous RS232 format, except the voltages are 0-Vcc. ...
0
votes
0answers
34 views
Using 4 16bit timers for 400hz PWM
I'm dealing with arduino mega based quadcopter and trying to make PWM frequency for 4 motors = 400hz.
I've found an interesting solution where 4 ATmega2560 16bit timers are used to control 4 ESCs with ...
0
votes
0answers
38 views
Obtaining digital voice from Arduino GSM/GPRS shield
We want to use Arduino Mega 2560 + GSM/GPRS Shield to check some kind of IVR service:
Arduino calls to some number.
The IVR answers with standard answer which actually a digitaled voice
Arduino ...
0
votes
0answers
103 views
Cannot program Mega2560 using Atmel Studio 6.2 and avrdude
So I will admit that I am a noob to Arduino. I have some experience programming microcontrollers, and that was back in the day (about 4 years ago - such as the Freescale 68HC12) so up until this point ...
0
votes
0answers
26 views
Help to understand multiple PWM working together
I'm very new to arduino related stuff so this question might be really easy to answer.
I don't understand how multiple PWM outputs are supposed to work. Look at the pic.
In the first(1) case we are ...
0
votes
1answer
45 views
Several SIM with Arduino GSM/GPRS shield
For some purpose we need to communicate with Arduino using more that one SIM card, but still like to use an only GSM shield.
So, the idea is to use several SIM holders, to commutate each of six SIM ...
0
votes
0answers
21 views
GSM Shield - keep recieving Ready
hi all i have ATWIN Linksprite GSM
it keep Receiving the following message over and over again :
RDY
+CFUN: 1
+ENCRET: 0
+CPIN: READY
what to do to stop that and what does that mean ... thanks
1
vote
1answer
59 views
Self answering a Intercom and playing louldy for person to response
We have two labs - one in 1st floor and other at 2nd floor. We are connected by intercom - both the labs has one device each. The issue is that the person who sits near the intercom is busy through ...
0
votes
2answers
71 views
what is fastest allowable serial baudrate?
what is the fastest serial read the Mega can do?
begin.Serial1(1024000) is accepted for compiling, but reading jibberish
any suggestions on a faster device?
1
vote
1answer
63 views
Multiple Definition of “_Vectors”?
I'm working on an arduino project that uses the GSM Shield and the eHealthSensor from Cooking Hacks. However I ran into an issue in which the interrupt vectors from the header/cpp files used are being ...
0
votes
0answers
93 views
POST data with an interval via Intel Edison (same as arduino)
I was trying to POST data repeatedly but was unable to do that, it posted for once but after that it stops. I tried again by compiling and pushing my code same thing happened. The loop function is not ...
0
votes
1answer
119 views
EFCom GPRS/GSM Shield
I have an EFCom GPRS/GSM Shield
http://www.elecfreaks.com/wiki/index.php?title=EFCom_GPRS/GSM_Shield
and I am using it with a mega 2560. The problem is that the code in the wiki page
//Serial Relay ...
0
votes
1answer
155 views
SD Initialization Failing
I am using a SEEED SD Card Shield. Everytime I attempt to write the card, I get
When Using File> Examples> SD > CardInfo:
initialization failed. Things to check:
* is a card is inserted?
* Is your ...
0
votes
0answers
56 views
How to rotate a servo continuously?
I'm new in robotics. I bought a mini robot ( Link ), which i rebuilt a little. Now it has legs and arms. This little robot has 4 little servos (Link). There are two wheels attached to two of these ...