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
2
votes
1answer
767 views

Lockup while evaluating Wire.requestFrom function (Arduino)

I am currently working on a Arduino project that combines an InertiaOne IMU sensor board (from Atmel), with an Arduino UNO and two motors driven by a Makeblock driver board. All sensors communicate ...
0
votes
1answer
143 views

A question about the possible limits of an Arduino Uno

I've searched the web but could not find a straightforward answer to my query. I am building a control board for one of my models and this time have decided to also include a computer interface, so I ...
2
votes
2answers
194 views

Beginner here, trying to start learning arduino, which starter kit should I buy?

I'm really interested in arduino but I don't know much about it. I want to buy a starter kit to play with, but when I searched it on amazon, there are couple unofficial starter kit and a more ...
-1
votes
2answers
64 views

Why is this returning the wrong answer?

Why does this print output -3? xpos can be any value. void loop() { xPos = analogRead(xPin); yPos = analogRead(yPin); pwm = xPos*(255/1023); Serial.println(pwm); }
1
vote
0answers
119 views

Unable to determine why the LCD shield does not initialize

I have an Arduino UNO and a 16x2 LCD Shield that have been lying unused for one year, or perhaps more. Yesterday I connected the Arduino via USB, uploaded a couple of simple sketches, played around ...
1
vote
1answer
1k views

RF network using Arduino

I am working on home automation project. A network consists of one master device and many (maybe 10-20) slave devices, all communicating via these RF modules. I am using arduino in slave devices. ...
1
vote
1answer
4k views

Capacitive Sensor gets stuck

I want to use CapacitiveSensor library in order to make my own aluminum keys piano. I have seen many videos online showing projects like the one I'm trying to do, but for some reason mine doesn't work....
0
votes
1answer
136 views

How to read AC Voltage in arduino uno with 12V adaptor and usb cable.?

i want to ON-OFF two lights(white and red), one from main power source(white light) and one from ups(battery). When main power is present, white light should be ON and red should be off. And when main ...
1
vote
0answers
1k views

PS4 controller too touchy on the arduino RC car i built

I recently built an RC car from scratch and I am using a PS4 controller to control it. I have an ESC of course but my problem is I barely touch the joystick and the motor is going so fast I cannot ...
1
vote
2answers
7k views

Where is documentation on Arduino's Internal Interrupts?

First time arduino programmer here...however I have programmed the TI MSP430 in the past... I am trying to figure out how to configure internal Interrupt Vectors on this Arduino Uno. In the Arduino ...
0
votes
2answers
196 views

Shift registers. What, how and why?

I'm making a project and I'm using multiple 1 digit 7 segment displays. I haven't plugged them all on my arduino because currently I'm just testing. The problem is on the I/O ports. Obviously I need ...
-2
votes
2answers
20k views

how to use strstr() in serial communication?

I have a SIM900 module and Arduino, both are working fine. In my previous programs I have use strstr() command to find specific word from a string but they were constants and pre defined in the ...
0
votes
2answers
526 views

How to upgrade Arduino UnoR3 clock

A little background: I need to generate a 40KHz frequency as accurately as possible. (One of my other posts is here: Stable frequency generation) My code is solid- I'm using an Uno R3 and ...
1
vote
0answers
1k views

Unexpected Timer Conflicts (Uno)

I've been working on a project (Arduino Uno: Atmega328) that implements a gyroscope (which is used with the LSM9DS0 spark-fun library) that is communicated with through I2C and uses a Servo library. ...
0
votes
2answers
845 views

Arduino ATmega328P works but board (Uno R3) seems broken

This is the first time I'm using my Arduino. It's an Arduino UNO R3. I have two boards. One works, but the other doesn't. I changed the ATmega328P from the broken one to the good one and it works, so ...
1
vote
1answer
63 views

Strange phenomenon when declaring double

Consider this question closed, found my answer through the answers I had I am trying to make a position profile curve depending on Looptime, accelerationloops,Setposition,Currentposition(position) ...
0
votes
2answers
2k views

How can I make an H-bridge using NPN transistor? [closed]

I am new to arduino and I wanted to make an h-bridge because it is not easily available in india. I want to control the h-bridge using arduino uno r3 board and 2n2222A transistors and 1n4001 Diodes if ...
0
votes
2answers
25k views

