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.
5
votes
1answer
159 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
21 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
39 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
35 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
41 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
26 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
40 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
15 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
37 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
115 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
70 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
61 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
29 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
56 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
82 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
101 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
131 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
51 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
30 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
43 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
66 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
31 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
70 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
114 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
85 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
29 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
34 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
77 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
43 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
18 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
56 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
65 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
54 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
75 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
100 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
121 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
54 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 ...
1
vote
2answers
55 views
Serial debug output looking messy
I've got this quite basic code running on an Arduino Mega 2560, and the output is looking like I have the serial settings wrong, though I can't work out what to change.
void setup()
{
...
2
votes
1answer
600 views
ov7670 + Sd Card + arduino
I have three devices for making a motion activated security camera system:
this is the camera : LINK OV 7670
this is the SD Card module: LINK
and a basic motion Sensor: PIR with 3 pin
I have ...
2
votes
1answer
140 views
PWM signaling with Arduinos: What is the reason for the ground connection?
This may sound like a very dumb question and I apologise in advance.
I've gone through reading about PWM and working on some example sketches to control PC fan speeds using PWM and Arduino.
In all ...
0
votes
1answer
102 views
Arduino LCD Display drawing image issue
I am playing with 3,5" (400x240) TFT display which is placed into Arduino Mega 2560 R3 board.
My final goal is taking .raw data from SD card and drawing it on display.
What I have done so far:
- My ...
1
vote
2answers
53 views
4 bit to Decimal Converter IC
im using arduino and im out of pins.
I need something like a decoder but the problem is that the decoders only change one output pin I.E. for 0011 the output will be 0001000000000000 what i need is ...
0
votes
5answers
264 views
Which one Arduino Board to Buy
So, i need an arduino board Mega 2560 ( that is the one that has more pins so it is the one i need) i went to eBay and there are a lot of diferents boards im thinking on buing ATmega2560-16AU CH340G ...
0
votes
1answer
126 views
How to choose between AM230x and DHT22 temperature and humidity sensors?
I'm looking forward to getting an accurate humidity and temperature sensor.
Right when I decided to go with a DHT22 module, I saw AM230x (AM2301, for example).
How do I choose between DHT22 and ...
1
vote
2answers
68 views
What are the fundemental differences of different Bluetooth modules for beginners?
I'm a beginner to microcontrollers and electronics, albeit not really to computers and programming.
Starting out with the Arduino, I came to a point whereby I'm really interested in getting my ...
1
vote
1answer
26 views
Checking connection/ communication
Can I ping or “hello world” an Arduino.
Background: My son and I bought a 3-D printer kit.
(EZ-3D)
We are having some issues talking with it. (Well we can't talk at all.) So we thought to upload ...
0
votes
2answers
46 views
How can I tell which pins I will have left available by looking at a shield?
I'm very new to Arduino and came to a point where I'm interested in playing with shields, such as LCDs.
For example, I really like the looks of "LCD 1602 with keypad" module, but it seems to be using ...
1
vote
1answer
76 views
Using multiple timers and avoiding conflicts
I would like to use three timers in CTC mode to launch three Interrupt Service Routines at different frequencies.
In this application I need to use the servo library, millis() and micros() ...
1
vote
1answer
58 views
Why can this color sensor not recognize green?
I got this color sensor last week, I've been able to get the sensor to recognize blue and red, but not green. still working on this.
I use the code in the product page.
so anybody have any idea about ...