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
21 views
Wiring from Linux RS-232
So I'm using an Arduino Mega 2560, with a MAX3232-based RS232 to TTL converter, connected to a CF-19's DB9 serial port.
I connected the two boards as following:
RS232 to TTL Arduino
VCC ...
0
votes
2answers
24 views
Problem fetching data from MPU6050
I am new to Arduino. I have an arduino mega board, which I need to interface with MPU6050 accelerometer-gyroscope module.
My connections are
Arduino_SCL->MPU6050_SCL;
Arduino_SDA->MPU6050_SDA;
...
-2
votes
2answers
47 views
Do I use an Arduino or an ARM based Launchpad board for my commercial project? [on hold]
I want to use a board for an Industrial Project, which is based on temperature sensing, sharing and data storage.
Which board do I use?
Will it be reliable for a long span of time?
Will it be ...
-4
votes
0answers
26 views
-1
votes
0answers
24 views
Downloading firmware from Arduino to pc [duplicate]
How can I download the firmware that is already on an Arduino? I want to see how it works and I'd like to modify it to my own liking.
I would require better detail in HOW to download the firmware ...
-1
votes
2answers
38 views
Is it possible to detect stairs using ultrasonic sensor? [closed]
Can anyone give suggestion. I am working on project that helps visually impaired people to detect obstacle/stair..... so the thing that I want to ask, is it possible to detect stairs or pit using ...
0
votes
1answer
31 views
High errors in transmission (completely eliminated by adding delay): What's the issue?
I am using a two Arduino setup with two XBee radios. One radio is sending data and the other is receiving data. I am sending three sensor readings following a protocol which uses three bytes for each ...
0
votes
2answers
33 views
Does 'digitalPinToInterrupt' work with analog pins
I have an interrupt signal attached to the A12 pin of an Arduino Mega 2560.
Would the following source line activate the interrupt processing? I am calling the digitalPinToInterrupt function on an ...
1
vote
2answers
32 views
What is the best type of Arduino board for simple delivery robot? [closed]
I'm new to arduino, and I want to design a Simple Delivery Robot for Data Center, which has an arm to move items, and it follows line while moving.
I have no idea if there is a special arduino board ...
1
vote
1answer
21 views
Simulation of IoT based systems in Software
Thank you for reading this.
Generally there are libraries for GSM and Ultrasound sensors for the software called Proteus and you can simulate them along with you MCU and the interfacing peripherals ...
0
votes
1answer
33 views
Pointer to Hardware Differences Documentation For Arduino Boards?
I hope this question isn't overly broad although it is more of a search for consolidated information.
BACKGROUND:
I am new to the Arduino universe and am drawn in by the open hardware concept. ...
0
votes
1answer
24 views
Where can I find the Arduino Mega core code?
I am looking to modify the receiving hardware serial buffer size for the Arduino Mega. To do so I need to redefine it in HardwareSerial.h in the core code. However, I can't seem to find a copy of the ...
1
vote
1answer
14 views
IRemote with PulseSensor
I have a problem with these two modules. I am trying to create a pulse sensor but also want to use a remote for some further functionality (menu system).
I have the code separated into two files, one ...
1
vote
1answer
44 views
Float to integer conversion for control program crashes arduino
I have a program which estimates battery capacity, range as well as runs different control loops on an arduino MEGA2560 to control an eBike. I was using floating points which gave me quite a slow ...
0
votes
0answers
10 views
Arduino + SIM5320E?
I'm trying to create a small project that can read SMS using an Arduino and a SIM5320E.
Can anyone help me to understand how I can do that and how to read the SMS from the SIM5320E and printing it ...
0
votes
0answers
7 views
Arduino gsm shield v2 with arduino mega
Any using gsm shield with arduino mega ? Gsm shield work perfectly with the uno but appears to reboot every time it connects to the network with mega attached. I'm thinking power supply but I have a ...
-1
votes
1answer
36 views
Interfacing key-pad with arduino with 7 segment display [on hold]
I have the following components:
Arduino Mega
7-segment display
12-digit key-pad
For my project, I would like to display on the 7-segment display the number that the user presses on the keypad.
0
votes
1answer
52 views
Cisco Switch not receiving serial communication from Arduino
So I have an issue that I can't really think of a reason why it would be happening. I have an Arduino Mega connected on Serial3 to a RS232 breakout board with a male DB9 connector on it.I then have ...
0
votes
1answer
42 views
How to detect Genuino 101 from inside the code?
I am using a custom library for Arduino Mega which uses AES library for AES-128 encryption.
However, when I try to use that library in Intel Genuino 101 development board, it shows compilation error ...
0
votes
2answers
33 views
connecting ESP8266 to mega 2056
im trying to connect wifi module to my MEGA 2560 board.
i set up the board as the picture bellow
and my program is as follows
#include <SoftwareSerial.h>
#define DEBUG true
SoftwareSerial ...
0
votes
0answers
12 views
ATWINC1500 WiFi chip without WiFi shield-is this possible?
I am looking to create something involving WiFi using the Arduino. It is my goal to stay relatively cheap yet functional, so I thought I struck jackpot with the ATWINC1500. However, I have been ...
0
votes
1answer
43 views
Arduino Mega 2560 and Android USB OTG serial communication
currently I am building a little project based on the Arduino Mega 2560.
My goal is to send some data gathered by some sensors to an Android phone.
It has to be as basic as possible.
Buying new ...
0
votes
1answer
30 views
Soldered AdaFruit Moto Shield V2 not running motor
This is my first soldering attempt. Attached image shows AdaFruit motor shield V2.3 soldered to an Arduino Mega. But only a subset of pins: explanation below.
The following code; taken from the ...
0
votes
1answer
40 views
Problem with robot steer direction control
I'm building a robot using arduino mega having four wheels with DC motors on each of the two front wheels. It makes use of differential drive(stop one wheel while rotating the other and vice versa) to ...
3
votes
1answer
51 views
Is analogWrite() inferior to writing directly into registers?
I'm trying to control a DC motor's speed with my Arduino Mega analogWrite(), but it doesn't seem to function properly. The motor never completely slows down, just slows down a bit (which is still ...
0
votes
2answers
50 views
Can I use the same Data Registry for both input and output pins?
This is for a class in which we are not allowed to use the Arduino Library (Not my choice or preference). I know to use DDRB for the B pins. This is the code that I have so far:
//Global pointers
...
0
votes
1answer
34 views
Get pin input status without using the arduino library
I am not allowed to use the Arduino Library (or any Library) for this program. How would I check the input of a pin?
I found two different functions:
In Arduino.h:
#define bitRead(value, bit) (((...
0
votes
1answer
25 views
DC Motor Pinning the Ada Fruit Moto Shield with the Mega2560 R3
I picked up an AdaFruit Motor Shield V2.3 . The example on the site shows how to code the DC Motor connection
// Create the motor shield object with the default I2C address
Adafruit_MotorShield AFMS ...
1
vote
2answers
21 views
combination of arduino uno and mega?
I am new to Arduino. Can I combine Arduino UNO and MEGA in 1 project? Arduino UNO is for audio output and MEGA for LCD display. If I am wrong, is there any ideas how do combine both LCD display and ...
0
votes
1answer
35 views
How to read differential TTL signal from encoder using Arduino?
I am using Arduino UNO/ MEGA to read the incremental encoder pulses (Baumer encoder EIL580). Currently, I am using it in single-ended mode (reading A,B and Z outputs) as I am not sure how to read the ...
0
votes
0answers
13 views
Arduino Mega connection to Arduino GSM 2 shield
I'm about to purchase the Arduino GSM shield 2 and have a question about connecting the shield to an Arduino Mega. It says on the documentation that you need to reroute pin 2 to pin 10 so that it can ...
1
vote
1answer
40 views
Serial communication with Python
I am trying to send integer from my Python program to Arduino MEGA.
If I send 1, the LED should turn on and If I send 0 the LED should turn off.
I was able to write Python code correctly as I think. ...
1
vote
2answers
63 views
How to Factory reset ESP8266? [closed]
I want to use ESP8266 to send emails. I tried twice flashing the Firmware to a particular firmware as suggested in a tutorial. Now both my ESP are unresponsive to AT commands. Let me know the way to ...
2
votes
0answers
22 views
Attempt stacking 'CAN-BUS' and 'USB Host' Shields on Mega 2560
I've run into a case of 'In theory it works, but in reality'....
I'm using the CAN-BUS Shield V1.2 from Seeed studio. Many things are written in broken english, so I'm starting to wonder if I can ...
2
votes
2answers
27 views
Analog read negative voltage inbuilt protection
I'm trying to read a -10 to +10V analog signal on my Arduino Mega (2560). I've been using a voltage divider to obtain a -5V to +5V signal (with two 10kOhm resistors), which used to work just fine.
I'...
1
vote
2answers
33 views
Object Array using Inheritance
I would like to create an array of a generic type so I can use multiple sensors and make my code as extensible as possible.
/*
Planning for good design. Agent library
should be able to use more ...
-1
votes
1answer
39 views
control multi adruino over the internet [closed]
I have three arduino in different locations (house 1, house 2, office) and I am trying to build a web application to control these arduino, what are the possible ways to distinguish between then over ...
2
votes
1answer
56 views
Using an LM339 IC as a motor driver
I have an LM339 IC from Radioshack that I am hoping to use as a motor driver.
I read many resources on how the L239D can be used as one. I don't have enough circuit experience to truly know the ...
1
vote
1answer
61 views
Individual control of multiple RGB leds
I'm trying to control several RGB leds individually. So far I've been able to control multiple RGB leds using only 3 PWM outputs using NPN transistors as shown here (pic below).
I would like to ...
0
votes
0answers
20 views
can't find Nexion libraries for arduino
I'm new to Nextion HMI and i try to import the Nextion libraries for arduino it didn't work as expected can any know any reference for download the Nextion libraries for arduino
1
vote
1answer
34 views
Arduino Mega 2560 from .org- which IDE works?
My personal choice is to purchase from the .cc (or adafruit) for new boards. YMMV. Craigslist locally of course has generic and .org boards now and then.
If I get a .org board on craigslist, will I ...
1
vote
1answer
43 views
ISO C++ forbids taking the address of an unqualified or parenthesized non-static member function to form a pointer to member function
This question comes on the heels of this question
In the last question I learned how to use and initializer list to solve my issue, but working with ros::Subscriber is requiring a different solution.
...
0
votes
1answer
22 views
Problems with Ultrasonic Sensor
I want to check my understanding on how to use digitalWrite for 5V and Grd and why this code isn't working.
This is for the Makeblock sensor
Consider the image here which says to plugin a wire to 5V,...
-1
votes
2answers
29 views
Delay In receiving data when SoftPWMBegin(); is used from SoftPWM.h library
when i use SoftPWMBegin() function in setup there is some delay while receiving data over bluetooth. And if i pressed o and 1 fastly (see in below given code), some time it receives data and sometime ...
1
vote
1answer
20 views
Stepper motor shield compatibilty question
I recently bought Adafruit's motor shield v2 only to find out it can only support upto 12v.
So I'm on the look out for another shield & found this one
Arduino Dual L6470 Stepper Motor Shield
I ...
0
votes
1answer
57 views
9V Vin powered Mega - 3V instead of 5V
I'm experiencing an issue with an Arduino Mega 2560 :
I powered the board through the Vin using a +24 --> 9V voltage regulator. When I power the board and measure the 5V output from the board, the ...
1
vote
2answers
93 views
Unable to interface AD7705 (SPI) with Arduino
Code as shown below, I am unable to get the 16 bit data.
Can someone help me identify my mistake?
byte spiTransfer(volatile byte data) {
SPDR = data;
while (!(SPSR & _BV(SPIF)));
...
1
vote
1answer
42 views
I swear this worked yesterday!! - mysterious compiler error
I thought I finally had this working yesterday, the code compiled, and executed on the arduino, there were however some small quirks but today I went to fix a small timing issue, but got the following ...
0
votes
1answer
62 views
Code will not run when serial monitor is not open
I have never seen anything like this. My code runs perfectly as long as the serial port is open. However if I connect it to external power, or even if I just try to run it plugged into my computer ...
0
votes
0answers
13 views
Iqs316 proximity sensors using with Arduino?
Does anyone know how to use the iqs316 touch sensor using for Arduino? I only found the setup code for pic18. I don't know how to setup the iqs316 in Arduino. Please share with me if you know.