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
1answer
1k views

Getting values from multiple thermistors - one value glitches all over the place

I have a circuit with preferably long wires that get data from thermistors. The Arduino sends this data (formatted in JSON) to a web server where it can be collected by another program. Some of these ...
0
votes
0answers
4k views

ESP8266 problem as Web server

I asked a previous question about esp8266 that made a lot of things clear for me that esp8266 is very powerful and can be independently used as the webserver now, I have used the following library(...
0
votes
1answer
253 views

Need assistance with program for POV Project

I've created a very basic POV project. It has a 12V DC motor with a piece of wood on it. The wood has 6 LEDs on it as well as a copper ring. The power is delivered to the LEDs from brushes connecting ...
0
votes
3answers
54 views

I'm looking for a real small but decent Arduino, that can fit in a watch but power a servo and a gyroscope

I've been scouring the internet looking for a small Arduino that can power two sensors and a servo. Is there a way of getting a custom one? Does anyone know if theres software out there for creating ...
0
votes
1answer
262 views

Having issues with sending output to WiFi Shield

I am doing simple proof of concept trying to send C++ program output to Adafruit CC3000 WiFi Shield (using Visual Studio 2013 Desktop Edition on Windows 8.1). In my design laptop is connected to UNO ...
-1
votes
2answers
2k views

Disabling a push button after being under pressure for some time?

Disabling a push button after being under pressure for some time? I need to disable a button where the user is pressing for a time it is disabled. Code: int ledPin = 13; int inPin = 7; int val =...
1
vote
2answers
296 views

I would like to control 16 motors with a servo shield

Ok so I've used nicks code and have the code running once ok.... I the noticed however I had a fast 180 sweep and then it returned under control of code. I then noticed the comments wrt pulselen of ...
1
vote
1answer
2k views

How do I scroll through the LCD vertically with joystick?

I have a device I'm working on and the only issue I'm running into is I can't manage to figure out how to get my LCD display to move around vertically with the joystick I have attached to it. I have a ...
1
vote
2answers
3k views

Arduino Uno (master) and ATTiny85 (slave) I2C connection not working

I am trying to send and receive data using I2C between an Arduino Uno and an ATTiny85. The Arduino Uno is using the Wire library. The ATTiny85 is using the TinyWire library and is programmed (and ...
2
votes
1answer
308 views

snprintf crashing my program

I have to admit that I can't really use this function. I'm trying to format some json but it crashing all the time my arduino: char response[300]; tmp = "123"; snprintf(response, 300, "[{Name:'...
2
votes
1answer
197 views

Will the Uno bootloader work in the Duemilanove?

I had an old duemilanove lying around (Which was not working because i accidentially busted the atmega) and I recently bought some atmegas pre-flashed with the UNO bootloader. So I tried to put one of ...
0
votes
1answer
764 views

Arduino User Input

Is it possible to accept input from an end user via terminal, or some other application? I want to create a prototype for a friend, but he'd need to enter his wireless network and password to ...
0
votes
1answer
2k views

NODEMCU vs AT for esp8266

I have recently started working on esp8266 wifi module and arduino uno. I am a little confused. I have created a small Web page with esp8266 AT commands. Now I want use it for receiving data such as ...
1
vote
1answer
736 views

Tone() working on all digital pins?

Looking at my Arduino Uno board, it appears the digital PWM pins are #11, #10, #9, #6, #5 and #3. When playing around with the Theremin, it seems that the Tone() message works on all pins regardless ...
0
votes
1answer
551 views

Toggle Button For LED Strip not executing properly

I have been using a library to control a LED Strip with buttons. My current code does not execute properly. It skips the if statement and just runs the code in a loop with no regard to the button and ...
-1
votes
1answer
451 views

Measuring KWh connecting to the mains [closed]

I need to measure KWh of the mains, connecting something like a sensor to the mains and reading its value into analog. I already know to measure KWh from a KWh meter but I need to make my own.
1
vote
1answer
104 views

Can I implement a LFM method on an Arduino? [closed]

Can I implement a LFM method for autocorrelation process using an Arduino? For example if I have a signal input LFM as a real signal and other signal as an imaginer signal. My question is can I ...
1
vote
1answer
993 views

Ethernet shield not have MAC address sticker [duplicate]

Hi everyone I recently bought an Arduino Mega and Arduino Ethernet Shield. There are lots of forum posts that say the shield should have a MAC address that is written on the back side of shield, but I ...
1
vote
0answers
59 views

TX light not flashing, screen.print works sometimes.. UNO

I've got 2 Analog accelerometers and a Gyro/Acc/Mag connected to my arduino and it's been working and reading fine until a few hours ago. I've got the arduino sending data over the serial connection ...
1
vote
1answer
118 views

Can a shift register be used to extend the Arduino pins when an ethernet shield is mounted on the Arduino?

I am currently working on a wireless home automation system. The system is connected to a wireless network in the home via the ethernet cable connected the ethernet shield and router. Hence, I need ...
15
votes
4answers
11k views

Is my Arduino dead or is it just its processor?

I have a problem with my Arduino. I can't upload any sketches to it (it gives me the error avrdude: verification error; content mismatch), but the LEDs are still blinking. Do you think that the whole ...
2
votes
3answers
4k views

How to use output from Arduino in C++ code?

I am a complete novice in Arduino and moderately experienced with the language C++. What if I want to use the output from the serial monitor in C++ code in real time? Also how can I write to the ...
0
votes
1answer
82 views

Interrupt variable not getting called while executing another part

volatile byte _incomingFlag = 0; void onIncoming () { _incomingFlag = 1; Serial.println(F("You got an interrupt")); mySerial.println("ATH0"); } void setup () { /* First Start the ...
-2
votes
1answer
7k views

Sample average of analog of current sensor

I have two problems in the code below. This ACS712 sensor is too noisy so I am not getting the count value properly, since I need approximate reading I consider curve is linear, and calculate the ...
-2
votes
2answers
279 views

How to Display data from Strings?

I am working in an interactive project in displaying texts in POV which people can click to generate different texts automatically. I wrote a String to store the text first, but it seems cannot ...
1
vote
1answer
144 views

Will it work ? MPU6050 Gyro etc. etc. module

Will this code read the values properly ? Using MPU6050.h. #include <MPU6050.h> #include <Wire.h> void setup() { Serial.begin(115200); Wire.begin(); MPU6050.initialize(); } void ...
-6
votes
1answer
109 views

Why do I have errors in this code [closed]

Why do I have errors in this code #include <SoftwareSerial.h> SoftwareSerial mySerial(10, 11); // RX, TX float A = A0; float B = A1; float C = A2; float D = A3; float thresh = 614; float XA = ...
0
votes
1answer
954 views

Controlling Protoneer CNC shield without PC

I'm building an small CNC using Protoneer CNC shield, GRBL and Arduino UNO. With this I need to connect the board to PC and send G-Code from there. My question is, is it possible to use the arduino ...
0
votes
1answer
975 views

Controlling 2WD car chassis with PS3 controller

I'm having trouble with controlling my car with the PS3 joystick, and there hasn't been any example codes out there. I'm using; PS3USB library from USB_Host_shield_2.0 library Freetronics H Bridge ...
1
vote
1answer
82 views

Arduino UNO not working?

Recently I assembled my Shapeoko machine, we used Grbl shield with an Uno for the same. For 1-2 weeks everything worked perfectly then once when I tried to work the machine, the serial communication ...
1
vote
0answers
901 views

Bluetooth Module AT command error?

I am trying to get my Arduino UNO to communicate with a Bluetooth Module (Bluetooth Bee), but I am getting a weird behaviour from the device. First, there are no leds blinking on the board (which I ...
1
vote
1answer
774 views

MCP23017: 16x2 LCD showing black boxes

I've researched a lot but I couldn't find a solution to my problem, which is that after properly following all steps from this Website: http://www.danielealberti.it/2014/02/collegamento-diplay-lcd-ad-...
0
votes
2answers
1k views

2,5m cable too long for LCD connected to Arduino UNO?

So i got that 2,5m cable wired with the LCD and the arduino, but i keep getting those weird characters showing up on the LCD. Clearly there is a signal loss between the components but there has to be ...
0
votes
2answers
6k views

Can I supply the board's 3.3V directly to the AREF pin?

Short dumb question: can I connect the 3.3V pin and the analog reference pin (AREF) directly? I've heard mentions of a 32K internal resistor but I'm not willing to risk a short circuit without ...
0
votes
1answer
412 views

Attiny88 as SPI slave

I have programmed Attiny88 with Arduino IDE 1.6.5 using https://github.com/SpenceKonde/ATTinyCore . I chose Attiny88 because it's the cheapest Attiny (as low as $0.5) and at the same time has 28 pins ...
0
votes
1answer
2k views

What could cause interrupts from MCP23017 suddenly stop working?

I have 4 rotary encoders connected to an MCP23017 which in turn is connected to interrupt port 0 on the arduino (and to I2C of course). Everything works fine: I get interrupts for all 4 rotary ...
1
vote
1answer
62 views

What requirements should components have to work with Arduino (UNO in particular)

I am fairly new to the whole concept of Arduino and electronic engineering in general. Recently I bought myself an Arduino UNO and I'm wondering what "non off the shelf" components will work when I ...
0
votes
2answers
186 views

Arduino car on bluetooth remote appears to crash when motors started

I built a Arduino robot car which accepts instructions via bluetooth. The instructions are pretty simple, they tell the car to stop, go forward, reverse, turn left or turn right. When I have the car ...
1
vote
1answer
1k views

Sending “Blink” to pin 12 is causing on-board led to blink?

I recently picked up an Uno clone and noticed that if pin 12 is set to an output and I run the Blink sketch on it, the built in led (supposedly connected to pin 13) blinks. It's not as bright as it is ...
5
votes
1answer
141 views

Does porting code to different MCU clock frequency affect serial baud rate?

Tried to upload my Arduino Uno sketch that writes to serial UART at 9600 baud rate onto my ATtiny2313 running at 1MHz. Not getting the signal on the ATtiny, does this have to do with my clock ...
1
vote
0answers
134 views

Arduino with NFC: Garbled Serial Monitor

I started working on a small programming project just for fun and I have got stuck. I have been using the following tutorial to make an Amiibo Music Box Now using the libraries the tutorial suggested,...
2
votes
2answers
6k views

What is the difference between a motor driver and a motor shield?

what is the difference between a motor driver(like L293D) and a motor shield? what are the advantage?disadvantages of both? And which one do you suggest ?
5
votes
1answer
811 views

Cannot compile C++11 code via Makefile

I am building my Arduino project with a makefile: BOARD_TAG = uno ARDUINO_PORT = /dev/ttyACM0 USER_LIB_PATH = /home/prakhar/dev/alfred/arduino/libraries CPPFLAGS=-x c++ -std=c++11 -Wall -...
2
votes
1answer
600 views

Why does timer1 not generate correct period on CTC mode with a resolution of 5us?

I have defined my code to generate an interrupt over each 5μs on CTC mode using timer1 but the output shows a time of ~15μs. Following the equation to set the counting number to achieve the ...
1
vote
0answers
2k views

Which Timer can I use to control a servo with Arduino Uno

I would like to control 2 motors using Timer2 @ 200Hz. The frequency of the timer is printed in the main loop every second. I'm using an Arduino Uno with two interrupt used for the encoders connected ...
5
votes
2answers
17k views

Why does an Arduino UNO need two GND ports?

I have really bad eyesight, so whenever I plug in the power wire and the GND wire I always double check if I'm actually plugging in to the power port not one of the two GND ports. Why does an ...
0
votes
1answer
13k views

How to call URL with Arduino Ethernet shield?

I'm working on Arduino and Ethernet shield. I need to call a URL. How can do it? (This URL is HTTP API to send an SMS to my phone). url: http://api.clickatell.com/http/sendmsg?user=mohammed.atha&...
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 ...
0
votes
1answer
349 views

Strange comportment of stepper motor while connected to internet

Problem moving a stepper motor after reading a value from a webpage.... I have a project to move a stepper motor from an angle after reading a number from internet; I have a typical 28BYJ-48 stepper ...
0
votes
1answer
416 views

Want to add an LCD display screen for the output motor

I want add an LCD display screen at output motor. When the motor runs the LCD display show like "motor 1 run forward" and "motor 1 run reverse". I want it display for all motor but I don't know how ...