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
917 views

Problem with while loops while detecting frequency of a signal

I just started to use the unusual part of Arduino language (avr) like interrupts, accessing registers, etc in Arduino IDE. I wrote a program to calculate the frequency of a digital signal using ...
0
votes
0answers
509 views

Can an RFDuino Implement a BLE Host for a BLE Sensor?

I would like to prototype a bridge from a Bluetooth sensor (client) to the cellular network, using an Arduino to control the communication between the Bluetooth sensor and the internet, via the ...
0
votes
0answers
43 views

Why is a resistor to GND needed for a switch that is open? [duplicate]

I don't understand the books explanation for why a 10k resistor is needed for an open switch to write LOW to a digital pin. I thought no voltage is LOW anyway. Can someone explain in a little more ...
1
vote
0answers
2k views

Controlling multiple LED strips with arduino

I want to control several (undecided) cut strips of these led lights:here. I want to be able to turn the LEDs on and off from the arduino, but I know that the voltage is too high to work with with ...
4
votes
1answer
3k views

Arduino motor shield will only work in one direction

I have this Arduino motor shield which is hooked up with two DC motors. The board is the same as this one from Sparkfun. A PWM output controls the speed of the motor, and a digital out controls the ...
0
votes
3answers
241 views

Debouncing results in no reaction at all

