Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [arduino-mega]

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.

3
votes
0answers
726 views

Arduino Mega2560, Ethernet Shield & OV0706: “Camera not found”

I want to make a picture with the OV0706 that saves the picture to the SD card. I'm using the Arduino Mega2560, Ethernet Shield (with SD slot) and the OV0706 (this one: http://www.aliexpress.com/item/...
2
votes
0answers
3k views

MKS GEN board pinouts for Arduino MEGA

As per this SO: Is the MKS GEN V1.2 compatible with Arduino IDE as Arduino MEGA Board? the MKS GEN board is an Arduino MEGA board mixed with other circuits. My questions is how does it correlate ...
2
votes
0answers
5k views

Arduino GSM receiving text and then storing value as a variable in code

I am using an Arduino Mega board with a SIM900 GSM. My goal is to be able to text the GSM with a value of two digits (ex: 79) and then store that value as a variable in the code. I know how to set ...
2
votes
0answers
1k views

Arduino Bluetooth data (large data files) transfer efficiency using HC05 module

Im using an HC-05 Bluetooth module connected to my Arduino MEGA. The Arduino has an SD card with some data files stored (sensor readings). After the sensor readings are done, the Arduino then connects ...
2
votes
0answers
432 views

Arduino Mega And L298N Motor Driver Board (Controlling using AccelStepper Library)

Can someone help me how to use AccelStepper library in setting the origin position of the stepper? We are using a tact switch and an L298N driver for the stepper motor in setting the origin of the ...
2
votes
0answers
356 views

Arduino Neopixel affecting IR receiver module

I have tried this on both an Arduino Uno and an Arduino Mega2560. my issue is as follows. Without a 150 LED string of addressable pixels attached, I can pretty consistently capture and read the input ...
2
votes
0answers
3k views

MEGA2560 + SIM900A - constantly blinking, not responding

