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
0
votes
2answers
2k views

Problems controlling servos using proximity sensor

I've just started using Arduino and I need to make a code to simulate the behavior of a lizard, meaning that if you come close to it, it moves away from you. I'm using a "Arduino duemilanove" that my ...
1
vote
1answer
1k views

Calculating location with 4 piezo's

i've got the following problem i'd like to get solved and i'm breaking my head, so please help! I have a rectangle with the following size 40 cm * 50 cm. On each corner of this rectangle I placed a ...
1
vote
1answer
3k views

Setting up the MMA8452 to trigger interrupt

I am working with the MMA8452q accelerometer by Freescale. I am trying to set it up to be in low power mode, to go to sleep when no motion has happened, and to wake up due to motion being detected ...
0
votes
1answer
5k views

Problems with Dallas temperature sensor code

I have connected up my temperature sensor and I am trying to run the one wire address finder to find the address of the sensor. The problem is that when I run the code it gives me the error: 'OneWire'...
0
votes
1answer
333 views

Unable to light up all the LEDS connected to Arduino using processing

I have 3 LEDs connected to my arduino which are controlled via laptop key presses with processing. While the LEDs are able to light up when the respective buttons are pressed, i am unable to light up ...
1
vote
1answer
1k views

Reading text/strings via processing

I'm trying to control an led attached to my arduino via key presses on my laptop.When i hold down a key, the led should light up, and when i release the key, the led should turn off. While my code ...
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 ...
0
votes
1answer
8k views

Keyboard/mouse libraries with UNO [duplicate]

I have an Arduino Uno Rev. 3 and I'm trying to make it so that the Arduino can send a key press / mouse action to the computer. However, these libraries are restricted to a few other versions of the ...
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, ...
0
votes
1answer
637 views

Zigbee Relay board communication with Arduino

I have bought this wireless ZigBee relay board. I was wandering about an arduino sketch to get started, I have searched for 2 days now but with no results. What I was thinking of is to have an ...
0
votes
2answers
98 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.
0
votes
0answers
28 views

Weirdest behaviour with arduino and bootloaders for GPS [duplicate]

I have an EM408 GPS and an Arduino Duemilanove with an ATMega328. I have the following code to talk to the GPS and get raw data: #include <SoftwareSerial.h> SoftwareSerial GPS = SoftwareSerial(...
3
votes
1answer
4k views

Do I need to use a resistor if I am using a potentiometer to control an LED's brightness?

I am currently tinkering with an arduino, and am using a potentiometer to change the brightness of an LED. I understand that usually, a resistor is added to the circuit to limit the current flowing ...
7
votes
1answer
3k views

Why does increasing resistance make a capacitive sensor more sensitive?

From the Capacitive Sensor Page on the Arduino website, it states the following: The capacitiveSensor method toggles a microcontroller send pin to a new state and then waits for the receive pin to ...
1
vote
1answer
6k views

How to use String.substring?

I have the following code in which requestLine is always empty and I can't figure out why. request contains a raw HTTP request, and I want to get the first line of the request which contains the ...
1
vote
1answer
149 views

How do I avoid this error trying to connect arduino to pc with linux fedora 20

I used Arduino successfully on my old Linux Fedora 12 system. Now I have a brand new PC with Fedora 20, and have today installed Arduino on it. In my first attempt to use it I typed Arduino as follows ...
6
votes
2answers
6k views

bootloader uploading into Atmega328

Here is mine circuit. Intially i used arduino UNO directly for programming. Now i am Using atmega 328 IC for programming. I am trying to connect 32 hall sensor via Mux circut. I wanted to How to ...
1
vote
2answers
2k views

Error while connecting Arduino to Macbook: “serial port already in use. try quitting any programs that may be using it”

I'm trying to connect to my Arduino board through a macbook pro with mac os x 10.9.3 installed. I'm following the instructions from the arduino guide and in the connection section: " Connect the ...
4
votes
3answers
1k views

Significance of the numbers used in the manual

i just bought the starter kit and am currently working my way through the examples in the book when i came across some numbers used in the manual that seems a little too specific. For example, in ...
1
vote
2answers
219 views

help with input in a Simon arduino uno game

I' making a Simon game with the arduino uno. I know something is wrong with the inputs but i don't know why or how to fix it. The problem is the program takes an input and says it is correct no ...
3
votes
1answer
3k views

Reset fuses on atmega328p using Arduino

I bought a few atmega328p chips but unfortunately they came with the Arduino bootloader and they are set to use the external clock. I want to reset their fuses using avrdude so I can use the internal ...
0
votes
2answers
436 views

