We’re rewarding the question askers & reputations are being recalculated! Read more.

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
0answers
97 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
40k 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 ...
2
votes
2answers
828 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
9k 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
275 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
909 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
630 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
613 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
23k 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
999 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
980 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. ...
9
votes
2answers
2k views

Can the 2nd MCU on the UNO R3 be used for keyboard emulation?

Following on from What's the 2nd ICSP header for in Arduino Uno R3? I was wondering how this could be hacked to our advantage. For example, could that firmware be rewritten to have the UNO ...
16
votes
1answer
8k views

What's the 2nd ICSP header for in Arduino Uno R3?

Looking at my Arduino Uno R3 board and its reference design schematic I noticed that there's a second ICSP 6-pin header. In the schematic, the connector I'm referring to is named ICSP1. What's that ...
0
votes
1answer
859 views

7segment blink when the button is pressed

I have programmed an IR remote control along with an LED and an 8bit 7segment on an Arduino Uno. the segment displays the number I press via the remote, and the LED turns on and off here's my code: ...
6
votes
2answers
9k views

“Broken Pipe” when uploading to Arduino UNO

I just got my Arduino UNO and I'm trying to upload the blink example but the upload fails with ioctl("TIOCMSET"): Broken pipe ioctl("TIOCMSET"): Broken pipe avrdude: stk500_recv(): programmer is not ...
9
votes
3answers
12k views

How to call C functions from Arduino sketch?

I would like to know if there is a way to call functions that are contained within C files using an Arduino sketch? My C file declares and defines a function. To save putting the messy function ...
11
votes
2answers
6k views

Changing the brightness on a Hitachi HD44780 LCD screen

I am finishing up a project- an LED game alarm clock. Seeing as this is a clock, I need to have a way to conserve power, which right now my Uno R3+ is eating up like a politician. My question is, how ...
6
votes
1answer
4k views

Warning Arduino CMakeLists “Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES”

I'm trying to build an Arduino example without using its IDE. My OS is Windows 8.1 and I'm using the last version of CMake (2.8.12.2) and MinGW (GNU Make 3.82.90). I downloaded the Arduino ...
1
vote
3answers
3k views

Serial port /dev/cu.usbmodemfa131 vs /dev/cu.usbserial-A702NY8S

On Mac OSX Mavericks, why does Arduino Uno uses serial port named /dev/cu.usbmodemfa131 while Arduino Nano uses /dev/cu.usbserial-A702NY8S? Are they using different FTDI drivers?
45
votes
2answers
53k views

What happens if I power the Arduino with both the USB and external power voltage simultaneously?

I am a new Arduino user. I am not sure whether I can connect both USB and external supply through power adaptor to Arduino simultaneously. Would this burn the controller? Basically, I want to ...
1
vote
2answers
959 views

How to find out whether an arduino can control a servo motor

I have a servo motor with following specs Torque - 1.08Nm Max rpm - 3000 Current rating - 7.8 amp Max voltage - 56V DC Please tell me how to calculate whether an arduino board - uno rev 3 can control ...
4
votes
1answer
1k views

Ultrasonic Sensor scanning too often resulting in a whirring noise

I am using an HC-SRO4 ultrasonic sensor for a wall-avoidance, maze-solving robot. However, I have recently run into an issue where I am getting a whirring noise from the sensor because it is taking ...
2
votes
1answer
860 views

Connect to more than one Arduino with Adobe AIR

I am using the arduinconnector ANE to connect to an arduino baord in an AIR application. https://code.google.com/p/as3-arduino-connector/ Can anyone tell me if its possible to connect to more than 1 ...
7
votes
1answer
14k views

How to build (concat) a string with big numbers

new to arduino I'm struggling with what sounds like fairly n00b problem... I've wired up a adafruit GPS-board to my Arduino and it is working as it spits out GPS data to the serial port with Serial....
6
votes
1answer
4k views

How to use RS-232 sheild as software serial port?

I would like to be able to use a USB port at the same time as an RS-232 port with my Arduino Uno board. I unwittingly bought a shield that (I think?) overrides the USB port when it is mounted to the ...
5
votes
2answers
3k views

LCD scrolling down problem

I have a list of set-ups and I only have 2 rows in the lcd , I'm trying to scroll down for the moment and I'm doing this by changing the row in the setcursor function to either 0 or 1. However since ...
5
votes
4answers
9k views

Timer2 does not work as it should

I am currently playing with Arduino timers (on UNO currently) and I am building a library that has a function that must be called every millisecond. There is plenty of code samples on Internet so I ...