We’re rewarding the question askers & reputations are being recalculated! Read more.

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

Sensing concentration of methane with MQ-4 methane sensor?

I'm on a project to sense any amounts of methane in the home. I have bought the popular MQ-4 methane sensor from SparkFun: https://www.sparkfun.com/products/9404 I've looked online for any sample ...
1
vote
2answers
193 views

cannot convert error with pointers

I write a code to store patterns for LED blinking, but I got this error: led_basics:39: error: cannot convert 'char (*)[17][2]' to 'char*' in initialization led_basics:39: error: cannot convert '...
0
votes
1answer
918 views

arduino suddenly shows “avrdude: ser_open(): can't open device ”\\.\COM3" after last upload

I am using arduino uno to make a sound detector. I uploaded a program, found error in the code that it returns unintended numbers unreasonably big. I also think I used wrong code for the module, but ...
2
votes
1answer
59 views

What are possible issues when moving Arduino to another microcontroller?

When Arduino was conceived AVR was very much the best 8-bit controller available. But we're 10 years on now, and still using the AVR, despite lots of better microcontrollers available, notably ARMs. ...
0
votes
1answer
673 views

Control external device using Java Web Servlet -> Pi -> Arduino -> Device

I'm new to the world of Arduino & PI, so far it's been a fantastic experience but I'm now looking to build something a bit more practical. My plan is for the PI to host a JSP Servlet website. I'...
0
votes
1answer
1k views

Which battery should I use to power arduino+motor shield + two 200 RPM (3.6V/1.5A)motors

I am using two motors ( from old two drill machines - same kind, these are 3.6v motors ), connected to arduino + arduino motor shield seeed studio v2. When I measured the both motors (indvidually) ...
1
vote
0answers
1k views

Blinking LEDs as fast as possible at different rates.

I'm trying to use the Arduino Uno to make a strip of LEDs blink as fast as they can while still blinking at different rates. I am able to get them blinking at different rates but the blinking is very ...
0
votes
2answers
277 views

Multithreading Leds and Joystick

I'm trying to made a program that turn on and turn off leds with an input and send the coordinates of joystick, but, in the loop, the arduino makes one at a time, and i want make this in the same time....
1
vote
0answers
193 views

How do I connect a micro display to an Arduino? [closed]

I have a micro display that I bought for a project and to my knowledge there is no driver(?). Would I need some component to be able to control the LCD? Which would it be? Specifications Datasheet
2
votes
3answers
16k views

Do I need the Motor Shield to drive servo motors?

I was perusing Arduino's list of official shields and noticed the Motor Shield that can be used to drive up to 2 servo motors. Being brand new to Arduino/robotics, I am wondering: do I really need ...
0
votes
4answers
108 views

Arduino: Breadboards and PCBs [duplicate]

I just watched this excellent video tutorial that shows a simple Arduino program that toggles an LED via a pushbutton. Very cool! In the video, the author is using a breadboard for prototyping his ...
0
votes
2answers
98 views

When and where do I have to worry about accounting for sensor “noise”?

I just watched this excellent video tutorial that shows a simple Arduino program that toggles an LED via a pushbutton. Very cool! Being brand new to electronics/robotics, I was shocked that something ...
1
vote
1answer
689 views

Arduino/DuinOS vs Normal C/ARM Programming

I'm trying to understand the difference between programming Arduino hardware (Atel/ARM based) versus 'normal C-based ARM programming'. My understanding is that the Arduino language is cross-compiled ...
0
votes
1answer
185 views

MQTT vs Tinkerkit sensor Shield

I'm working with this http://knolleary.net/arduino-client-for-mqtt/. I'm using Arduino Uno + Ethernet shield + Tinkerkit Shield. But, if i have only Arduino Uno + Ethernet Shield, i can connect my ...
0
votes
2answers
6k views

Transistor for DC motor and 9v

I have this schematic for a DC motor in my arduino, now I want to add 9v battery. But I've seen that people use TIP120 transistor, I have BC548B, can I just put the 9v with that transistor?
2
votes
1answer
5k views

How to convert a String number Into a int value?

I want to convert a string into a int value. in my real code, I receive a string "Slider 255" the number after slider changes from 0 to 255, so I want a int value to be equal to that number. This is a ...
1
vote
1answer
7k views