How to store values inside an empty array and get the average integer? [UPDATED QUESTION]

Goodafternoon, I want to read values form a microphone (Adafruit MAX9814) connected to the Analog port A0 from Arduino and store the values that are incoming inside an array. After the values are ...
8
votes
1answer
288 views

Will the arduino power autoselection logic short the regulated 5V and the USB 5V?

From the reference design of the Arduino UNO r3, I find that USBVCC will be connected to +5V via mosfet T1 if Vin is below 6.6V. Doesn't this short the two sources if Vin is just below 6.6V? The ...
-1
votes
1answer
415 views

Binary reader with arduino blinking 8 leds

I´m trying to insert a binary raw sequence (01010100, 01101000, 01100001) into Arduino. I would like to make 8-led group blink in a loop, showing with light each 8-group binary sequence when: 0=light ...
0
votes
1answer
82 views

Stuck in a small confusion about Infrared leds and receivers?

I have a very simple idea I want to implement. I am making a home automation using an Arduino Uno. I am familiar with Arduino programming but the problem is what kind of IR receiver I need to buy if i ...
2
votes
1answer
1k views

micro arduino and w5100

I would like to ask if it is possible and how to connect the following module http://www.ebay.com/itm/TOP-Mini-W5100-LAN-Ethernet-Shield-Network-Module-board-for-Arduino-Best-NEW-/251981053942?pt=...
0
votes
1answer
946 views

Fried two Arduino Nano's but works when powered

It took me about 4 hours to desolder an Arduino Nano I fried and solder on the new one. I'm not exactly sure how but I shorted it somehow while trying to install the nano onto my robot. I could smell ...
0
votes
1answer
130 views

Change input reference to 1 - 5 V

I am using a sensor which delivers a 4 to 20 mA output. Converting this with a 250 Ohm resistor to ground I convert this to a 1 - 5 V output. My question how can I change the 0V reference, so I can ...
0
votes
1answer
803 views

How to connect a card reader (extracted from printer) to arduino uno

I'v got this USB/SD card/CompactFlash reader from an old DELL AIO 926 printer, it's a double sided PCB board and that's all i know about it. I tried to google it but couldn't find anything relevent, ...
0
votes
1answer
851 views

Malloc with Objects in Arduino libraries

My understanding of using dynamic memory on the arduino is that new/delete are not available, only malloc realloc and such C functions, as mentioned here: C++ & the AVR I am creating a library ...
1
vote
1answer
704 views

Why the bootloader burn on ATmega328 rather than Atmega16U2 in Arduino Uno

I have been researching about the reason why we have a second MCU in arduino UNO for a while now. finally i understood that its been use as USB to serial converter. the question that really bug me ...
1
vote
0answers
78 views

Free simulation software for arduino hardware [duplicate]

Hi there i am a beginner and trying to pair some sensors with my arduino. I am looking for some software which will allow me to test my codes in virtual machine also it should be free ...thax in ...
1
vote
3answers
240 views

Reading tiny voltage changes

I have an mpx12DP pressure sensor that I want to use to measure the depth of water in a 1m tall water tank. But it only measures up to 55mV of voltage change, which the arduino can't really detect ...
-1
votes
2answers
275 views

Data Logging GPS with Arduino

I am working on a project for my final in a first year programming course at my high school. I would like to make an Arduino based data logging device that I can bring with my on the mountain biking ...
1
vote
1answer
2k views

Relationship between baud rate and the frequency of vibration read using ADXL

I am doing a project using Arduino Uno and ADXL 345. I am quite new to this and I came across this post in the link" : https://www.sparkfun.com/tutorials/240. Here, a user had posted the below ...
0
votes
2answers
1k views

Arduino UNO button LED brightness vary

I am using an Arduino UNO and I am trying to vary the brightness by steps by 0.5 volts till it gets to a max of 5.0 V using buttonA and decrease the brightness of the LED by 0.5 volts with buttonB. ...
1
vote
2answers
135 views

Sanity check with potential project. IoT with a dishwasher

So sanity check for a potential project. We have an old dishwasher at work, a GE QuietPower 3, and being a technology company, we want to connect it to our chat room to notify that the cycle is done, ...
1
vote
0answers
176 views

