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
9 views
How to monitor a sensor for specific period
As noted in earlier posts, I am building a model railroad crossing gate signal, complete with gate arms, flashers and sound. Although I haven't settled on exactly how I am going to implement detection ...
0
votes
1answer
17 views
Arduino Mega pin conflict
I am building a rather complicated model railroad crossing signal and have moved to using the Mega since I need more pins than the Uno. Upon reading the specs of the Mega on the Arduino.cc website I ...
0
votes
1answer
15 views
Arduino Blocks at Uploading
I am trying to make an operating hours counter with arduino, i started with a basic script to make the arduino work as a stop watch, This is my script:
unsigned long start=0, finish=0, elapsed=0;
...
0
votes
1answer
32 views
Test level shifter with Arduino and some data
Below is a reference to a logical level bi-directional converter (aka level shifter) I purchased on Ebay. I've soldered the 12 pins (6 for each piece) to the level shifter so that it fits on my bread ...
1
vote
0answers
8 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 ...
0
votes
0answers
17 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 ...
0
votes
1answer
59 views
arduino mega overheat when connected to TFT 7" and TFT shield
I have bought a 7" LCD (TFT01-7) and a shield to make it work with arduino mega (http://www.elecfreaks.com/store/lcd-tft01-mega-shield-v10-p-214.html), but when I upload my code to the arduino and ...
0
votes
2answers
38 views
My code is stuck in a loop involving Serial.read. How can I break this?
So I'm running a program that involves both Arduino and a Raspberry PI and they are communicating between the Serial port. As you can see below when my an emergency stop door, involving a magnetic ...
-1
votes
3answers
58 views
ESP8266 sends webpage to client, but html codes appears in browser instead of webpage?
I am using ESP8266 with Arduino MEGA. ESP8266 is powered 3.3v via voltage divider, which is taking 5v from arduino and converting it down to 3.3v with the help of 5K and 10K resistors. AT commands ...
1
vote
0answers
16 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 ...
0
votes
2answers
8 views
'Keyboard' not found when trying to use Keyboard.write from the <Keyboard> library
I am trying to get a response from the arduino when I press a key, but when I try to upload the code it says that it could not find 'Keyboard' with 'Keyboard.write'. Here is my code. Ignore the bits ...
1
vote
2answers
35 views
Draw polygon on LCD from GPS latitude and longitude
I'm working on a personal project (a usefully tool based on ublox GPS and Arduino Mega that can measure distance between 2 points, compute area, speed, save data on SD card)
Now I want to add new ...
1
vote
0answers
12 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.
...
0
votes
1answer
30 views
No Response from ESP8266 WIFI
I am getting no response back from an ESP8266 WIFI with arduino mega using library ITEADLIB_Arduino_WeeESP8266.
//serial monitor response
setup begin
FW Version:
to station + softap ok
Join AP ...
1
vote
4answers
40 views
Proper error logging using Arduino
Coming from a C# background where I do logs for every application, and given that I will be using the Mega for most projects and therefore have the memory available to do so, I want to incorporate ...
-3
votes
0answers
27 views
Problem with Wi-Fi module ESP8266 [closed]
I'm using ESP8266 Wi-Fi module for my project.
I'm getting a problem with my Wi-Fi module, so what should I do to fix my problem?
1
vote
0answers
20 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
7 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
15 views
incoming GSM data stored as 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
20 views
How to display real time data obtained from multiple sensors through serial port in different text box of GUI?
I am using DHT11 sensors in Arduino Mega 2560. I am collecting data from two different sensors, humidity and temperature. I wish to display values of these sensors into the different text boxes of ...
1
vote
0answers
22 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 ...
3
votes
2answers
64 views
using enums in functions
Given the following enums
enum RelayState { RELAY_OFF = HIGH, RELAY_ON = LOW };
enum class CrossingZoneState: uint8_t {
CROSSINGZONE_CLEAR = 0, // no train in crossing area, also initialized ...
1
vote
1answer
41 views
Detection of DS18B20, arduino Mega
I just bought a DS18B20 temperature sensor. I can't detect the device when i run this code :
#include <OneWire.h>
#include <DallasTemperature.h>
// Data wire is plugged into pin 10 on ...
0
votes
1answer
37 views
Arduino Uno Multiple Modules
I have an Arduino Uno and I want to connect;
RFID Reader (RC522)
WiFi Module (ESP8266 ESP-01)
SD Card Module
RTC (Real Time Clock - DS1307)
Same time but pinouts are not enough. Is there a way to ...
0
votes
1answer
14 views
Dealing with TCCRx
I am totally beginner in Arduino, and i want to ask some questions :
TCCR1B = (TCCR1B & ~(0x07<<CS10)) | (2<<CS10);
What does the previous line mean? with good explaination ...
0
votes
2answers
25 views
Arduino and 2 Adafruit Fingerprint modules working together
I want to do a project with fingerprint access control. But my client wants one on both sides of the door (inside and outside). Now I am using this product Adafruit Fingerprint module but I don't want ...
1
vote
0answers
28 views
Arduino Hardware serial library with rts/cts flow control support
Does there exist (any user developed etc.) version of the Hardware UART serial library that has support for RTS/CTS based flow control?
More interested in the Tx side (Arduino sends data, while the ...
1
vote
0answers
15 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
33 views
Making my own motor shield [closed]
My motor shield is not working while feeding codes to rotate motors. Now making my own motor shield. May anyone help me how to make one???
1
vote
1answer
21 views
Compiler doesn't like function code
I am getting this error from the Visual Studio compiler (I use the Visual Studio add-in Visual Micro for Arduino).
ModelRailroadCrossingSignalController.ino:In function 'void loop()
...
0
votes
1answer
27 views
Can you use both 3.3v and 5v
Can you use an Arduino EtherMega's 3.3v and 5v pins with two sensors, one requiring 3.3v and the other 5v and a sketch that combines both?
0
votes
1answer
46 views
NEO 6M GPS SPEED
I am doing a project using NEO 6M GPS with my arduino lilypad.
I programmed it already, and it's working well except of the speed. I get stuck on fixing this, I wonder why the value is never getting ...
1
vote
0answers
9 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
45 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: ...
4
votes
2answers
56 views
a mega 2650 power supply mystery
Something happened to my mega2650 as I was experimenting the other day. It no longer turned on when powering from the 2.1mm jack or from Vin, regardless of the voltage applied. A plastic bubble had ...
1
vote
1answer
20 views
Looking for a Mega 2650 drawing or picture that shows the components labeled
I am Looking for a Mega 2650 drawing or picture that shows the components labeled.
I've seen the schematics but didn't find a labeled assembly drawing yet. Should this exist?
Thanks
1
vote
0answers
29 views
MCP4725 not working
I tried using a MCP4725 DAC with an Arduino (M0 Pro, Duemilanove and Diecimila) and it is not outputing any voltage (just random noise).
I've been using the 2 tutorial codes fount here : ...
1
vote
0answers
66 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 ...
0
votes
1answer
51 views
How do we connect 2 FSR sensors to an Arduino Mega?
One can connect an FSR sensor (a force-sensitive resistor) to an Arduino via 5V, Gnd, and A0 port (as below, according to an adafruit.com page), but how will it work for two of them instead of one?
...
1
vote
0answers
26 views
Using a SPI based ADC (ADE7912) with Arduino
I'm trying to use Analog Devices' isolated adc ADE7912 to build a native product for voltage and current sensing, using arduino as a microcontroller. The IC communicates with arduino using SPI (and ...
0
votes
1answer
48 views
How to perform a data transfer to an external server
So I'm doing a project that involves getting sensor data from several sensors, and then sending them to an external server when a tragic occurs. But I've been having trouble figuring out how to send ...
1
vote
1answer
59 views
What are the parameters of the browseUrl() callback in the Ethercard library?
I'm reading a code that uses Arduino as a webclient and when he tries to catch the info from the site, he uses a callback with the following parameters:
static void response_callback (byte status, ...
0
votes
1answer
26 views
Why does enabling TIMSK1 mess up serial?
I am intending to write a code where a user will send lines through serial to affect timer interrupts. I am noticing a problem with serial where as soon as I enable the timer interrupts, the serial ...
0
votes
1answer
44 views
Using two ultrasonic sensors for counting cars when they enter to a garage
I want to use two ultrasonic sensors for counting incoming cars to a garage. What I want is: When both sensors detect the object then the counter should increase.
Can anyone help me and give me an ...
0
votes
1answer
89 views
Motors settings
I'm trying to build my own 3D printer with a guide but I've got a problem with two of my CD/DVD motors : I don't know which settings to set in Marlin (Configuration.h) because I can't find any ...
-1
votes
1answer
22 views
Sparkfun Si4703 FM not getting to loop
I recently purcahsed an si4703, from sparkfun
https://www.sparkfun.com/products/11083
I got it soldered to some headers and now I am not getting anything to work on it, my wire diagram is as follows
...
0
votes
0answers
42 views
What is MEGA16U2 and why it's burning hot on Mega
I have an Arduino Mega board that's driving a GPS module (operating at 1Hz) and a few shift registers, nothing out of the ordinary as far as I can tell. But this "MEGA16U2" chip is burning like lava ...
0
votes
1answer
47 views
Atmel studio 7 - my own libraries
I like to use AS7 to make my programs.
I know c and some c++, but how things work from there I'm green.
I would like to know if there is a folder where I can store my own homemade c and h library ...
0
votes
2answers
57 views
I2C Master-Slave Arduino system to control array of steppers
trying to make a system where one master Arduino makes moving 9 steppers 28BYJ-48 by 3 stepper on each slave arduino.
While all the parts on their way to me, wonder to check with professionals.
...
0
votes
1answer
39 views
Running Steppers with servo
I'm doing a project which is automatic box carrier. It will hold a box from a location and move it next to it. Kind of cnc work. Locations are fixed it just has to run the orders. I want to send an ...