Recently I got new Arduino Mega 2560 and GSM/GPRS module - SIM900A v3.8.2. I live in Europe, so I flashed European firmware for SIM900 and it was working OK (sending SMS, receive calls, sending http ...
2
votes
0answers
842 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 ...
2
votes
0answers
3k views

How can I be engaging the arduino mega with OBD-II UART card?

Currently I have been doing a project where I need to know the speed of the vehicle, I have implemented the following code but the results have not been good because when the vehicle is in motion ...
2
votes
0answers
743 views

Hiduino as a Serial-USB midi coverter

I have an Arduino Mega2560 configured to Hiduino, which makes the Arduino a driverless class-compliant MIDI interface. I am currently converting RS232 serial I/O data to midi data using the 'hairless ...
2
votes
0answers
537 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 (i....
2
votes
0answers
2k 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 ...
1
vote
0answers
70 views

Interfacing MAX6675 with Arduino Mega 2560

I'm trying to use a thermocouple k type and a MAX6675 IC. I bought the MAX6675 chip and made the circuit (just a 1 nf capacitor on +5 V and GND near the IC) with the help of the datasheet I used the ...
1
vote
0answers
83 views

Making '*' key on keypad a backspace key

Using a 4x3 membrane keypad and I want to make the '*' key a backspace if the wrong number is entered. I am a newbie and having a hard time trying to figure out how to code that, any help would be ...
1
vote
0answers
44 views

Can I track 70 pressure sensors from Arduino Mega?

I am a beginner at Arduino which I just received in the mail. My understanding is my Arduino Mega has 54 digital inputs and 16 analog inputs making for 70 inputs all together. I would like to track ...
1
vote
0answers
649 views

Interfacing MPU6050 with Arduino through Simulink S-function

I am interfacing MPU6050 with Arduino using Simulink S-function builder. I'm implementing MPU6050_DMP6 code in Simulink s-function builder by following this video. By following this tutorial I ...
1
vote
0answers
33 views

Unicast image transmission using Xbee

I've been working on image transmission using XBee S2B Pro modules and Arduino Mega. Main task is to transmit a jpg image taken by a jpeg serial camera at the transmitter and send it to a microSD ...
1
vote
0answers
332 views

Error while creating file on sd card

I want to create a file and read it form sd card by arduino. I have used sd card module. I have used this following code. In serial monitor it says "SD card is ready to use." But it can't read or ...
1
vote
0answers
126 views

Motor on transistor causes arduino to reset

I have a motor hooked up to the emitter of a NTE24 transistor and ground, the collector is hooked up to 3.7V, and the base is connected through a 10ohm resistor to a PWM pin on an arduino mega, which ...
1
vote
0answers
31 views

Programmatically activate a specific Arduino

If I have multiple Arduinos plugged into the same computer, is there a way that I can control them both with the same script while also being able to select which one I want to control ...
1
vote
0answers
501 views

nRF24l01+ Outputting Garbage Values

I just purchased a set of 10 nRF24l01+ modules with a breakout board that looks like this: Note: This is the nRF24l01+ chip, not a clone Si24Ri. Also, I'm using an Arduino Mega. I'm following the ...
1
vote
0answers
340 views

Send .wav file from SD card to NodeMCU via serial port

I was able to send a text file in the SD card to NodeMCU using the serial port of an Arduino Mega using this code: if (readSerial1 == "Okay I'm ready") { myFile = sdf.open("uid.txt", FILE_READ); ...
1
vote
0answers
618 views

Connect to Ethernet2 by hostname

I´d like to connect my Ethernet2 with WIZ550 using DHCP but instead of Local IP, I want to use Hostname. This is my code, it works. I get a Local IP Address and I can connect to arduino using this IP,...
1
vote
0answers
185 views

How to pass input from a Midi controller to a function?

I am trying to pass the input[], data1(pitch) from a Midi controller to the waitForButton function. When a key is pressed it sends data1(pitch) into the array input[], and when the key is up the array ...
1
vote
0answers
56 views

Changing function to work with Midi controller instead of buttons

I am trying to change up this function to work with a midi controller instead of buttons most of the code for the function i will be using as is. it just the parts of the code the deal with button ...
1
vote
0answers
32 views

Not hearing PlayBack from code that records and plays back MIDI

I have altered some code that i found online that records and playback midi data from a midi controller. from my testing i am pretty sure that notes are being recorded from my midi controller, i have ...
1
vote
0answers
34 views

Read one(2) hex-adresses from a string

On a 2560 MEGA I use serial(0) and serial1. Serial1 is connected to an AT-328P (not an UNO but a single AT controller) The 2560 use Interrupt (serialevent) and Serial1Event. Serial(0) is ...
1
vote
0answers
260 views

How to play Midi from the Sparkfun Mp3 Player Shield?

in the video: https://www.youtube.com/watch?v=zc1zbwheyE0 I suspect they may be using the midi playback functionality of the chip (VS1053b) on the Mp3 shield. how do you playback Midi from the mp3 ...
1
vote
0answers
316 views

Connection between Arduino Mega 2560 , ESP8266-12F , PCF8574

Another start for achieving something new , I want to connect ESP8266-12F , Arduino Mega 2560 Board And the PCF8574 I/O Expander (I can use MCP23017 also) together , Where ESP8266-12F will take ...
1
vote
0answers
478 views

Arduino Mega + ESP8266 - Post Data to website issue

I'm trying to post data to my SQL database and it seems that I'm not sending the data correctly. My PHP file is working since I have tried it and it writes to the database. I am getting an esp.find("...
1
vote
0answers
247 views

How to operate multiple relay boards using a single RF Remote?

I am working on a Home Automation Project using RF technology. I have to operate more than one switch board or let say more than one relay board, using a single RF remote. Is it possible? And if yes, ...
1
vote
0answers
63 views

XBee radio dropping bytes?

I am using an XBee radio setup to transmit bytes over a distance of approximately .25 miles. For the first 20,000, or so, transmissions it was completely error free. However, once there was a single ...
1
vote
0answers
160 views

Ethernet module ENC28C60 doesn't connect to internet when DHCP on router is disabled.

Update: Examples from library are working if DHCP is enabled! Using this library I try to connect with static IP but it always say DNS failed. Ethernet module is blinking that means is good ...
1
vote
0answers
243 views

DHT22: Library and Data accuracy

I am using DHT22 temperature/humidity sensor and I noticed that there exist so many libraries. I wonder which one is the most accurate? It is giving me readings that does not seem to be logic. High ...
1
vote
0answers
333 views

Problem in using COZIR W-100 with arduino

I was using the COZIR W-100 carbon dioxide sensor with an Arduino Mega 2560 with the example code from this site. But the measured value of carbon dioxide by sensor was 90 ppm in fresh air and that ...
1
vote
0answers
145 views

Marlin: change servo values while moving?

I am working on a graffiti draw bot (like this one) powered by the Marlin firmware. A servo presses the spray to paint the wall. I need to change the servo up/down value while the robot is painting (...
1
vote
0answers
110 views

Can d2xx connect to an arduino mega 250?

I am trying to replace a device which used a FTDI chip (http://www.ftdichip.com/Drivers/D2XX.htm) to get USB to serial. I need some more code on the chip, so I want to use an arduino mega 2560 instead....
1
vote
0answers
479 views

Controlling dynamixel AX12 by Arduino

Actually, i would like to control 12 motors of AX-12 using Arduino .. I could control just 2 motors. However when i send a command to the 12 motors they don't move and one or 2 of them move randomly!...
1
vote
0answers
1k views

PIR sensor and sleep (interrupt) on Mega2560

So I was starting to gain some knowledge on the PIR sensor and how to let the arduino 'sleep' while there is no movement detected by the PIR. So I found the following code somewhere and looked fairly ...
1
vote
0answers
134 views

Get MP3 play length

I'm creating a project where music gets played that is the same length or slightly shorter than the given time (minutes:seconds). For this I have a Sparkfun MP3 shield, which also has a microSD slot. ...
1
vote
0answers
293 views

Arduinino & Max7219

Im using a MAX7219 and 6 (six) seven segment displays I used my own board and two purchased on ebay - no difference in operation. MOSI, and CLK are correct and verified with my scope (Tektronics) CS (...
1
vote
0answers
32 views

2 reciver XBee modules connected to arduino MEGA

I'm doing a robotic arm project, I have two transmitter systems (sensors connected to 2 arduinos) and should send for the receiver side (each arduino suppose to take the hand-gestures and send it to ...
1
vote
0answers
55 views

Motor shield and sensors

While making a Arduino programmed maze runner Will bipolar motor shield be more beneficial than using tb6612fng motor shield???? Also which type of sensors will be better??
1
vote
0answers
438 views

NEO GPS 6M connecting to Lilypad Arduino

I'm working on a project that has something to do with receiving gps data from the satellites. With this, I've used GPS NEO 6M with an arduino Lilypad for wearable purposes. I've already tried using ...
1
vote
0answers
2k views

How to control relay using SIM800 and Arduino Mega through SMS?

For my project I need to control relays through SMS and now I can send SMS from my SIM800 module which is connected to Arduino Mega R3. But I tried several shapes for AT commands to receive SMS and ...
1
vote
0answers
158 views

Is my Arduino mega dead?

I accidentally short-circuited my Arduino mega(ended up connecting the 5V and ground pins). Physically from observation nothing seems to be burnt on the board but I am not able to upload new codes to ...
1
vote
0answers
2k views

Sim800L HTTP post request stop working after a while

I am desperate to get my SIM800L module (http://www.ebay.co.uk/itm/SIM800L-GPRS-GSM-Module-Board-Quadband-QUAD-BAND-Antenna-for-MCU-Arduino-/321992759287) sending POST requests for a long period of ...
1
vote
0answers
205 views

Is it possible to run the Teensy to the Arduino?

I'm already done copying/pasting the libraries that I know is needed to run the program, but I wonder why I always get this error every time I tried to run the code. What do you think would be the ...
1
vote
0answers
3k views

Two MPU 9250 connected to one arduino (Code of the MPU6050 edited for MPU9250)

I have done a lot of tries to make my two IMU work with my arduino. I'm also done with many research about it and I found this code: // I2C device class (I2Cdev) demonstration Arduino sketch for ...
1
vote
0answers
351 views

Serial Monitor Just Stops Working

I am communicating with two Arduinos with serial. The program works great for a while but then the serial monitor stops showing values in the RX code and will not work again unless the code is ...