Questions tagged [arduino-uno]

The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.

Filter by
Sorted by
Tagged with
1
vote
1answer
2k views

GSM and GPS shield pin conflict

I have an Arduino GSM shield and I plan to purchase an Adafruit GPS shield. The GPS module uses Pin 7 & 8 for Rx and Tx, but the GSM shield uses Pin 7 for Modem Reset. Will the overlap on pin 7 ...
3
votes
1answer
2k views

How to read a Text file from server and store to a separate variable?

I am working on reading a text file from the server, using http://arduino.cc/en/Reference/GSMClientConnected. It gives me this code: char path[]="/asciilogo.txt" I want to store only the contents ...
5
votes
1answer
361 views

Is the Sparkfun RedBoard pre-loaded with a blink sketch?

As soon as I plugged my brand new RedBoard (Sparkfun's Uno) into my computer, I saw the onboard LED (for pin 13) blink on and off every 1 second. This was before I even sent the first demo sketch to ...
3
votes
2answers
16k views

How to receive data from my server database to a variable in my Arduino?

I am learning to work with the client - server communication. I am able to communicate with my server and able to store values in the table. But I want to receive one of the specific data from the ...
1
vote
2answers
558 views

Figuring out some numbers for a mini pump

I'm just now getting into electronics (I don't know why I waited so long) and I'm just figuring out some stuff. I picked up an Arduino kit from Vilros.com and a few other parts for my project. I'm ...
1
vote
3answers
4k views

client.connect() fails except the first time

I am communicating with the Web server's database via Arduino GSM shield + GPRS connectivity void loop() { if (client.connect(server, port)) { ....... } else { ...
4
votes
3answers
4k views

Arduino shield stacking

I have an Arduino GSM Shield mounted on an Arduino Uno. Can I stack this GPS shield above Arduino GSM shield? Will there be any pin configuration problem? In GSM Shield hardware pin’s configuraton ...
5
votes
2answers
2k views

how does serial port communication work under the hood?

im just looking for how to send/ write date to pc over serial port from arduino..vice versa. I have few Question to ask after taking so much time and couldn't figure it out myself. I hope you guys ...
0
votes
2answers
99 views

Processing Input

How to make an input from computer using processing (like a password form) and trigger pin in arduino? If you let some link to read more that would be very helpful.
1
vote
1answer
572 views

Arduino 1 can somehow support 32-bit audio? [closed]

I wanted to take the audio from a device such as the PC, insert it through different ADC in arduino, processing them with DSP and DAC REnter all through to the other speakers, reading here and there ...
3
votes
1answer
782 views

Arduino Uno + Ardumoto + BT robot works from USB but not from baterries

My Arduino UNO board is part of a small robot that works when connected to the laptop by USB but it does not when plugged to the batteries. The baterries plug seems okay, it outputs 7.8 V. My UNO is ...
8
votes
1answer
2k views

How can the Arduino Uno support up to 12 servos if it only has 6 digital PWM pins?

According to this: The Servo library supports up to 12 motors on most Arduino boards and 48 on the Arduino Mega. On boards other than the Mega, use of the library disables analogWrite() (PWM) ...
2
votes
2answers
616 views

Is it possible to transmit Longitude and Latitude via RF433MHz?

I want to make a drone project, and to that I will use arduino as the platform. My plane is to use a Play Station controller to control the Drone in the air. In addition to that I want to connect a ...
5
votes
2answers
659 views

Understanding the relationship of Pulse and Stepper RPM

This may be a better question for the Physics StackExchange so tell me if I should move the question. I have a pretty simple script that I'm using to control the RPM of my stepper motor: void loop(){...
1
vote
1answer
353 views

Larger NFC antenna? [closed]

Goal: I would like to be able to transfer some information to an Arduino Uno board via an NFC shield/antenna. The situation requires that the NFC tag may potentially hit anywhere within a circular ...
1
vote
0answers
103 views

is it possible to backup an uploaded program? [duplicate]

I have a cute robot built on Arduino Uno and Ardumoto, and I am trying to reverse engineer it first, and to add some new sensors afterwards. I am stuck at how to deal with its program. I don't have ...
9
votes
2answers
1k views

