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

learn more… | top users | synonyms (1)

0
votes
0answers
12 views

Control an audio amp board with arduino

I have a bluetooth audio board with play/pause, next, previous and volume buttons. I want to toggle these buttons with an Arduino without using mechanical devices like a servo. Something like ...
0
votes
0answers
18 views

Arduino + ESP8266 POST max 49 characters

I have a problem with Arduino connected to ESP8266, when sending data to a web server via POST. When I POST 44 characters of data like "sensor_1_total_volume=150&sensor_2_total_vol", then it's ...
0
votes
0answers
27 views

Microcontroller program upload

I'm new Arduino and trying to program Attiny13a microcontroller for Servo. I have connect succesfully 13a microcontroller with arduino and light is blinked after select board. My question is I have ...
1
vote
3answers
29 views

4.7v as HIGH on digital output instead of 5v

I'm new to Arduino, just got my starter kit, and I noticed that digital outputs 3 & 4 have 5v as HIGH level while 5 to 13 have 4.7v as HIGH level. Is it as it suppose to be?
3
votes
2answers
101 views

Why use a motor driver board?

I'm just getting into electronics in general and I'm confused a bit as to why I'd want/need to use a motor driver board instead of just setting up my own transistor/diode/etc when attempting to power ...
0
votes
1answer
41 views

Global variables use to much space in the dynamic memory

I use two simple libraries (see 1, 2) I found online for my code on the Arduino Uno, unfortunately I also use ROS and all those libraries take away to much space, when I compile my code I get this ...
0
votes
1answer
16 views

Best way to detect tilt using MPU 6050

I want to make a gesture controlled car using this IMU.. What is the simplest way to detect tilts? I've seen many programs on the Internet that calculate the angles but is this really necessary? Why ...
-4
votes
0answers
22 views

IR code too long. Edit IRremoteInt.h and increase RAWLEN

I tried a lot still I face this problem. Even after I edited define RAWBUF 500 // Maximum length of raw duration buffer So how to solve this problem?
0
votes
1answer
20 views

How to unify all RPS reading in one function?