Stacking shields without headers

In the project I am working on, I have a limited space with which I can work. I am using an Arduino Uno with 2 Adafruit motor shields, and when I stack them using normal, female stacking headers it is ...
2
votes
0answers
612 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....
-2
votes
1answer
908 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
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 ...
3
votes
1answer
419 views

Setting time frame in Arduino Uno

I have built the circuit below using mux ICs. In a particular interval the respective selector pins get selected and analog signal from hall sensors are read and give a particular analog value out. ...
1
vote
0answers
40 views

How to communicate arduino with Matlab [duplicate]

I have been working on a project which deals with analysing data from sensors to matlab. How do i establish this communication. Please help me
3
votes
1answer
769 views

Timer1 stops firing

I am trying to use interrupts to play notes on a speaker. Timer2 works fine, but after about 15 seconds, Timer1 stops firing for about 5 seconds, and then it comes back on. If I keep running the ...
3
votes
1answer
639 views

To connect a simple toy circuit and trigger with an arduino?

I have a small circuit from a toy sword that has an LED and a small speaker. It was powered by a couple of small coin cells. I am trying to figure out how to connect it to my Arduino so I can trigger ...
4
votes
1answer
603 views

Can a PC connect to an Arduino for serial communication without installing the entire dev kit?

I'd like to send a prototype board to a friend pre-programmed and wired. Ideally they should just need to plug in the USB and connect to it over a serial COM port. With another laptop I used for ...
1
vote
1answer
864 views

Unable to read text file from server

I saw the Web client Example , In the example, the server connection is initialized in setup(). But I want the server to update the text file every time. So, I need the server connection to be in ...
0
votes
1answer
705 views

DC-DC converter with Arduino not working

I've got a program running on the Arduino that is supposed to turn on and off a pump. currently, I am outputting the reads of the components that need to be read and it shows when the port (port 13) ...
7
votes
2answers
3k views

Use Higher Resistance Than Instructed in a Circuit

I'm following the "Get Started with Arduino" Guidebook, and I'm at the part where pulse width modulation (PWM) is discussed. The instructions say to create a simple circuit with a breadboard, red ...
-2
votes
1answer
1k views

Cheapest way to connect android device to arduino wirelessly

I'm building a simple RC car which I want to control using android phone. The phone has bluetooth and Wi-Fi. My questions is what will be the cheapest way to connect the two devices at about 50-120m ...
7
votes
2answers
1k views

Convert a Bitstring into an integer value

I have got a String filled up with 0 and 1 and would like to get an Integer out of it: String bitString = ""; int Number; int tmp; bitString = ""; for (i=1;i<=10;i++) { tmp= analogRead (...
0
votes
1answer
2k views

Adafruit motor shield + Adafruit stepper not working

I have the Adafruit Motor Shield V2 and an Adafruit stepper motor. I have not soldered the shield onto the Arduino (which is an Uno) yet because I don't want to make anything permanent yet. I have the ...
5
votes
1answer
2k views

How to make XBee module interrupt/wake arduino

What I am trying to do is, to have arduino in low power mode and waking up only when a packet is received and is available to be read from the buffer. A scenario : Zigbee XBee module is not ...
13
votes
4answers
24k views

What's the deal with Uno's pin 13 LED?

(I have a Sparkfun RedBoard, but this question seems to apply to R3 Unos and Uno-compatible boards.) As I was building the first circuit in my SIK guidebook (add a resistor, LED, hook it up and make ...
-2
votes
1answer
433 views

Receive SMS example gives me a garbage values

When I run my Receive SMS example code, By default every time I get the same thing.I am trying to send sms to my sim card present in the Arduino GSM shield. I don't want this message. How to solve ...
1
vote
1answer
343 views

digital pin's current limit, ohm's law and DC motor

A digital pin's output voltage on an UNO board is 5V, which is equal to the output from the VCC. I read that the DC current limits of those pins are 40mA and 200mA respectively, and that a higher ...
5
votes
1answer
360 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 ...
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 { ...
1
vote
2answers
554 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 ...
3
votes
1answer
780 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 ...
2
votes
2answers
613 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 ...
1
vote
1answer
349 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
96 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 ...
11
votes
3answers
5k views

High precision timing on Arduino for serial communication

I am using an Arduino Uno to send time and voltage information over the serial port to Python to plot. However the interval timings between successive time stamps appears to be increasing over time, ...
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, ...
3
votes
2answers
861 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 ...