RFID/NFC (13.56 MHz), is it possible to send raw bytes and receive response?

I'm trying to implement a card reader (i.e. credit cards) for shopping purposes, and AFAIK those cards are ISO 14443-A compliant (Mifare Classic 1K). I already made an Android app that can send custom ...
4
votes
2answers
41k views

Servo won't stop rotating

I have an Arduino Uno R3 board and after some time not in use it seems to have corrupted. My code is below, basically I want to rotate a servo 90 degrees every 12 hours but as soon as I plug it in the ...
4
votes
2answers
1k views

How can I connect the Tamiya double gearbox to Arduino Uno?

I'm working on building my first robot. this is my first foray into DIY electronics. I already have an Arduino Uno, and I have ordered the Tamiya double gearbox here. My goal is to control the gearbox ...
11
votes
1answer
1k views

Understanding the compilation/linking/upload process (so I don't have to use the IDE)

I have started to play with and arduino UNO quite recently (without any prior experience with micro-controllers). I would like to use emacs instead of the IDE, and I'd also like to know what the IDE ...
2
votes
2answers
830 views

Matching Baud Rates

So I am working on speeding up a nixie tube speedometer, in this question: , but this brought up another question. Would having matching baud rates for multiple external devices speed up processes. ...
4
votes
1answer
2k views

Check contents of buffer after serial read

I would like to test the contents of data received over a serial connection. In my loop() I store the data in bffr; and afterwards I would like to test to see if there are some predefined words in it. ...
6
votes
5answers
10k views

Simultanous read and read/write on two serial connections

At the moment I'm using two softserials to connect to a GPS and an GSM module. It seems not possible to have two open software-serials. So I was looking for an solution After the initial-setup, the ...
3
votes
1answer
106 views

Pull Chain Switch

I'm a bit new to electronics/Arduino projects, so am looking for some help on some wiring needed for a project involving this Pull Chain: http://proto-pic.co.uk/pull-chain-switch/ The chain works ...
1
vote
1answer
5k views

How to control Keyboard inputs using arduino(serial monitor) and python keyboard libraries?

I am able to control my monitor and most other applications by giving serial input to python through arduino. Arduino code: void setup() { pinMode(2, INPUT); pinMode(3, INPUT); pinMode(4, ...
2
votes
1answer
2k views

Interference at digital input (UNO) [duplicate]

I was trying out a basic button tutorial on my new Arduino UNO. But for some reason, the Arduino was detecting the button as on (pressed) even when it was off (unpressed). After some experimentation, ...
2
votes
1answer
280 views

Arduino Uno and Leonardo SPI clock can't be measured

I want to measure the SPI clock (pin 13) using the Arduino example code for the SPI library (very simple example). Basically independent from the loop function, the clock should be fired continuously. ...
2
votes
1answer
1k views

ArduinoUno+LcdKeypad+ArduinoWifi=Pins Problems

Is it possible to connect these two shields to my Arduino Uno? After a research on the internet, I discovered that they use some of the same pins. Even so, is it still possible for me to connect the ...
6
votes
5answers
8k views

My Servo Won't Sweep Smoothly

So I've tried this a few times and I always get the same issue. When I try to run the sweep example the servo goes round 180 degrees but only in steps. Anyone know a way to fix this? The servo I'm ...
-2
votes
1answer
912 views

Analog average sample wind speed sensor

I have wind speed sensor that can measure max speed upto 30 m/s with analog out put 0-5v. I have simple code calling from the loop. When I put the wind speed average code, the web server is not ...
2
votes
2answers
3k views

Turning a DC motor a set number of Rotations using an encoder

I'm using an arduino UNO, and i want to turn a motor a set number of revolutions, i'm trying to read the clicks of the encoder which has a resolution of 360 clicks/ revolution, my logic is that i ...
1
vote
2answers
1k views

Arduino time(milli) and pressure sensor

I've succeeded to get an Arduino to work with a pressure sensor. What I want to do is when I put pressure on the sensor, after 5 minutes the led lights on. it starts over again if there's no ...
1
vote
2answers
1k views

How to connect a 2 cell LiPo batter to Arduino Motor Shield?

I am trying to connect a 2 cell 7.4 volt LiPo battery into my motor shield. I am a beginner at robotics so I am not sure if I just connect the battery, via a connector of some sort, into the motor ...
2
votes
1answer
640 views

Ethernet shield programming

This is first time programming with Ethernet shield . I want to test the web server application with my Arduino. I have an Arduino Uno, Ethernet shield, and a potentiometer. Below code being uploaded. ...
3
votes
2answers
862 views

How do I use the timers on an Arduino Uno R3?

I want to make a simple circuit which returns the time/delay between two, consecutive loud sounds (i.e, a mic reading of ~600) coming from a speaker. I have set up and ADMP 401 microphone for this ...
2
votes
1answer
17k views

How do I use 2 ultrasonic sensors to control a 5v motor?

I've hooked up two ultrasonic sensors to my breadboard and I also got a 5v motor installed. I also got the diode installed and the usual set up. I can easily control the motor with one sensor. But ...
2
votes
0answers
630 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....
4
votes
2answers
3k views

Controlling LED from web server

I have a LED attached to my Arduino wifi shield that I want to control from my PHP web server. In terms of communication, should I Make my Arduino a web server and then communicate with PHP web ...
18
votes
4answers
24k views

Parse JSON with arduino to turn on LED

Hi i'm trying to parse JSON resposne from webserver in my arduino in order to turn on and off a LED light. I'm using the wifi client repeating example to make a get request to my server: http://...
3
votes
1answer
2k views

Response of Modbus Protocol

I have the below code. This code is successfully compiling and uploading, but I am not getting any response from Slave. What do I need to do? Some time data being received from Slave (I get this ...
4
votes
1answer
344 views

Arduino Lego Robot

I'm currently developing a Lego Robot, the mindstorm series to be specific. I want to replace the lego NXT brick with an arduino, maybe an intel galileo in the future. How do I establish connections ...
3
votes
1answer
1k views

Modifying serial message for Adafruit NFC/RFID card

Using an Uno configured with an Adafruit RFID-NFC shield to send the UID values to a desktop game I am building. Works fine. However, in addition to just the UID, I need to send 1 additional value, ...
2
votes
2answers
2k views

Connecting to network with wifi shield

I just bought a WiFi shield and I cannot connect to my wireless network (WPA2). I used the sketch from the Arduino site for connecting to WPA network and put my SSID and password on but it doesn't ...
1
vote
2answers
1k views

Modbus Protocol Compile Error

I have Code for Mod bus Library as below. I have Gone through lots of forum. How to assign device ID, slave address, length using below library function: #include <SimpleModbusSlave.h> #define ...
2
votes
1answer
2k views

Why my Arduino Uno R3 doesn't work with a recompiled optiboot with BAUD_RATE=57600

This is a follow on question from How to reduce serial speed on Arduino bootloader (optiboot) and on the IDE? I did manage recompile optiboot bootloader to work at 57600 bps and uploaded it to a ...
3
votes
2answers
983 views

updating firmware on arduino wifi shield

I'm trying to upgrade firmware on my wifi shield by following the upgrade instructions for Mac. I was wondering what this means?: Connect a jumper on the J3 connector, that put the shield in the ...
2
votes
1answer
1k views

Arduino Uno R3 ISR does not work on pin 2?

I have an Arduino Uno R3. I have a paddlewheel waterspeed sensor that I use on an ISR on pin 2. The power supply is approximately 8v stepped down to 4.92v with a circuit yanked from the phone charger. ...
1
vote
1answer
2k views

Nothng Written to Serial when using sprintf

I'm using sprintf to use a format specifier myTemplate with some strings. The result will then be written to Serial. Although the sketch compiles fine, it does not write any thing to the serial, ...
5
votes
4answers
3k views

Can the Arduino Uno become an AVR programmer and use the ICSP header to program the target board

The Arduino Uno has an ICSP header that I imagine is for programming the board using a separate ICSP programmer. That is, its ICSP header turn the board into a target. Can one use that same ICSP to ...
1
vote
1answer
6k views

How to reduce serial speed on Arduino bootloader (optiboot) and on the IDE?

I'm debugging a couple of RS232-to-TTL converter boards that I'm trying to use to program my Arduinos and one thing I would like to try would be to reduce the upload serial speed from 115200 to 19200. ...