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
2answers
57 views
Raspberry pi -Arduino bridge
I am building a small wireless controlled robot using the Arduino and the raspberry pi. It works by the user wirelessly connecting through to the raspberry Pi (using vnc or some other form wirelessly) ...
0
votes
1answer
19 views
Problem with interpretting and using the IMU data
I am using MPU6050 IMU for getting accelerometer and gyro data. I could read the data using the code from the I2Cdev library here, but the problem I have is that I can't use this data in a meaningful ...
0
votes
1answer
54 views
Sending MPU6050 data over serial to Java/C# Program
I am using a MPU6050 Accelerometer/Gyro breakout (GY-521) to retrieve data and send it to a java program. I have tried several ways, but I couldn't find a way to send the float values calculated from ...
2
votes
0answers
31 views
Arduino + Web Service [closed]
I am doing my CBT, and i need help...
I need a Webservice in C#, and it will send commands to my Arduino( Mega 2560 + Ehternet Shield )...
My Webservice will recibe commands from Android and Web
...
0
votes
1answer
39 views
How do I set Grove GPS to use A-GPS?
I am using a grove GPS http://www.seeedstudio.com/wiki/Grove_-_GPS
I attached the GPS to Serial1 of Arduino Mega 2560.
The baudrate of the GPS is set to 9600.
Library wise, I am using TinyGps to ...
1
vote
0answers
14 views
Client or WiFiClient wrapper for adafruit CC3000 wifi other than web [duplicate]
Basically I want a contact to a socket (keep open) for sending strings and characters as well as receiving them. I do not want anything to do with web. I am writing my own server in vb and actually ...
1
vote
1answer
49 views
Mega 2560 Doesn't Respond
When trying to upload to my Mega r2, it simply times out during uploading.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
I tried ...
0
votes
1answer
53 views
How do I install the firmware on an Arduino Mega clone?
I have a brand new board which is a clone of the Mega2560. I need to install the USB firmware on the 16U2 and the bootloader on the 2650 chip. I have Atmel Studio and a JTAGICE-3. Using those, I can ...
1
vote
3answers
348 views
3.5" TFT LCD Display is not working with Arduino Mega 2560 R3
Even I can't do similarly with my 2.4" TFT LCD in here still: 2.4" TFT LCD Shield isn't working on Arduino Mega
Now, I have bought 3.5" TFT LCD display for my Arduino Mega 2560 R3 to try ...
1
vote
0answers
28 views
GPS - Speed doesn't update as should - EM408 & Arduino Mega & GSM
I'm developing a system that will get the GPS signal and send it though the GSM with information about position, speed and temperature from some digital sensors.
Currently I'm using the GPS EM408, ...
0
votes
2answers
72 views
How to send multi variable information over serial?
I would like to send information between my Arduino and my computer. Is there a way to send multiple variables from one Arduino? If so, how would I go about separating the variables?
1
vote
1answer
51 views
Are these lcd and motor-shields stackable?
first of all, I'm kindly apologizing for asking such stupid questions, but as my electronic-knowledge is dramatically limited, you are my only hope to get my problem solved.
I'm pretty new to Arduino ...
1
vote
1answer
97 views
Prevent Arduino Mega from setting all Outputs to HIGH on Reset
The Arduino Mega 2560 Rev 3 has multiple relays connected to its digital output pins.
Whenever the Arduino is reset (using reset button, turning on Serial Monitor etc), the Arduino turns on all ...
4
votes
2answers
126 views
What is the cheapest way to add wifi to Arduino?
I am trying to find some sort of wifi adapter for Arduino, it needs to be as small as possible (not a shield) and as cheap as possible.
So far I can only seem to find shields that cost about £10+ ...
1
vote
1answer
101 views
Using arduino mega with linear encoder to control movement of dispenser
My goal is to deliver very small quantities (100 microliters) of fluid to the (approximate) center of a 25mm x 75mm surface. My first idea was to repurpose an old inkjet printer for the project. I ...
-2
votes
1answer
37 views
timestramp in arduino
int sensorArray[32] ;
int selectPinZero = 8;
int selectPinOne = 9;
int selectPinTwo = 10;
int selectpinthree=11;
int Enablepin=7;
int inputPinOne = 0;
int inputPinTwo = 1;
int sensor1;
int ...
2
votes
2answers
113 views
Arduino to Raspberry Pi wired communication
I am new to Raspberry Pi (just brought mine before writing this post), and I am looking to see what is the most ideal way for two way communication between an Arduino and a Raspberry Pi (USB, SPI or ...
0
votes
0answers
32 views
Arduino message hang
I'm using an Arduino Mega, with an Arduino Ethernet shield, to recieve messages via a self hosted MQTT broker(http://mqtt.org).
Upon receiving the string "print-node-1", the Arduino then scrapes a ...
0
votes
0answers
15 views
How to create time frame in arduino [duplicate]
Dear all.
This my circuit i build. Here i am using arduino UNO Board to read the values.
Question are
How to create time frame here. In arduino timer library available . Where function like ...
-1
votes
1answer
62 views
Data packet format when USB initialized as COM port
Does anyone know how the data in data packet looks like when the USB is initialized as COM port?
I have a Arduino Mega 2560. I have initialized COM port with a baud rate of 9600. I know that there ...
1
vote
1answer
62 views
Setting time frame in Arduino Uno
I have built the circuit below using mux ICs. In a particular interval the respective selector pins get selected and analog signal from hall sensors are read and give a particular analog value out. ...
2
votes
1answer
125 views
What is the circular gold pad on arduino mega 2560 v2 and above?
Could someone point me to the documentation that describes the gold dot and surrounding gold circle on the front of my arduino mega v2 board. It is right above the ICSP header and reset button, and ...
1
vote
0answers
33 views
Arduino Firmata Disconnecting Randomly
I am currently using an Arduino Mega 2560 with a Windows 8 laptop. On the Arduino I have uploaded the StandardFirmata code with only one modification. The samplingInterval was changed from 19 to 99 ...
3
votes
1answer
105 views
How to make XBee module interrupt/wake arduino
What I am trying to do is, to have arduino in low power mode and waking up only when a packet is received and is available to be read from the buffer.
A scenario : Zigbee XBee module is not ...
0
votes
1answer
88 views
Can I load programs through the RS232 pins?
Can I upload new programs onto a MEGA2560 through a serial port connected to pins 2&3? (through the correct RS232<->TTL level shifters)
I know the 16U2 chip acts as a USB->serial converter ...
0
votes
1answer
59 views
error: no '' member function declared in class 'SonarSRF08'
Hi, I am a pretty novice coder and I am getting this error consistently with a library I have installed. Here is the code I am trying to run:
#include <Wire.h>
#include <SonarSRF02.h>
...
0
votes
1answer
109 views
Can Arduino Mega2560 Use this 24VDC Relay?
Can a Arduino MEGA 2560 R3 provide enough current out of its pin to activate the Songle srd-24vdc-sl-c relay? Will powering the Arduino with an external power supply help?
0
votes
1answer
85 views
Multiple definition of '__vector_36' (intterupts)
I'm having some conflicts between the core HardwareSerial.cpp and an external DMX library.
For DMX I'm using the Four Universes DMX 512 Library. Using the library standalone, it all works perfectly. ...
-1
votes
2answers
161 views
Arduino Mega & WiFi Shield; why webserver everytime says my A7 pin reads 0V?
I have got Arduino Mega 2560, Arduino WiFi Shield and resistor 1.5K. Now PWM 2 is attached to Res. then attached GND. 5V is attached between PWM2 and resistor's up point. I want to read Arduino Mega's ...
2
votes
1answer
95 views
How to test the sleep / enable function of Stepper Driver?
I am currently using an Arduino Mega 2560 to run this stepper motor driver (Big Easy Driver, ROB-11876 from sparkfun) https://www.sparkfun.com/products/11876.
I am trying to use the sleep or enable ...
0
votes
0answers
104 views
Can the official arduino GSM shield library be changed to work with hardware serial on mega
I have a complex requirement that uses a number of libraries that depend on timing I.e. OneWire. When using the official GSM shield on a mega, it loads a version of software serial to talk to the GSM. ...
0
votes
0answers
46 views
Editing option on web server using Ethernet sheild [duplicate]
I have below code With Ethernet shield.I would like to edit the date and time using web server. Individually i tried those code working fine . Now i am trying to combine led control and display ...
0
votes
1answer
43 views
Arduino Mega's 4 Serial Ports?
I have been using only Arduino Uno. Now I am about to buy Mega. But a question rises. Are those 4 Serial Ports of Mega controlled still through one usb cable?
0
votes
0answers
738 views
Connection problem with Arduino Mega 2560 and GSM shield ( official M10)
As I don't want to stack the shield over the mega 2560 board, I try to connect only the pins that used for GSM communication. Here are my connection:
Pin 3 on Mega <==> Pin GSM Rx on Shield
Pin ...
0
votes
3answers
896 views
TCP communication between Arduino client and server
I'm currently trying to build an Arduino robot controlled via a wifi connection. I have an Arduino Mega running as a client and it successfully connects to the server on LAN via the Adafruit cc3000 ...
1
vote
3answers
836 views
2.4" TFT LCD Shield isn't working on Arduino Mega
Even on ebay's website it is mentioned that I can't use 2.4" TFT LCD Shield display on attach to Arduino Mega. The problem is that I bought this shield by mistake. I want to put this shield onto ...
0
votes
0answers
76 views
Negative value conversion for modbus slave
I have an analog sensor which reads values 0-5v, -75 degrees to 75 degrees. Now I have converted to +75 degrees and -75 degrees format depend on the voltage.
From 2.5v to 5v data is read properly ...
2
votes
2answers
486 views
How to program a CAN-BUS Arduino shield to control car windows?
My project is to control car windows using voice recognition. I have successfully controlled some LEDs using the EasyVR Arduino shield using and Arduino MEGA. Now I want to take control of the windows ...
2
votes
1answer
48 views
Can anyone explain how to use MPL sensor with Arduino MEGA?
I am trying to connect a MPL3115A2 Altitude/Pressure/Temp Sensor Breakout which I bought from Hobbytronics to my Arduino Mega. What I had in mind was (Breakout -> Arduino):
3.3V -> 3.3 V
GND -> ...
0
votes
2answers
140 views
Modbus Protocol Compile Error
I have Code for Mod bus Library as below. I have Gone through lots of forum. How to assign device ID, slave address, length using below library function:
#include <SimpleModbusSlave.h>
#define ...
3
votes
4answers
2k views
How do i split an incoming string?
I am sending a list of servo positions via the serial connection to the arduino in the following format
1:90&2:80&3:180
ie
servoId : Position & servoId : Position & servoId : ...
0
votes
1answer
172 views
Problem with Xbee or Arduino? [duplicate]
I am sending three analog signals through the xbees to be written to analog pins on the receiving side so they can be read in Simulink. I connected both of the arduino megas to my laptop and uploaded ...
1
vote
0answers
111 views
help with xbee library [closed]
I am working on a project sending three analog signals serially using 2 series one xbees and two arduino megas. I recently found out i need to use API mode and the xbee library for the receiving ...
1
vote
1answer
72 views
Should a delay be expected to cause deadlock?
I have made a simple program using the int main() {} function. It has a delay in it. It is evident the code before the delay is running, but the delay never seems to time out and let the next ...
0
votes
0answers
278 views
Reading three signals sent serially on Simulink from Arduino
I am sending three signals from one arduino mega to another using xbees. On the receiving end I am using these signals in a Simulink code to control servo motors. Currently it is set up to read from ...
4
votes
1answer
508 views
Arduino Mega timeout communication with programmer error
I have an Arduino Mega 2560 and it was working fine until about lunch time when I started getting this error:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout ...
5
votes
2answers
346 views
3.3V, 5V and 9V pins on Arduino
On my Arduino Uno R3 and Arduino Mega R3, there are 5V and 3.3V pins.
However on this page http://arduino.cc/en/reference/board, there is a 5V and 9V pin but no 3.3V pin. The page at ...
2
votes
1answer
75 views
How can I rename how my Arduino shows up on the computer?
I have a clone of a Mega 2560, and the Chinese manufacture apparently had a broken shift key. To my annoyance, whenever I connect it to my computer it reads, arduino compatible mega 2560. With my ...
1
vote
1answer
105 views
Using the Waspmote Sensor Board
Spanish company Libelium makes this pretty impressive sensor board:
http://www.libelium.com/products/waspmote/sensors/
for their Waspmote series of boards. These are not meant for Arduino ...