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
1answer
28 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
47 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
votes
0answers
23 views
Comm error between arduino2560 and gsm modem sim900a [on hold]
How to rectify comm error in the arduino board?
1
vote
1answer
24 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
24 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
0answers
28 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
30 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
37 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
46 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
104 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
104 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
0answers
36 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
26 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
139 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
49 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
53 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
43 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
0answers
30 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
51 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 ...
2
votes
2answers
60 views
How to update a variable in an ISR using Timers
I'm trying to check the frequency of Timer3 using a counter. The value of the counter, declared as volatile, is incremented in the ISR and every second the sum is shown in the main loop and the value ...
0
votes
0answers
34 views
3.5 inch TFT LCD connection diagram with mega r3
Forum post
I would like to ask if someone has this shield fully working.
My biggest problem is the touch screen that i couldn't manage to make it work.
Here is the code i am using:
// ic:ili9327 ...
4
votes
1answer
63 views
Setting timer3 in CTC mode - conflict with servo library
I would like to set up a timer in order to call a function 800 times per second. I'm using the Arduino Mega and Timer3 with a prescaler of 1024. To choose the prescaler factor I've considered the ...
0
votes
1answer
23 views
SIM300cz AT command returns -1
I connected SIM300cz module's GSM board with Arduino Mega. The GSM board has the pins VCC, GND, RXD, TXD, GND, RI, DTR, STATUS, PWKEY and GND. I connected the GNDs with Arduino's GND, VCC to Arduinos ...
0
votes
0answers
17 views
Efficient way to store datastructure on SD
I have an ATMEGA 2560 with ~ 8000 bytes of SRAM. I've done a lot of memory optimization, but i still have one class, which is quite large(~200bytes). It's changed one time on runtime and then only ...
0
votes
2answers
73 views
NRF24L01+ scanning and connecting to wifi hotspots or creating one
I've seen this video so I think I can connect it through my wifi router to any device. How can I scan for and discover wifi hotspots and then connect to it? Or is there a way to create wifi hotspot of ...
0
votes
0answers
19 views
Incorrectly Reading Serial Using RXTX in Ubuntu
I am reading Accelerometer signals connected to Arduino board through a serial interface. I am using the RxTx library and following is the code.
private void initializeSerial() {
...
0
votes
1answer
57 views
delayMicroseconds- error?
running a very short program on a mega, just to generate a 8 microsecond wide clock pulse on pin 18, every 250 microseconds-
closest 'delay' values I can get are delayMicroseconds(3), and (83) off, ...
1
vote
2answers
48 views
Arduino Mega: which Digital pins are already used for something?
I got an Ethermega, and learned that Pin 13 already has a LED.
Are there other digital pins with special circuitry or already allocated to a specific function? (like usb,serial,ethernet,sd, etc)
I ...
3
votes
0answers
44 views
Arduino Digital Input Causing Output Problems
I am working on a simple project using an Arduino Mega 2560 that involves reading a 12-bit binary encoder signal and which is used to cycle a digital pin high and low (depending on the angular ...
0
votes
2answers
55 views
Serial Communication over Desktop to Arduino
I have a USB 2 Serial adapter and the device is working fine. I see the device perfectly configured in my System.
I have connected the TX0 pin of Arduino to DB 2 pin (read pin) of the adapter. Below ...
0
votes
1answer
53 views
Saving data in a globally declared float array
I'm trying to send 60 float values via serial. Numbers are provided by an accelerometer and saved in a 240 bytes-long array. The array is sent to a function and these values are then copied in a ...
0
votes
1answer
29 views
Arduino Mega2560 Hardware ID
Do all Arduino Mega2560's have the same VID/PID identification numbers when seen by a PC as a device? I am planning on designing I specific driver to work with the 2560 and wondering if I will be able ...
2
votes
3answers
137 views
What does Arduino do in 15ms?
I was wondering why there is a 15 ms delay between each iteration of a the main loop.
Code:
The following code shows the execution time expressed in microsec between each loop
void setup()
{
...
2
votes
1answer
46 views
Why the pin 9 doesn't blink?
I am a new Arduino user. I use a simple led blinking code to a Arduino Mega 2560. I simulate it in proteus. But the pin no 9 doesn't power up. what is the problem?
My code:
// Setup the DATA ...
0
votes
1answer
32 views
How do i change fuse bits- not communicating
So currently I'm working on a project using a ATmega 2560 mcu card with a 10mhz crystal (link#1). My main goal is to use the Arduino IDE to upload sketches to this chip to run my bread board circuit. ...
0
votes
0answers
52 views
Arduino works bad with external power supply
At first I am sorry for my bad English.
I am making robot which can do a lot of things...
If I connect arduino on my robot with PC via USB, the robot works properly. If I use external power supply ...
0
votes
1answer
81 views
Measure Water Flow in literes using Arduino Mega 2560 Board and Water Flow Sensor
I have a water flow sensor with Arduino Megs 2560 board. I am trying to conceptualize the concept to calculate amount of water getting dispensed esp. in 1,2,3,4 and 5 liters quantity.
Water flow ...
0
votes
2answers
81 views
How to split in string
I want to split this:
char* value = "12;32;blue";
or
string value = "12;32;blue";
into this vars:
TV = 12;
AR = 32;
LED = "blue";
is it possible?
0
votes
1answer
83 views
Read data from 3 ColorPal 28380 simultaneously on Uno/Mega
I've been trying to get an Arduino (I have a Mega and Uno lying around) to read values from a small array of 3 ColorPal 20380, which individually, work as intended with some reflective material. The ...
0
votes
0answers
63 views
SIM908c GSM module with Arduino Mega without any shield
I needed to work with GSM so I bought a SIM908c module. Also I bought a breakout board to connect with Arduino Mega. I am using the gsmlib library for this module.
My connections are as follows:
...
0
votes
0answers
108 views
Sending binary data to Matlab via serial
I would like to exchange data via Xbee. I've set up a communication based on strings between the Arduino and a Matlab software.
Unfortunately this kind of communication isn't enough robust and ...
0
votes
0answers
208 views
References (e.g, libraries and tutorials) for connecting the 24-bit ADS1256 ADC to arduino
The ADS1256 chip is a high precision 24bit, 8 channel, analog digital converter based on SPI communication that is suitable for biomedical applications and perfect for sensing ECG and EEG signals. I ...
0
votes
1answer
54 views
Using XBee and OLED screens with Timer Interrupts
I have an Arduino board with a sensor, an OLED screen and an XBee module. I've setup the timer interrupts in timer1 to sample the sensor every one second.
I've done the following:
tried to update ...
0
votes
0answers
53 views
Arduino GSM Modem GPRS Communication to a server
I have Arduino board with SIM900A GSM Modem setup. My requirement is to connect to a server and send / receive information.
My server would be placed in some remote place and would probably not be in ...
0
votes
2answers
77 views
Arduino Mega 2560 RFID Serial Communication
I have an RFID reader: http://img.tradeindia.com/fp/1/641/264.jpg
Something like above along with ITEAD TFT shield & GSM Modem. The RFID reader has an RS-232 port as well as GND, TX and 5V pins. ...
0
votes
0answers
87 views
Arduino Mega 2560 And ITDB02 Shield
I have purchased Arduino Mega 2560 and 2.8 ITDB02 TFT Shield.
The way I have plugged in the Shield in such a way that SD card place holder of it is at the side of USB connector and leaving the first ...
0
votes
0answers
48 views
Interfacing APM 2.6 with Pixy camera
I'm working on a project for an autonomous Quadcopter that will center itself on top of a color coded area. I'm using a camera called Pixy ...
0
votes
0answers
40 views
How to Convert C++ StreamSend Class to Processing (Java)
In the post Sending Large Amounts of Serial Data Steven10172 posted a StreamSend class to send data to and from Arduinos. I was able to incorporate it into my app with no problems. The question is ...
1
vote
1answer
65 views
Multiple Stepper Motors in One Shield?
I need to construct 4 reactors for an experiment requiring mixing. We want to automate the mixing and at the same time reduce cost. can we connect multiple stepper motors with 5 or 6 wires on one ...