Want to unify rps reading in one function. However, it shows incorrect values. when it is reading for one it works fine. Following is the code. Appreciate for your help. float rps[4] = {0.00, 0.00, 0....
-4
votes
0answers
19 views

How to communicate Two different Arduino using I2C? [on hold]

Actually i am using two arduino board.One arduino connects with RTC(in I2C)and other one connects with SD card (in SPI).Then how to communicate with each other using I2C communication. One of arduino ...
-1
votes
0answers
14 views

How to decode pronto code directly?

Currently I work on pronto code. I found model vise pronto code. Still I don't get perfectly pronto hex code. If I get this code then I will be controlled any of home appliances. What I had done now: ...
1
vote
2answers
27 views

How to I press a button once to display text and again to remove it?

My code is displaying voltage and I want to have a button that when pressed it displays a text and when I pressed it again it would turn off the text. I put the word "YES" just for a test float vPow =...
0
votes
0answers
13 views

Arduino wireless communication giving lots of lag on processing?

I have a mpu-6050 on an arduino along with a nrf24l01. On the other end there is another nrf24l01 attached to another arduino uno where its receiving the information from the mpu-6050 from the first ...
0
votes
0answers
20 views

De-Auth “attacks” using Arduino?

So I'm trying to use my Arduino and an ESP8266 to spam De-Auth "attacks". I am quoting attacks because I do not plan on using this for malicious or destructive purposes. Ive heard that the ESP8266 ...
0
votes
0answers
14 views

Arduino - receive file from android using wifi-direct(P2P) and store in SD card

I want to receive a file(image, .doc,.ppt) from an Android device and save it directly to sd card. I do not want to open, edit and do anything with the file, I just need that received file to be saved ...
1
vote
1answer
27 views

Debug soldered connections of LCD 1602A

I am moving my first steps into Arduino and electronics and I have tried to program an LCD 1602A display following this tutorial. I managed to complete the tutorial up to setting up the contrasts of ...
0
votes
0answers
19 views

Sinusoidal motion of a stepper motor

I was looking to run a stepper motor in a sinusoidal manner i.e. Asin(wt+c). I am unable to change the amplitude of motion. How do I implement this? int sinusoidal(float a, float b, float c, float ...
0
votes
0answers
14 views

Vehicle using stepper, line trackers and SRCH04

For school I must write a code to make a vehicle follow a line (using a line tracking sensor) and stop if there is an obstacle blocking its way. (Using a hcsr04) Now I have been using the ...
0
votes
0answers
44 views

Synchronizing multiple Arduino

I'm planning to synchronize my 3 Arduino's in sending their data through serial communication to the PC but I don't know how I can synchronize my Arduino's so that they will send data at the same time....
0
votes
2answers
43 views

Timer for how long button is not pressed

I would like to timer for how long a button is not pressed. So actually if(buttonState == LOW 'for two seconds') than execute the code that comes after it. But the problem is while the user is still ...
-1
votes
0answers
14 views

Contents of FIFO buffer of MPU6050/9250 [on hold]

I successfully implemented the teapot visualization in processing by using Jeff Rowberg's MPU6050_DMP6 code, but iI'm not clear about the code. Can anyone please explain the contents of fifoBuffer[0]...
3
votes
2answers
34 views

How to read RPS for fast rotation with status change method in Arduino?

Trying to calculate the coming RPS from rotary encoder. I am trying to get it through checking the status by digitalread. However, I can not get more than 6 rps. Any solution? I will be obliged for ...
0
votes
1answer
53 views

How to run 50 IR LEDs off an Arduino UNO?

Hi I have 50 camera devices I want to program. Luckily the camera devices have a param.xml file I can import. I have already loaded the param.xml file on each of the camera devices however, now I need ...
1
vote
0answers
13 views

GSM shield 2 - Fully erase memory buffer

I would love to get real developers' input regarding the following issue as I've been spinning my head around it for a while now. What I'd like to do My program receives SMS containing simple ...
0
votes
0answers
16 views

getHostByName always failing to find a valid ip

I'm using an arduino Uno and a CC3000 wifi shield. I installed Adafruit library in arduino to get access to Wifi network. I'm currently trying to run some samples that comes with the library. It ...
0
votes
1answer
65 views

How to use this Arduino code to control multiple different LEDs?

I am making an Android-controlled LED system over Bluetooth but I need to use 4 LEDs. I have done Android app but I am not able to figure out this Arduino code. Can some please help me get this done? ...
1
vote
0answers
36 views

Opening and closing a hatch with different switches

I'm new to the whole Arduino thing and I'm not much of a programmer myself so I need some help... The goal is to have 4 buttons which a person who operates it gives out different outputs from the ...
1
vote
1answer
26 views

Arduino ultrasonic sensor to trigger LED when path is blocked

I'm working on a project which has falling objects non stop, I only want to detect when objects block the sensors set trigger area. Any suggestions would be great! #define echoPin 7 // Echo Pin #...
0
votes
1answer
19 views

How to use potentiometer data from slave to master Arduino?

I'm trying to make a game where i can use one Arduino as a controller (the controller is a potentiometer) and the other Arduino sending the signals to the computer. Im trying to figure out ...
0
votes
1answer
21 views

Arduino Uno: how to increase distance of serial communication to PC

Does Arduino Uno's serial communication to PC has the same distance as USB communication? (if I'm not mistaken 5m) If it is, what are the options for me to be able to communicate from Arduino Uno to ...
0
votes
2answers
20 views

Arduino USB Host Shield with joystick

I'm building my own quadcopter and going to use an Arduino for this. An Arduino Micro for the quadcopter and an Arduino UNO for the controller. I want to use an USB host shield with a Logitech Extreme ...
1
vote
2answers
32 views

Getting different results from function. How to retrieve values correctly?

Trying to implement PI controller in function. Already worked for one controller. However, for more than one controller, the results are shifting. Suppose to get same values in the following code. ...
3
votes
0answers
22 views

RF24Mesh master-base node communication delay

I'm trying to build a mesh network using 4 nRF24L01 modules directly connected with Arduino Uno where 1 module is master node and the rest are base nodes. The workflow is exactly as follows I'm ...
0
votes
2answers
35 views

IDE avoiding math operation

I have no idea why this has been happening: byte potenciometro = 0;int redpin=9; void setup() { Serial.begin(9600); } void loop() { int valor=analogRead(potenciometro); delay(50); Serial.println(...
3
votes
3answers
234 views

Why do I get a compiler error when I'm pretty sure I have such method?

Code (I've omitted much of the code, and left just the outline and code probably relating to the error.) SelfDrivingCar.ino #include "JKMain.h" void setup() { JKMain::setup(); } void loop() { ...
0
votes
0answers
35 views

Arducam OV2640 undefined reference to Sha1

I am trying to connect the Arducam OV2640 with the ESP8266-12E module. This is the main file used with the Arduino IDE 1.6 However, compiling generates the following error: libraries\...
0
votes
0answers
30 views

how to change phone number in Software IDE (Arduino) by using Android Application [closed]

My project is about Emergency Help, I need to set emergency number from android application into the coding in Arduino IDE. For now I had tried manually to set and I need to change it from manually to ...
0
votes
3answers
43 views

First Serial.print voltage is wrong, way too low. Ruins average calculation

The first Serial.print voltage reading is so far off it really screws up the moving average calculation. For example, the first reading is like 0.00014981, which is wrong. From the second line on it ...
3
votes
1answer
30 views

wire.h multiple slave addresses

Is it possible to use wire.h on an Arduino Uno to act as a slave for more than one address? For example I'd like it to emulate two different devices, one at I2C address 23 and the other at address 57....
1
vote
2answers
147 views

manual square wave period is off

I'm generating a square wave with my Arduino UNO using the following: #define pin 10 // data pin to control servo // pulse width (in microseconds) int pulsewidth = 2500; // 400 Hz // wave period in ...
1
vote
0answers
20 views

wire.h onReceive only triggering once

I am writing a program to emulate a LCD driver chip (PCF8576) in a piece of equipment where I need to replace an unobtainable LCD display. I have wire.h set up and the code in place to decode chip ...
1
vote
1answer
37 views

How to make 12V flashing LEDs using an Arduino Uno

I have 3 LEDs powered by an Arduino; each LED has its own flash rate. Now I want it to be powered by an external 12V power source and still have the flashing function of the Arduino?
0
votes
2answers
37 views

I would like to add a RGB led strip to my arduino alarm system

I am new to programming and would be grateful for any helpful answer...Thank you I used a ping sensor, a piezo buzzer and an RGB strip. I used the Schematic from Adafruit Learning System.. Here is my ...
0
votes
0answers
16 views

Can't read sms from GSM sim900 although AT command saying OK

I'm using Arduino interfaced with GSM sim900. Typing AT in Serial monitor, it's showing OK; also, when I send message, it's showing the notification and content of the incoming message in the serial ...
0
votes
1answer
18 views

AGPS Data Usage [closed]

I want to use an agps for my arduino Project and was wondering how much data needs to be sent and received and how often so that I can calculate costs.
-5
votes
1answer
32 views

Arduino Skill Stop Push button error

I made a skill stop game from Arduino Uno and a pushbutton.Here is the code: byte led_one=2; byte led_two=3; byte winner_led=4; byte led_four=5; byte led_five=6; byte pushbutton=12; byte score=0; int ...
0
votes
0answers
9 views

Controlling two arduinos with simulink

I want to control 2 arduinos(one uno and one mega) with Simulink Support Package for Arduino as I want to carry out the following exercise. This is required to perform a hardware in loop test in which ...
0
votes
2answers
30 views

Making WiFi hotspot for 3G network sharing controlled by Arduino

I am trying to make a WiFi internet network from 3G using Arduino as access control. I need the Arduino to act as server and control users, consumption, and connection speed. (When users connect to ...
0
votes
1answer
43 views

How much ohm resistance I should put between tp120 base and uno?

I have set up solenoid on of based on soil moisture, The solenoid is powered by 24 volts, so I power solenoid by 24 volt and Arduino uno by stepping down to 6 volt powering through Vin and gnd. I ...
0
votes
2answers
16 views

Custom ISR triggering function/value

Is there a way to write a custom function which would be the mode/reason to trigger an interrupt. I have an analog joystick connected to my arduino analog pin. It reads a value of 689 on one end and 0 ...