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
12 views
Motor Control Help
I am looking for help on the code to make my motors turn if an int dips below a specified value
The value's base is 0. I have programmed the motors to turn for one second if the value goes above 900. ...
0
votes
1answer
16 views
Running Stepper motors (at least 2) at the same time
Is there a way to run a Stepper motor with Arduino MEGA 2560 with A4988 driver component.
I am using this https://github.com/laurb9/StepperDriver library and with this code,
Serial.println("...
0
votes
0answers
17 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 ...
0
votes
1answer
24 views
Limiting motors to a specific position using while and if loops
I am currently building a prosthetic hand using an Arduino MEGA, an Advancer Tech Myoware sensor, and 3 TB6612FNG Dual H-bridge breakouts. I have the EMG sensor sending an analog value to the Arduino ...
-7
votes
0answers
24 views
what does decode_results results in Arduino IDE mean? [on hold]
what is decode_results results mean in Arduino IDE?
thanks in advance
-1
votes
1answer
27 views
Share your experience on Arduino [on hold]
I am a third year electronics and communications engineering student from India.
I am yet to enter the world of arduino but whatever little I have known about arduino makes me want to give it a try ...
0
votes
0answers
8 views
MKS GEN board pinouts for Arduno 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 ...
0
votes
1answer
14 views
Is the MKS GEN V1.2 compatible with Arduino IDE as Arduino MEGA Board?
I need to do a Servo controller using Arduino and I have a spare MKS GEN V1.2 board right now, looking at the documentation from here http://reprap.org/wiki/MKS_GEN it seems this board is actually an ...
4
votes
2answers
71 views
How to move my robot in the right direction?
After all there is more question poping up then answers i decide to upload the pdf where is everything writen, like the wire, motor type and what we can and can't use. Here is the link pdf format of ...
1
vote
1answer
22 views
Which external programmers work reliably with Arduino MEGA?
When looking for alternate external programmers (ISPs), I am noticing that many are not Arduino MEGA 2560 compatible (e.g. Pocket AVR Programmer, USBtinyISP).
I am looking for a reliable external ...
5
votes
4answers
1k views
ArduinoUNO/MEGA, Is there a way to exceed 256 in analogWrite
I am using Arduino UNO/MEGA, I want to
analogWrite(pin, val);
where the value is 0-1023.
How can I make that ?
Thanks.
0
votes
1answer
47 views
Arduino and industrial stepper driver
For a project I need to use an industrial stepper driver with an arduino. There it is: http://www.omc-stepperonline.com/bipolar-stepper-motor-driver-max-4a-current-40vdc-input-16-subdivision-st6600-p-...
0
votes
1answer
23 views
Stepper motor release L298N [closed]
I'm Driving a stepper using a L298N driver and an arduino mega. I want to release the stepper after the movement so it can swing freely, because it gets hot, and it doesn't need to hold position.
...
2
votes
0answers
38 views
Faster output of Serial.print() data coming from TSL1402R sensor [closed]
I am reading a TSL1402R with an Arduino Mega2560. The code is based on the sketch from the arduino playground here:http://playground.arduino.cc/Main/TSL1402R
The application is a digital caliper for ...
0
votes
3answers
437 views
Problem understanding code [on hold]
This is a segment of an Arduino sketch, that I am trying to understand.
I know that the purpose of the entire code is to control 2 stepper motors linked to their respective drivers which are linked ...
1
vote
1answer
42 views
Regarding Arduino Mega hardware serial
I have a doubt interfacing with fingerprint module (R305) with the Arduino Mega.
I have been able to interface it to Arduino Uno before but not Arduino Mega so far.
I have used the Mega's hardware ...
1
vote
0answers
36 views
Getting data from web form [duplicate]
I am using an EthernetServer and EthernetClient with Arduino in order to make a simple webpage. I have a web form for a user to enter various codes that can reset data stored on the back end. However, ...
1
vote
1answer
36 views
Arduino Web Server: Receiving response from web form
I am using an Arduino Mega and I have a basic webpage built using EthernetServer for the connection and EthernetClient to write the HTML to the client. I have a simple web form:
client.println("<...
-1
votes
0answers
71 views
Arduino Binary to Decimal on 5x7 dot matrix display
I need some help regarding binary to decimal conversion on arduino i wants to make a dot matrix moving display using 3 of 5x7 matrixs first matrix shows the Arrow sign which moves upside like if i ...
1
vote
1answer
27 views
read/write data from 2 arduinos simultaneously over python
So for my project I have one Arduino Mega hooked up with a quadrature rotary encoder which is connected to the Computer. The other Arduino Uno is connected to a circuit I build which in turn is ...
3
votes
1answer
63 views
Is there a counter library in Arduino?
I'm looking for a counter that can be incremented and will overflow with predictable behavior, preferably reset to 0 on overflow. I've tried using integers for counting but I'm getting weird overflow ...
3
votes
3answers
39 views
Entering integers as bytes in serial monitor
I am doing some byte manipulation in Arduino, but when I enter an integer into the serial monitor, such as 1, and my program stores it as byte incomingByte, the value stored in incomingByte is 49 and ...
0
votes
1answer
53 views
Why change the variable content? [closed]
I don't understand why change uidList[reader] variable, when doesn't run more to the else. I use in this test only the "0" reader.
First loop go to the "else" and fill the uid to uidList[reader]. (...
0
votes
0answers
23 views
ArduinoISP external programmer produces verification error?
I am using an ArduinoISP external programmer to upload a sketch to an Arduino MEGA.
I set the processor type to MEGA 2560, and use Ctrl-Shft-U to upload using a programmer. My programmer is set to ...
2
votes
1answer
30 views
Blank.txt at the End of Transmission
I'm using my HC-05 (Master) to receive strings from a sensor (Slave), each string is suppose to have 7 items divided by ',' like so "a,b,c,d,e,f,g". I also have to write these strings in a .txt file ...
1
vote
0answers
24 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 ...
0
votes
1answer
45 views
Alter baud rate after being certain event
I'm using my HC-05 (Master) to receive strings from a sensor (Slave), each string is suppose to have 7 items divided by ',' like so "a,b,c,d,e,f,g". But it isn't always received in such manner, ...
0
votes
1answer
28 views
How to use different device address for MCP23017 so I can use multiple chips?
I want to use more than 3 MCP23017-E/SP DIP28 chips so I can use many digital pins. I use Adafruit-MCP23017-Arduino-Library. I tried this solution but only device address with 0x00 is working.
The ...
0
votes
0answers
25 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
1answer
37 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
53 views
Do I use an Arduino or an ARM based Launchpad board for my commercial project? [closed]
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 ...
-1
votes
0answers
25 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
50 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
34 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
36 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
36 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
2answers
41 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
27 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
16 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
50 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
20 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
9 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
50 views
Interfacing key-pad with arduino with 7 segment display [closed]
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
60 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 ...
1
vote
1answer
47 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
54 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
18 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
59 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
32 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 ...