Update: I changed the code to this, but it does not work either. `if ((millis() - lastDebounceTime) > debounceDelay) { if (button) { //DEBOUNCING if (!button_prev && button) { ...
0
votes
1answer
266 views

Error Compiling on raspberry Pi - no error details provided in IDE

I've just cracked out my Franzis Arduino Tutorial Kit (Best Xmas Present EVER!) and I'm already stuck on my second program. I successfully wrote and executed a basic 'blink' program, however when I ...
5
votes
6answers
29k views

How can I run two loops simultaneously on an Arduino Uno?

I'm new to Arduino and I have two devices that I'm trying to control: A RGB LED light strip that can change colors A light sensor that can detect the ambient light level What I'd like to do is have ...
0
votes
1answer
133 views

Which arduino should I start on to learn about it? [closed]

I'm pretty interested in arduino and the things I can learn from it. Being that I'm new into this I wanted to know which model I should get that would be easiest to learn on and why. What does this ...
0
votes
2answers
3k views

Using an Arduino as an input device [duplicate]

I had an idea to create a control panel using an arduino and some buttons. How would I go about making the arduino emulate an input device so that when I press a button connected to the arduino, it ...
5
votes
1answer
2k views

Capture output from external device using Arduino Uno

I was unable to find this question anywhere but I want to use my Arduino Uno to capture the output of a Code 39 signal coming out of a separate device. Currently, my setup is similar to this: I have ...
1
vote
0answers
64 views

Memsic Accelerometer not returning T value

I hooked up a Memsic2125 accelerometer to a Arduino Uno. X and Y values are returning fine, but the T value is returning -4000 every time. // these constants won't change: const int xPin = 2; // ...
2
votes
2answers
7k views

How to attach interrupts to Arduino UNO timers?

I understand there are 3 timers on the Arduino UNO. What specific registers do I need to use to access them? My goal is to use these timers to poll different sensors I am using with a ms period. Are ...
1
vote
2answers
386 views

how to make arduino as mind thought reader?

I'm trying to create arduino base mind reader... And for that I thought that EEG electrode connected to arduino and then the data send to arduino in 01 form .. But I facing problem in how to convert ...
1
vote
0answers
158 views

Sketch not giving feedback as predicted switching from Arduino Uno to Nano

I have a sketch that works just fine on my Arduino Uno board, but somehow mess up, when I try to retrieve data from a Nano Board. I have wired a TCS230 color sensor, to get data about some colours. I ...
0
votes
1answer
233 views

Arduino UNO GPS module

I am thinking about buying a gps module for Arduino UNO. I would like to install it on a self-build RC-car which is also controlled by Arduino. The problem is, I cannot install the gps module on the ...
0
votes
1answer
756 views

Determine difference between 3.3V and 5V shields

How do you determine if an Arduino shield uses 3.3V or 5V on their pins? Previously, I thought all Arduino shields used 5V, since that's what most Arduinos use. However, I've been researching ...
2
votes
2answers
11k views

Photoresistor is not working, is there something wrong in the code?

I am trying to make the photoresistor work in a simple project. The project is as follows: The LED light should light up brighter and brighter as the photoresistor reads less light in the room. The ...
1
vote
1answer
212 views

How to avoid the code interrupting itself?

I have this code, which I am using with a potentiometer to control the speed of a automotive fuel injector. In it, I have specified how long the injector shall stay open by using the delay functions. ...
0
votes
2answers
2k views

Using an Ethernet Shield and a tlc5940 together

I have am using an Arduino Uno R2 and TLC5940 to control a bunch of RGB LEDs. I want to add an Ethernet Shield R3 so that I can control the LEDs over a web-interface. However, the ethernet shield and ...
-1
votes
2answers
3k views

Read all Digital input in arduino once time and sent theme to serial

i need to read all Read all Digital input in arduino once time; example: Serial.write(digitalRead(0),digitalRead(1),...,digitalRead(13)); to receive state of all digital pin in one times from my app ...
0
votes
1answer
823 views

MFRC522 minor problems

I'm working on a small project for a presentation. My goal is to read the UID of multiple Mifare Classic cards and compare it to a hardcoded list for different actions. All is well (the reading and ...
9
votes
4answers
4k views

How to move from arduino to physical prototype

I've been reading a bit about moving from Arduino to PCB and it seems a bit daunting. For now, all I really want to do is take something I've built, and make a few changes so that I can actually ...
5
votes
1answer
341 views

Powering 5V Accesories

I'm using an Uno to control NeoPixels LED strips (60 per metre). These are powered with a 5V DC supply. Now, when using USB to power the Arduino it works lovely. However I want to move the Arduino ...
0
votes
1answer
84 views

Using displays with Arduino Uno

Does anybody know if there is any documentation available online on basic information about using displays with Arduino Uno? I've never used displays before and would very much appreciate some basic ...
0
votes
2answers
620 views

Using PROGMEM to save RAM

I am successful putting and retrieving char array into Arduino flash memory using PROGMEM char arrays. I am building my app using header files with class definition / implementation and would like ...
0
votes
1answer
2k views

4 channel relay module reversed? Or is it my code?

So I am designing a simple project where my Arduino reads analog values from a potentiometer, or rotation sensor, as it is called on EBay, and uses that value to determine how many relays to close. I ...
1
vote
2answers
889 views

Arduino Uno to drive 2 unipolar stepper motors

I need to use two stepper motors to move microscope positioning knobs in the X/Y direction. The stepper motors I have are unipolar and are 6V rated (I think). I know it's possible to drive a unipolar ...
0
votes
1answer
49 views

Is the supply voltage made available anywhere on the Arduino Uno Board?

I need to power an OpAmp based circuit that will be connected to my Arduino Uno input. Since I have a 12V adapter for the Arduino board, I want to draw power from it for this opamp(LM358). Does ...
0
votes
2answers
82 views

How can I tell which pins I will have left available by looking at a shield?

I'm very new to Arduino and came to a point where I'm interested in playing with shields, such as LCDs. For example, I really like the looks of "LCD 1602 with keypad" module, but it seems to be using ...
1
vote
2answers
586 views

Using a web server with Arduino

So I am not new to arduino, however, I am new with web servers. I am working on a project that can control a robotic arm that is at one location and I can be at my house. I know basic HTML, Basic CSS, ...
1
vote
0answers
768 views

Beat Detection with Mic on Arduino [closed]

I'm trying to make a robot dance on several songs using Arduino. I need to understand how to get the rhythm from the songs, something like detecting the beats, calculating the bpm.. I'm not expert but ...
0
votes
1answer
211 views

Did I accidentally short something? My Arduino UNO board does not communicate with the computer anymore

I had my sketch uplaoded and everything was working fine when I tried connecting one of the input pins(pre-configured as digital INPUT) to 12V, just to see if this was being read as a HIGH as well. It ...
1
vote
0answers
3k views

Parsing XML data from Arduino [closed]

I've got an interesting idea to realise using my PC and Arduino, but I'm not sure whether it is possible to realise, so I'm asking for your advice. I'm a novice in programming, so my question may seem ...
1
vote
4answers
4k views

Going from one shift register to two shift registers

I am able to control one shift register with this shift function: void shift (int pin) { shiftOut(ds,shcp,MSBFIRST,pin); digitalWrite(stcp,HIGH); delay(100); digitalWrite(stcp,LOW); ...
2
votes
3answers
251 views

Is arduino starter kit disappearing?

It seems they stop the production of arduino starter kit (official), it's hard to find it on pro website. Is there an other very good starter kit to start ? I mean I would like to try everything on ...
5
votes
1answer
390 views

Arduino PWM malfunctioning

I am controlling 4 motors using the PWM ports on an Arduino Uno (3,9,10,11). For some reason, the motor hooked up to port 11 doesn't move with my current code. I know it's a code issue because I can ...
3
votes
1answer
3k views

Feeble click in relay but it doesn't get activated when connected to Arduino circuit

I have an Arduino uno board and I have a soil moisture sensor connected the digital output pin of the sensor to Arduino input pin connected an output pin of Arduino to the INPUT pin of the relay ...
0
votes
1answer
182 views

Button reading not going off

I made a circuit which in my intentions would allow me to toggle a LED dimming loop. Problem is that once I push the button the first time pushing it a second time doesn't toggle the LED loop off. ...
3
votes
2answers
9k views

Where can I see the output of printf?

I would like to know where I can see the output when I use the command printf. I am programming using the Arduino interface. Update I'll add a few lines of code for better understanding: #include &...
1
vote
1answer
161 views

how to block Arduino code until a certain event?

i am tring to enter a series of numbers using "keypad" to different variables..when simulate the code on proteus it only took the first "getkey()" function and ignored the rest .. SO, How can i block ...
1
vote
0answers
868 views

nRF905 communication with PC

I want to transmit data to my laptop from arduino with nrf905. I found examples with communicating two nrf905 devices but not an arduino and a PC. By the way, the tutorial is here; http://www....
0
votes
1answer
86 views

Sweep with two shift registers

I am working with 8 dual color LED's and 2 shift registers. My connections are in place. But I do not understand how to work with 2 shift registers. So I am trying to make this: turn the first led on,...
0
votes
2answers
866 views

How to delay so that LED stays on a bit longer?

I have a circuit with a shift register which controls 8 LEDs: http://node-ardx.org/exercises/5. In code, I created a function cycle() cycle through each LED one at a time, but this occurs too quickly ...
2
votes
1answer
525 views

Are my arrays stored in sram or in Flash?

I have the following memory allocation: unsigned char g1[]={ 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ....0x00 ,0x00 ,0x00 ,0x00 ,0x00 }; g2[]={ 0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 ,0x00 .......
1
vote
0answers
1k views

Driving stepper motors adafruit motor shield v2

I got an Arduino Uno Rev3 and Adafruits Motor Shield V2. I also got two RepRap stepper motors: Frame size 42 x 42mm - NEMA 17 1.8 degree step angle Length 47mm Holding torque 44 N.cm (4.4kg.cm, 62oz....
1
vote
1answer
5k views

Calculating Angles from MPU6050

I've been playing with a GY521 breakout recently with the MPU6050 chip on it, though i've hit a bit of a problem that I can't quite work out I know when I rotated the board I rotated ~90 degrees ...
0
votes
1answer
126 views

Which IDE should I use to write Pythonic-programs for Arduino

I'm doing my first baby-steps to build tools using Arduino. I'd like to know if there is a way to write python scripts to build programs for Arduino. Most of IDEs I found are non-supported IDEs. Is ...
0
votes
1answer
4k views

Record video with CMOS camera using Arduino

Is it possible to use this with Arduino to record and store videos on memory card? Additionally, if someone has already done it, a tutorial link would be appreciated.
0
votes
2answers
797 views

Shift register on Attiny85 programmed by Arduino

Shift registers need 3 digital pins in order to work (data, clock and latch), but Attiny45/85 chips provides 2 digital and 2 analog pins. Would I use 1 analog pin as digital pin? How?

1
141 142
143
144 145
148