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

How to test Arduino board?

A little history: I have two Arduino Uno and I couldn't program them by IDE, I got these errors: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 2 of 10: not in ...
1
vote
0answers
175 views

Arduino Mini Pro 3.3 V Issue with Bluetooth Mate

I have an Arduino Mini Pro 3.3 V powered from a coin cell(3.6 V, CR2450) and connected to Bluetooth Mate Gold. I have checked the connections and they are fine. I can also connect to the bluetooth ...
0
votes
4answers
8k views

How to tell Arduino Uno that I pressed or released a key on PC keyboard over serial?

I want to implement a simple musical keyboard with Arduino using tone() and noTone() functions, etc. The desired behavior is: While PC and Arduino are connected via USB/Serial... ...when I press a ...
0
votes
1answer
156 views

is any windows application available for accelerometer based computer mouse

I want to make an AIR mouse using Arduino and accelerometer, for this i used USB to TTL converter i have done everything successfully but can anyone tell me how use it in computer. I mean i don't know ...
1
vote
0answers
262 views

CH340: right endpoint?

I'm working on implementing CH340 drivers used by cheap Arduino clones on Android (Linux). What endpoints should be used as read endpoint since two endpoints have IN flag - 0x81 and 0x82? http://...
1
vote
1answer
6k views

Implementing DES or AES Encryption with DateTime Synchronization on Uno

We are trying to implement AES or DES encryption using an Arduino Uno. We have a keypad module attached that will be used to input integers. A String should be generated based on the entered data and ...
4
votes
1answer
345 views

How does one design for the power on transient conditions?

Following on from the question Reset an Arduino UNO by an command (software) and the excellent answer provided by mpflaga, the comment addressing option (1) suggests that there are design ...
2
votes
4answers
274 views

Blutooth shield LED control

I am trying to control a led ON/OFF using Arduino UNO and a Bluetooth shield I have this which is based on hc-05. The tutorials I found about hc-05 are not working for me. I have the hc-05 embedded ...
0
votes
1answer
4k views

Serial.println Sensor Value and text in one line

How do I put the sensor value and text on the one line in the serial monitor. I just want Pot Value 30 to show in the serial console. What am I doing wrong? Serial.println("POT value ")(sensorValue);...
0
votes
1answer
4k views

Controlling DC motor speed?

I'm trying to control a DC motor through L293D motor controller const int controlPin2 = 4; // connected to pin 2 on the H-bridge const int enablePin = 3; // connected to pin 1 on the H-bridge ...
0
votes
1answer
1k views

How to transfer data from arduino to android via bluetooth? [closed]

I am having arduino uno board connected with bluetooth HC-05 module. I needed to transfer the data from arduino to android mobile via bluetooth. Is it possible to transfer the data from arduino to ...
0
votes
2answers
1k views

What is the best way to measure PWM signals ( pulseIn ) with the Arduino via a Raspberry Pi?

I connected my Arduino Uno to my raspberry via USB serial. I'm able to read out both digital and analog pins of my Arduino using the Python nanpy library (v.0.8). However, I can't find support for the ...
1
vote
4answers
1k views

Using Arduino to learn AVR programming

I want to learn AVR C programming instead of arduino programming. I have an arduino UNO board and few Atmega328 chips that I bought, and Atmel studio for programming. Can I use Arduino Uno board as ...
0
votes
3answers
135 views

Need help shrinking a code [closed]

I'am new to Arduino and c++ i get his code from the INTERNET void setup() { Serial.begin(57600); pinMode(13, OUTPUT); } int f = 0, pos; void loop() { boolean has_request = false; ...
0
votes
1answer
212 views

What changes I have to take care while coding from Atmel Studio instead of Arduino IDE?

-Are there any changes in Bootloader? -Why is the coding different for same chip in different softwares? -How to upload the program from Atmel Studio?
1
vote
1answer
936 views

How come people connect their arduinos to buzzers without any coil protection?

If you connect your arduino to a motor you use this schematic: However, when it comes to buzzers, which also have a coil, no one protects the circuit: What the hell is going on? Are these just ...
1
vote
2answers
1k views

Modbus Protocol Compile Error

I have Code for Mod bus Library as below. I have Gone through lots of forum. How to assign device ID, slave address, length using below library function: #include <SimpleModbusSlave.h> #define ...
0
votes
2answers
186 views

Sending a double message for action to occur

I'm currently designing a system for my GCSE coursework. For the coursework, I am making a bollard system, controlled by the internet / traffic lights. I've been experimenting with an Arduino Uno and ...
2
votes
2answers
10k views

How to use Timer1 (AT328Mega) to measure the time between rising edges of two input signals

I'd like to use Timer1 to measure the time between rising edges of two input signals. Specifically, use Tn to start the timer counter and IPCn to latch the elapsed time since the rising edge of the ...
0
votes
1answer
42 views

0 value integer does not enter If

I'm sure this is a very basic coding mistake... I'm picking up a reading from A0. If the value is 0, I want the value of the serial to be written to the Serial Monitor. I also want it only to write ...
-1
votes
1answer
709 views

Is is possible to hook up an SD card and a GSM/GSRM module?

Is it possible to hook up a GSM/GSRM module AND an SD card at the same time to an Arduino Uno, or any Arduino? I want to build a cellphone to read off the buttons that are being dialed into it for a ...
1
vote
2answers
514 views

Array values won't tokenize

char *p = I2CinBuffer; // array contains "string" "," "string" but char *p = I2CinBuffer; // The data to be parsed e.g. 6,100 char *str; // Temp store for each data chunk int count = 0; ...
0
votes
1answer
189 views

DIY Watering - Required components

I am looking as a first project after some simple project kits, to make a watering system for my indoor plants. I have seen a few projects on instructables, so I went to look for components. I am not ...
1
vote
0answers
1k views

How to reverse BLDC motor using programming arduino?

I bought ESC from here but it rotates motor in one direction only. Is there any program which will control direction of rotation clockwise or anticlockwise with same wire configuration.
1
vote
1answer
291 views

Arduino sketch behaves differently depending on version of Arduino IDE

I am assisting some friends on an Arduino Uno project, and we've noticed that when using some earlier versions of the Arduino IDE (In this case 1.0.5), the sketch behaves as desired. However, when ...
0
votes
1answer
1k views

LED too dim when connected to digital output pin

I am making an attempt to put LED headlights in an RC car I am building. I want the headlights to turn on when I click circle on a PlayStation 4 Dual Shock controller. I currently have it working ...
2
votes
1answer
778 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
120 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
201 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
534 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
847 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
26k 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
298 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
416 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
951 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 ...

1
131 132
133
134 135
145