Interfacing a CCTV camera (AV output) with Arduino Uno

I have to use a camera to take picture in my major project. I want to use this camera, which has AV output. Please tell me how to interface this camera with my Arduino Uno and use the data from camera ...
1
vote
0answers
368 views

The Ethernet Shield Unable to Establish Full Duplex Communication [closed]

I am using Arduino Uno R3 board with Atmega 328p microcontroller along with an ethernet shield for showing tempererature over a network. However i am facing a problem that the FULLD(full duplex for ...
0
votes
1answer
444 views

Arduino serial informations

Is it possible to change serial information of arduinos board ? For example I have an arduino uno with this serial informations : { comName: '/dev/cu.usbmodem1411', manufacturer: '...
0
votes
4answers
1k views

Is it possible to program Arduino UNO with USB/TTL adapter withouth connection Vcc

For some strange reason my Arduino UNO clone board occasionally cause my Mac to reset, when I connect the usb cable. Possibly a power problem in Arduino or the USB hub. Is it possible to program ...
1
vote
1answer
141 views

Powering arduino uno from Car's reverse light?

I am making a reverse sensing alarm system. I am using a HC-SR04, arduino UNo and a piezo buzzer. The programming was a success however i will like this circuit to be powered when the reverse gear is ...
0
votes
1answer
147 views

Not sure if programmer or ATMega is burned

some time ago i tried doing this with my original arduino uno r3. I guess i had to plug the power cables in wrong order(i think it's called reversing polarity) because my arduino stoped working. It ...
14
votes
5answers
4k views

How to connect two Arduino without shields?

I'm planning an Arduino system that consists of several Arduino boards. The maximum distance between the boards is about 50 meters. I want to send basic data between these, like short strings or ...
0
votes
1answer
3k views

Modbus master slave

I need Help in two thing Here. 1)My main project is i have 23 hallsensors with analog output. There are connected to arduino UNO analog pins using 16:1 Mux or 8:1 mux circuit. The currently i can ...
0
votes
1answer
850 views

Serial LED control

Hell0! I run in small problem. I am try to control LED's by serial port.So I am expect to send "1" and two LED's will start to blink or send "0" and only one LED is constantly lighted up. At first I ...
0
votes
2answers
105 views

Problems splitting a string to get authentication and command

Good afternoon, In a nutshell I'm having some difficulty with splitting and returning part of a string. Essentially I'm working on the code for transmitting a password (24 character string) and ...
0
votes
1answer
284 views

LCD Display hangs the computer

I'm trying to connect 16x2 LCD screen to clone Arduino UNO via PF8574T backpack. 4 cables are connected to +5V, GND, SDA and SDL pins. When I tried this I2C scanner code from arduino.cc. It returned ...
1
vote
1answer
789 views

How can I use a 'Global' class object?

I created a class inside the sketch file(not in another file) and init it as object before setup() and loop() as a global object, after I change some parameters inside the object in setup() , I found ...
1
vote
1answer
3k views

How to precisely control servo motor by changing duty cycle?

I developed a PWM using timer1,using arduino uno and digital output, and identified that when I send a wave with duration of 0.6ms in High level, the motor goes to 0º. If I send 2.1ms, it goes to 180º....
5
votes
1answer
506 views

Mechanical requirements for Arduino compatibility

If I want to design an Arduino-compatible board I guess I'll have to use the same outline, and connector positions to fit existing enclosures. (Beats me why they didn't choose a simple rectangular ...
0
votes
1answer
294 views

Turn on led by phone and phone contacts

I would like ask for help. Can you give me an advice how to create (contacts) nubers who can turn on led. #include <GSM.h> #define PINNUMBER "" GSM gsmAccess; GSMVoiceCall vcs; char numtel[20];...
5
votes
4answers
9k views

Timer2 does not work as it should

I am currently playing with Arduino timers (on UNO currently) and I am building a library that has a function that must be called every millisecond. There is plenty of code samples on Internet so I ...
1
vote
1answer
707 views

XBEE coordinator WITH or WITHOUT Arduino?

I am building a wireless system that has got an Arduino with a XBEE as the 'end user' and I need to acquire data/control that Arduino from a PC graphical interface. As far as I'm aware there are two ...
2
votes
3answers
1k views

Arduino error in code

i'm making a project and i came across the follwing error. Whan i'm trying to compile and upload the code i'm getting those errors: ShiftRegisterTest1.ino:In function 'int* return_pins(int)' displays....
0
votes
1answer
538 views

Stabilizing output values of conductive sheet(Velostat) connected to analog pin A0 of Arduino

I am trying to do some experiments with conductive sheet (velostat). When I apply a force on the sheet it should change the value of resistance(output). I taking the output of the sheet by connecting ...
1
vote
3answers
175 views

How to control Arduino robot wirelessly?

I have a few potentiometers connected to analog inputs in an Arduino UNO. These are then processed and then the servo motors start moving to move the bot. I would like to keep the motors with the uno ...
5
votes
1answer
764 views

Simulating touchscreen input using PWM

I'm porting a project from a teensy microcontroller to the arduino. Essentially the project uses a microcontroller to simulate touchscreen input for the Nintendo 3DS console. I am doing this by ...
1
vote
1answer
591 views

Connecting two pressure sensors with one uno

I'm trying to connect two BMP180s to an arduino uno by using a multiplexer. Here is the code that a guy has written before: I imported SFE_BMP180 library but didn't do anything with the "typedef.h" ...
1
vote
2answers
802 views

Arduino Watchdog Timer

I want to work with interrupts and heard that the watchdog timer is effective way to deal with them. I haven't been able to find a good tutorial on them though and was wondering if someone could head ...
0
votes
2answers
133 views

Isolating IR receiver from disruption?

I'm using a simple IR receiver connected to the Arduino through A0 analog pin. The problem is that I want to stabilize the output of IR receiver when it's not receiving an IR signal from a specific IR ...
1
vote
1answer
251 views

Debugging modified BlinkWithoutDelay

I have some level of programming background, however never with Arduino's. I've just started hacking at the examples - I'm not even sure what language I'm currently writing. I presume it's C++. ...
0
votes
1answer
392 views

GSM arduino to webservice not working

I have setup a arduino with a SIM300 based GSM board. I have Tx of Arduino connected to the Rx of GSM board Rx of Arduino connected to the Tx of GSM board Gn of Arduino connected to the ...
0
votes
2answers
1k views

Using the ATMega328, from an Arduino UNO in a Standalone configuration, and bootloader - I am really lost

I am really despaired. I have spent a full day to understand this, and it seems that I still don't. I have an Arduino UNO, with an ATMega328, for which I wrote a great piece of code. Later, I have ...
0
votes
1answer
97 views

Wiring Issues with Sparkfun Oled

I'm attempting to hook up an arduino uno with a Sparkfun Oled. I downloaded the example program and made these changes: #define PIN_RESET 3 // Connect RST to pin 3 #define PIN_DC 4 // Connect DC ...
7
votes
1answer
283 views

What is the physical location of the U1A symbol on Arduino Uno?

I'm trying to find an easy way to allow an Arduino Uno to determine if it's being powered from USB or the DC barrel jack. In this thread, one user recommends wiring the output of the on-board ...
0
votes
1answer
9k views

ttyACM0 no such file or directory On Ubunutu 14.04

I have an Arduino Uno which communicated with the computer (Ubunutu 14.04) fine till 6 days ago (I assume some software update is to blame). Now when trying to upload I get processing.app....
2
votes
1answer
407 views

Line Follow Vehicle

I know this is very common project and it's already been done, however, most of the guides don't have a clear instruction, and being this inexperienced, I struggle to understand exactly what's going ...
0
votes
1answer
323 views

Wi-Fi Module communication?

I bought a Arduino Wi-Fi Module it does not have any manual or catalog my project is to turn on/off a motor wireless it is working grate for the serial/usb cable but i couldn't make it work for ...
1
vote
0answers
119 views

Ken Sherriff Arduino Version Tv-Be-Gone

I am trying to make Ken Sherriff's version of the TV-Be-Gone with the Arduino using the updated v1.2 software. He uses this setup: His Setup My Setup I used the Arduino Nano with same MCU (Atmel ...
0
votes
3answers
172 views

trying to delay between sequences

I am trying to build a set of four stars using an Arduino, potentiometer and a four channel relay to control how fast it speeds across the stars. My question is how can I delay the process, say for 20 ...