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

Arduino Controlling through C#

i would like to measure some signals from arduino and send it to a pc using USART and display the results in a c# winform application. Does anyone have such a project example ? Besides, i want to send ...
8
votes
5answers
15k views

Reasons why it is not OK to connect a relay directly from an Arduino digital pin

After looking into various schematics on controlling a relay via an Arduino, I have noticed that, most of the time, transistors are used to switch the separate supply into the relay coil rather than ...
1
vote
1answer
729 views

A whole basic game project Arduino

Firstly, I know that I have already posted this. I do not think anyone here is stupid so: The game is: a power source connected to 6 buttons connected to 6 LEDs. you press them all in the randomly ...
1
vote
1answer
211 views

Using digital weighing scales with INA125p

Complete electronics beginner here. I'm attempting to build a weighing scale with an Arduino. I'm attempting to follow this tutorial, with the shield that they use. I've arranged my load cells on ...
0
votes
2answers
567 views

What is the best Arduino board for a Quadcopter with camera and Wifi? [closed]

I need to design a Quadcopter that contains a camera , ultrasonic sensors and Wifi connection to broadcast images in order to do image processing on a computer
0
votes
1answer
2k views

Arduino WIFI compiler error

Just bought an ESP8266 module to try it using my arduino uno R3. I have connected my WIFI module correctly, anyways evenb if i disconnect it, the error occur. While trying to upload the WIFI (connect ...
0
votes
2answers
5k views

WebCam Face detection and tracking tutorial with Arduino Uno R3 and OpenCV 3.0 RC1 in Ubuntu 14.04

I try to make this Arduino Open CV tutorial for webcams. OpenCV 3.0 RC1 is compiled and installed. I also use Code::Blocks 13.12 as IDE. I am a newbie what comes to OpenCV and I do not know too much ...
0
votes
1answer
528 views

Powering Arduino with 110v and controlling relay

I've found a lot of tutorials about how to use an Arduino to control power supplies to lamps and things like that using a relay. However, I also need to power the Arduino with the same power that is ...
0
votes
2answers
189 views

LED cube and 200 mA limitation

I'm new to electronics and have been getting rather into my Arduino. But I don't just like following an instructable to do something. I like to know the math behind it and how it works inside. Now ...
1
vote
0answers
32 views

Loop completion and resetting [duplicate]

Alright, so this code is for a game that is a power source connected to 6 buttons at ports 1, 2, 9, 11, 12, and 13. These are consequently supposed to light up 6 LEDs, each connected to 1. If you ...
0
votes
2answers
1k views

Read Arduino code generated by Simulink

I am trying to do a Hardware-in-the-loop (HIL) system with Arduino and Simulink but the driver of my motor (Pololu VNH5019) works at 20kHz and simulink PWM block only supports 490Hz. I would like to ...
0
votes
1answer
69 views

Error while compiling

I made a code which can send the message to the entered phone number while it receieves a specific message or when the push button is pressed. but it is showing the error that 'smsReceivingFunction' ...
0
votes
1answer
106 views

Issue with leOS2 for one-time tasks

I'm trying to use the last version of leOS2 scheduler from Leonardo Miliani ( https://github.com/leomil72/leOS2 ) but I have a strange behavior with a very simplistic ONETIME task. Platform : Arduino ...
0
votes
1answer
460 views

Arduino IDE says fcould not convert 'pinMode(buttons[((inti)], 0u)' from 'void' to 'bool'. How do I fix

Alright, so this code is for a game that is a power source connected to 6 buttons at ports 1, 2, 9, 11, 12, and 13. These are consequently supposed to light up 6 LEDs, each connected to 1. If you ...
0
votes
2answers
734 views

How to Store the Value of A Sr04 Ultrasonic distance sensor (ping)?

I am using a Sr04 Ultrasonic distance sensor with Uno clone for making a Alarm. The basic idea behind this project is that In Setup, Read the distance And store it in a varibale as Threshold. And in ...
0
votes
1answer
5k views

Read sensor and convert reading to const char*

I'm working on a home automation project using Arduino and MQTT. I've found a problem and my limited programming knowledge find a way to solve it. I can send text trough MQTT normally, using client....
0
votes
1answer
95 views

How to read 6 RC remote channels using Attachinterupt for every channel [duplicate]

How can i use the attach interupt command and read rc channels in background. I am in doubt that attach interupt is only applied to 2 pins just and cant be used to get data from other pins.
2
votes
3answers
861 views

Why does the PIN 13 LED of Uno R3 blink every time I upload some code?

I was driving a relay from Arduino Uno R3 Pin 13. I observed that every time I upload some code the led on the board designating pin 13 would blink. I'm curious why this is so. I understand that the ...
0
votes
1answer
3k views

SMD Voltage Regulator 662k very hot, how to repair it?

I think I made a mistake. Now, the 662k on my Arduino Uno very hot about 90°C. I test it, it can be programmed and can run blink program normally. There is a switch for voltage choose. Now, run in 3....
0
votes
1answer
165 views

Problem in receieving message

I'm working on a project in which when I press reset button the arduino should send longitudes and latitudes to my phone. I'm a beginner and tried to join two codes, first code can send the message ...
0
votes
0answers
105 views

Arduino Processing client fails to upload file to PHP server

Background I want pressure sensors (they are working) to trigger the built-in camera and take a picture when cat goes to bed, upload the pic and email me so I can go check out the real-time image on ...
2
votes
0answers
6k views

Sending AT commands to a gprs shield using serial port

I have a GPRS shield connected to an arduino uno board, i want to use the shield to send sms and do phone calls, from a C# Wpf application, the arduino is connected to the application using the serial ...
0
votes
1answer
56 views

Ping sensor with three or four pins?

I bought a Ping Ultrasonic Range Finder. It has four pins that you connect to the Arduino. I see in Internet that they have three pins. What does represent each pin and where to connect it to? I have ...
0
votes
1answer
198 views

AVR+Arduino ADC problem

I have connected a circuit to analog pin 0 in the Arduino.I have this code ,which I understand partially(online resources).The problem is that it prints nothing neither on Tera Term nor on Cool Term ....
1
vote
2answers
49 views

How to apply a programme to all values in a list simultaneously

I'm attempting to turn on a set of LED's one at a time and then switch them all off at the same time, I am stuck however on turning them off at the same time. That is my code: int ledpins[] = {2,3,...
1
vote
1answer
5k views

How to connect Arduino device to Linux?

I wrote Arduino sketch and it works. It waits for a command and answers text on response. Simultaneously, I can't get any response with command line tools. For example, I have the following code to ...
1
vote
1answer
399 views

Can i run brushless ESC from any digital pin of arduino

{assume arming is done} Can i connect the brushless ESC to any digital pin and give writemicroseconds() to it? Will this work. because i have connected my 4 ESC's to "~" pins. so i thinks that other ...
0
votes
1answer
435 views

Why does my analogRead work on Teensy but not Arduino Uno?

I have successfully made a voltage measurement circuit on my Teensy 3.1 that reads a voltage coming out of digital pin 0 set high and coming back into an analog pin A0 to read voltage. Basically: ...
1
vote
2answers
119 views

How can program/arduino restarted by IDE?

I wrote my custom sketch, where I am printing some greeting text inside setup() method. I found, that each time I am restarting IDE, and opening serial monitor, a greeting text is printed there again,...
0
votes
1answer
107 views

Can't figure out how to send Motor Values over Bluetooth, Arduino Bluetooth-controller robot

I was trying to make an Arduino Robot that is Bluetooth controlled but I've some problems! I can't figure out how to parse strings in Arduino like c++/java/python! I tried this, If the first letter ...
0
votes
1answer
550 views

Driving multiple LED arrays with shift registers

The project I'm building requires multiple LED arrays. I'm going to wire these LEDs in parallel and then connect the arrays to individual pins on a shift register. In addition to the LEDs running in ...
1
vote
1answer
144 views

Arduino snake on 5110 screen - some help needed

I'm trying to make a snake game using the u8g lib. But for now, only the second body part of the snake follows the head, where I want the whole body to follow the snake's head and I don't understand ...
0
votes
1answer
568 views

Arduino Interface with Serial device and LCD display

I want to connect my Arduino UNO to a serial device that once powered displays signature numbers. I want to then display those numbers on an LCD display. I have my 16x2 LCD wired correctly and it ...
1
vote
3answers
3k views

Alternative to delay function

I am trying to make a workaround for the delay function. I am trying to use the function in the Analog Write Mega example, by replacing delay with the function i made. However, whenever i use my ...
2
votes
2answers
1k views

Can I use this cheap GPS module with arduino

For my project I need a GPS module, it should be cheap and I should be able to use it with arduino, after some search I got a product on ebay, I'm a 16 year old school boy and I didn't know that it ...
1
vote
1answer
55 views

How is LED powered when PIN 2 is disconnected?

Using the Arduino tutorial "Button", I have noticed that if I totally disconnect Pin2 from the circuit, the LED comes on dimly. I am trying to understand HOW this happens. Is it simply due to being ...
0
votes
2answers
205 views

What is the relationship between the gain on the receiver and the delay time

I was conducting some research on wireless communication between a simple transmitter and receiver module using an Arduino. Now, I tested the channel accuracy and i received 14% error for a delay of ...
1
vote
4answers
207 views

A knob that can be turned by hand, have the position read, and turned by software to another position?

I'd like to be able to change variables on the Arduino by adjusting a set of knobs. When I get to a desirable setting I'd like to be able to save those settings on the Arduino... and then I'd like to ...
2
votes
2answers
4k views

MPU-9250 : How to convert pitch (+90/-90) to 360 degree?

I'm using Arduino Uno with MPU-9250 to find roll, pitch and yaw. Everything works fine but I want to covert pitch from (+90/-90) to 360 degree. I'm using this code: vec.setX(atan2(2.0 * (m_data[2] ...
0
votes
1answer
452 views

Can't upload my sketch from arduino IDE

I am using arduino uno and window7 64bit.I can't upload my program to arduino uno.When I upload it the warning message is show me.The warning message is"WARNING:Category 'USB' in library keyboard and ...
-3
votes
2answers
2k views

How do you make the arduino go forward,backward and stop using Infrared? [closed]

Please give me a code and diagram use makeblock i.r sensor V2.1 and makeblock remote. It should be connected to a d.c motor that works with a h-bridge.It also has to be a dual motor which combines ...
1
vote
1answer
195 views

Help understanding code to build circuit for plant reader

I'm working a design project that measures the tiny changes of conductivity in a plant. (To visualize how a plant reacts to its environment) I'm working with Arduino to realize that. Two wires are ...
1
vote
1answer
352 views

Upload Assembly to AVR on a breadboard using Arduino as ISP

I try to learn assembly and use an arduino uno R3 to act as a programmer. i have build a standalone circuit with an atmega328p, can upload usual sketches (written in c) and have also sucessfully ...
-3
votes
1answer
100 views

How do you write a randomizer, like, after a sequence of events occurs? [closed]

favorite I wrote a code for an arduino. It functions like this: you press a sequence of buttons, and then the lights flash three times, and then it's supposed to reset and randomize the order. My ...
1
vote
2answers
111 views

Beginner here. Which arduino revision should i buy?

I have no idea what difference is there between the revisions and how it affects me. I have a pdf and this pic was in there: My questions which arduino revision is this? Does it matter which ...
0
votes
2answers
3k views

Wrong calculation UNO

I've a joystick and a servo connected to my UNO, but for some reason my calculations keep on being wrong? I'm trying to calculate how the rotation should be of my servo (Tower Pro 9g, max value of 180 ...
0
votes
1answer
81 views

How can I do this sentence show me in arduino [closed]

How can I do this sentence show me in arduino."WARNING: Category 'USB' in library Mouse/keyboard is not valid.Setting to 'Uncategorized'
0
votes
1answer
1k views

Arduino RBBB - Device not accepting address

I recently purchases and make a Arduino RBBB with a BUB II from Modern Device. I ordered the package found HERE. I built everything according to the instructions, but when I connect it to my laptop (...
0
votes
2answers
1k views

Servos don't move

I made simple code for a robotic arm, but the servos don't seem to be reacting at all. I made debug code before all the if statements, and those aren't working. I made sure my wiring was good and it ...
0
votes
2answers
138 views

How to find the deferenced value of a transmit Port Register?

So I am working with the SoftwareSerial library. I'm looking at the write function and I see a *reg value being manipulate. I want to find the value of *reg so I traced the value by stepping into each ...

1 121 122 123 124 125 140