sim 900 sending wrong sms -“ Ü ” to mobile phone from arduino

i am having a problem while sending sms from arduino to a specific number. cell phone getting sms but every time it gets same unicode -" Ü " . plz help us //-------------------------- #include <...
0
votes
1answer
117 views

How to start Arduino programming?

I am totally new to and don't know where to start, I am interested in building new system with combination of hardware and software and every time I search how to make that embedded system it finally ...
0
votes
3answers
1k views

Tile NeoPixel NeoMatrix 8x8

As a programmer I am new and lack some knowledge in electronic and I will appreciate the help. I wish to connect 3 Adafruit NeoPixel NeoMatrix 8x8 - 64 RGB LED Pixel Matrix (https://www.adafruit.com/...
1
vote
2answers
433 views

Determining which section of code uses the most flash [duplicate]

I'm running into the 32k flash ceiling of my 328p. The code is pretty compact but I need help making it smaller. Is there an analysis tool (part of avr?) that can tell me which functions take up the ...
0
votes
1answer
34 views

print data after being plugged back into USB

I have an arduino uno powered by a battery on a buggy with a sonar distance sensor. I have a program that calculates the speed it's going, and I want to correlate speed with stopping distance. I can ...
1
vote
0answers
484 views

Control air conditioner using Arduino

I followed a couple tutorial on how to receive and send IR codes to control air conditioner the receiving part is working fine and I copied the IR data of the remote control but the problem I am ...
0
votes
1answer
1k views

Can't use base class and derived class functions

I have made two libraries and one test program.I have made my custom uart library.first i have included all functions for printing in single uart library file.but then i have made print library for ...
0
votes
2answers
227 views

Intializing Serial crashes UNO

I have a somewhat large sketch that uses the Adafruit_ssd1306(I2C) library for a 128X64 LCD. The sketch is a designed to be an alarm clock. When I upload the sketch with out initializing serial, it ...
2
votes
1answer
1k views

How to control a large number of devices with an Arduino

I'm doing some initial research on a project I have in mind. I am super new to all this Arduino stuff so taking it slow and gathering lots of info. I want to control around 1000 small linear ...
1
vote
1answer
86 views

Don't pee there! Device

I want to make a device with a sensor I can attach to the places my dog likes to mark. When sensor becomes wet I want a buzzer to make a loud noise to scare the animal and notify me I need to ...
1
vote
2answers
10k views

How to read code from Arduino Uno to Arduino IDE? [duplicate]

we can upload a code into Arduino UNO from our computers, but how about reading code? Can we read and get C codes from compiled codes from Arduino hardwares? My second question is that will we read ...
0
votes
1answer
1k views

Arduino-uno sending email with Hotmail

I want to get emails read from a Hotmail account using an Arduino Uno. Is there a way to do it with SSL or is there a way to disable SSL? #include <SPI.h> #include <Ethernet.h> // Use ...
0
votes
2answers
3k views

How to Communicate between arduinos wirelessly?

I am doing a project where I need to send some numbers between arduinos. But it has to be wirelessly because they will be moving. How to Communicate between arduinos wirelessly? I need to send data ...
0
votes
1answer
312 views

Comparing orientation data obtained using gyroscope and accelerometer

Recently, I have been playing around with a gyroscope and accelerometer in the hopes of building a quadcopter. I have plotted some of the data the two sensors and I am noticing that the pitch from the ...
1
vote
0answers
799 views

Linear equation solver Arduino Calculator, printing wrong answer [closed]

I wrote a code in C to solve equations, but I don't know why some equations that I input into this calculator, give me wrong values, the algorithm is correct because I execute it in C and give me the ...
1
vote
0answers
953 views

EB - 4x4 Soft Keypad Driver Diagram from Makerstudio needed

I have found this interesting device wile looking for a cheap Arduino. It's a "driver" that converts a 4x4 Keyboard 8-PIN (8-IO) to a 4-Pin (2-IO) Device I would like to know if is Achieved by a ...
0
votes
1answer
767 views

Help understanding how to drive Step motors with Arduino

I am building a 2-Axis gantry system to dispense some thermal paste on boards. I was given two stepper motors in order to do so along with a gantry already built that will arrive in two weeks. So ...

1
130 131
132
133 134
144