Questions tagged [arduino-uno]
The Arduino Uno is the most common of the Arduino boards. It is based on the ATmega328P microcontroller.
8,104
questions
2
votes
2
answers
670
views
code to force a gentle servo power up
So I am new to the board and looking for a source to answer an Arduino servo project's rough power up. The project uses a pair of servos operating together to swing a small door. I have been working ...
6
votes
1
answer
15k
views
Streaming audio from PC to Arduino over WiFi
Say I wanted to, purely hypothetically, set up a pirate radio station by connecting an Arduino to a WiFi network away from home, streaming music to the Arduino, decoding it, and broadcasting it with ...
1
vote
1
answer
606
views
Arduino (Or Raspberry Pi) As HID Device [duplicate]
I have an Arduino Uno and A Raspberry Pi B+. I was wandering how I could use either as a Programbel HID Device (EX: https://srlabs.de/badusb/). The Reason I ask under the arduino section is I want to ...
0
votes
1
answer
80
views
Regarding the output voltage and current in arduino
This is basically an off-shoot from https://arduino.stackexchange.com/questions/20569/unexpected-output-pin-behavior-was-relay-on-off-doesnt-loop. It's the same schematics and so on, however, I'm now ...
0
votes
1
answer
2k
views
Ethernet shield or Wifi sheild - Arduino?
To control some LEDs through internet using Arduino UNO, which type of connection is better ? Ethernet or Wifi? (Later, I may connect some relays instead of LEDs, and control (turn on and off) some ...
0
votes
1
answer
275
views
PFC8574 4x4 keypad: correct wiring?
I bought a few PFC8574 and 4x4 keypads for a small project. I'm unclear on the correct wiring of the keypad to the PFC8574.
On the Arduino Playground's site, there are pull-up resistors for each ...
1
vote
1
answer
11k
views
Trying to send data to the server and AT+CIPSEND not working correctly
Sending data to the server(thingspeak.com/184.106.153.14) with AT commands on serial monitor works fine but whenever i upload the sketch ,the following always return false if(Serial.find( ">" ) ). ...
2
votes
0
answers
104
views
How to get power for a nexus 7 while reading serial data from an arduino over usb?
Does anyone know how to simultaneously power a Nexus 7 tablet while simultaneously reading serial data from an arduino over USB? I have had quite some trouble with this and have attempted multiple ...
2
votes
3
answers
2k
views
Proper way to run functions in loop
I am having a problem getting my functions to run properly from the loop.
I am building a model railroad crossing gate and need to run the 4 processes once the sensor signals the train entering the ...
1
vote
2
answers
2k
views
Ultrasonic Range Sensor won't print distance in Serial Monitor
I'm using the red Ultrasonic Range Sensor with
Sig -> Digital Pin 4
VCC -> 5V
GND -> GND
The code uploads fine and i can hear the sensor clicking away, but for some reason it won't print the ...
0
votes
1
answer
121
views
ATmega328p simple shortcircuit button
I am trying to get a simple button (GPIO shortcircuit) to work. I have chosen Pin D0 as input and Pin D7 as output. It works fine in an Arduino sketch but I can't get it to run in pure C. What am I ...
0
votes
2
answers
443
views
Start program on PC using Arduino
I want to create arduino sketch that start program on my computer (i.e., browser) when I push button on Arduino itself.
Is it possible to make it using Arduino uno? I already know how to make a ...
0
votes
1
answer
2k
views
MQ135 Air Quality Sensor Signal Amplifier needed? Higher Quality Sensor?
I am trying to strengthen the signal from my MQ135 air quality sensor so it can detect aerosols from 3 feet away, as, currently as it stands the resolution is pathetic, it only blips from 0.21 to 0.58 ...
0
votes
1
answer
95
views
Is Gsm antenna effect on microcontroller working?
in my embedded system I used patch antenna and Atmega 328 microcontroller,but somehow it causes the abrupt function of a microcontroller or reset. how can it be solved?
0
votes
1
answer
125
views
Is this bluetooth setup good?
I am trying to do this tutorial http://www.instructables.com/id/Chappie-Self-Balancing-Robot/ on building a self-balancing robot with uno. However, I bothered by the Bluetooth wiring. I've done ...
0
votes
2
answers
4k
views
Can't make my stepper motor run clockwise and counterclockwise with AccelStepper Library
I'm relatively new to arduino thus need your help to figure out why my stepper motor doesn't rotate clockwise and counterclockwise. All I could do was to make it rotate only in one direction.
Here is ...
1
vote
1
answer
292
views
How to reduce current from a AC TO DC power supply for arduino use
I have a AC to DC converter that was originally used for recharging the PSP, I stripped the 2 wires of the output and was wanting to use it for my arduino instead of using a 9V battery, it's output is ...
0
votes
1
answer
784
views
Use object of LiquidCrystal class within another class
I am quite new to C++ and hope that I don't bore you too much with my question.
I want to use an object of LiquidCrystal Class in another class called "Display_ManagerClass". I followed the ...
0
votes
3
answers
1k
views
Are there any advantages to Wifi shields as opposed to a Yun?
I have an Arduino Uno and I have a remote sensing project for which I need Wifi connectivity. After doing research, I've found that I have 2 options:
Buy a WiFi shield for my existing Uno
Buy an ...
3
votes
2
answers
2k
views
Where can I find a hardware manual (or documentation) for Arduino Uno & ATMega328P?
Where can I find a hardware manual (documentation or a book) for Arduino board?
As far as I know, all hardware details are dispersed (or scatter) in different tutorials.
0
votes
1
answer
271
views
voltage output at digital pins vs. load
I am trying to convert the signal from digital pin 2 on my Uno to 3.3V. I set up a voltage divider with 3 x 1000 ohm resistors. When connected to ground and 5V the divider circuit generates 3.3V ...
3
votes
1
answer
206
views
OLED with arduino?
I recently bought a 0.96" Serial OLED Screen. I am not very experienced with this. I'm trying to display some text with the Arduino Uno. I installed the adafruit SSD1306 and GFX libraries but no luck. ...
2
votes
1
answer
2k
views
MQ4 gas sensor is not working with Arduino UNO
I am trying to detect LPG leakage by using MQ4 gas sensor.
I have made this circuit
My Arduino code is
int sensorValue;
void setup()
{
Serial.begin(9600); // sets the serial port to 9600
}
...
2
votes
3
answers
307
views
Integer goes garbage after iteration. struct pointer manipulation messed up other variables in memory
I'm writing a library for Charlieplexed LED display (trying to write a common one actually). The library is working quite fine. In my arduino sketch, I'm using an integer to keep track of the LED, ...
1
vote
1
answer
552
views
Why is my LED blinking?
I have this simple push button schematic:
The idea is that the LED is on as long as the button stays pushed, with the switch closed.
The code is below:
int ledPin=10;
int switchPin=5;
void setup()
{...
0
votes
1
answer
3k
views
Two or More Arduinos Handshaking
research would show that there are numerous ways for two arduinos to talk to one another. But i was looking for a 'basic robust protocol' (..it doesn't sound basic ....I know!), to allow for two ...
0
votes
1
answer
145
views
Arduino Uno Constantly Resets with WiFi and 4 Relay Module
I am using an Arduino Uno with a 4 relay module (found here: http://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTEN3TM?ie=UTF8&psc=1&redirect=true&ref_=...
5
votes
1
answer
1k
views
Arduino on breadboard, and then soldered using a board made on Eagle but won't work
So I'm looking to create an arduino clone to mount on one of my robots. I started off making the arduino on a breadboard, using the instructions found on Arduino's own website and I succeeded. It ...
2
votes
0
answers
151
views
Getting NaN error in Processing when Xbee is used and trying to create a popup window.
I am trying to get data from D6T Omron thermal sensor. It works fine with both Arduino and Processing when I connect it to pc directly. However, it seems to always cannot read my last data in my data ...
1
vote
1
answer
363
views
Funduino Uno with 5V 1A power supply?
Can I use a "Funduino Uno" arduino with power from a power bank with DC 5V 1A output?
0
votes
1
answer
531
views
Sampling Rate of Arduino Uno
It might be a stupid question but, I am currently using Arduino Uno with the 16MHz processor, what is maximum sampling rate of data available to me if I want to read data of a sensors such as ...
0
votes
1
answer
529
views
arduino quadcopter freezing while reading MPU6050/RC Receiver
I am trying to build an Arduino Flight controller. I have an MPU6050 (Gyroscope/Accelerometer) on board that is helping me configure my stabilization software. I also have my ESC's, and receiver ...
2
votes
2
answers
2k
views
SDA/SCL pins Arduino Uno
I am trying to figure if SDA and SCL pins from Arduino Uno is a TTL or a CMOS technology. I am not able to find this info anywhere but regarding it is a I2C protocol it does make sense to be a TTL ...
0
votes
1
answer
255
views
What are some "must-have" sensors or shields for an Arduino robot or motor?
I am starting to learn Arduino and wanna make some projects.which components will I have to buy?please help me.
1
vote
1
answer
37
views
What is the necessity of “Prototyping Shield” for an arduino UNO R3? [duplicate]
I just want to learn arduino and make some small projects.But in beginner starter kit there's a part named Prototyping Shield .Is it necessary or will it help me?
3
votes
2
answers
12k
views
NEO 6M GPS speed
I am doing a project using a NEO 6M GPS with my Arduino LilyPad. I programmed it already, and it's working well except of the speed. I get stuck on fixing this. I wonder why the value is never getting ...
0
votes
2
answers
137
views
What is the necessity of "Prototyping Shield" for an arduino UNO R3?
I just want to learn Arduino and make some small projects. But in the beginner starter kit there's a part named Prototyping Shield. Is it necessary or will it help me?
0
votes
2
answers
1k
views
Project 2: Arduino controlled spaceship interface
The circuit diagram attached shows that the switch is open. Yet, the LED connected to pin 3 of the arduino board lights up.
I don't understand this - the circuit is open, so why should pin 3 light ...
0
votes
1
answer
75
views
Beat 1 LED light is always on - should turn off
/**************************************/
const int lowestPin = 1;//the lowest one attach to
const int speaker = 13;
int ts = 4;//how many beats you want
int count = 1;
const int keyPin = 11;
const int ...
4
votes
2
answers
711
views
Using Arduino and XBee at the same time
I have 2 Arduino Unos, 2 XBees and 2 Wireless Proto Shields. The first setup has a humidity/temperature sensor (SHT21P) and it writes data to serial and it works (I've tested it).
Now, the other ...
1
vote
1
answer
74
views
Why does this code show me a lot of space?
I want to make a 4hz reading of GSR and temperature, in the following format for every second:
697,20.8744
696,20.86521
695,20.8653
699,20.8777
The print, in python, would be print(GSR+","+Temp)
The ...
5
votes
2
answers
2k
views
Which tft works on both Arduino Uno and Raspberry pi
Ideally I'd like a 2.8 inch and it to be touch screen.
But most of all I'd rather it work on both boards without much hassle.
-1
votes
1
answer
1k
views
radio wave generation using arduino
const byte ANTENNA = 9;
void setup()
{
// set up Timer 1
TCCR1A = bit (COM1A0); // toggle OC1A on Compare Match
TCCR1B = bit (WGM12) | bit (CS10); // CTC, no prescaler
OCR1A = 9; ...
1
vote
1
answer
378
views
No sketches will upload to Arduino Uno board; says "access denied"
I'm using an Arduino Uno board with an HP computer running Windows 10 and IDE version 1.6.8. Arduino was working fine for me until a few days ago, when (and I suspect this is the root of the problem) ...
0
votes
1
answer
36
views
Join Serial Data Seperated by Newlines?
I have two Arduinos connected through Bluetooth. One sends a string of data similar to 506:507:1\r\n. The data can vary similar to 0:1000:0\r\n. I already have functions to break that string down into ...
2
votes
3
answers
184
views
Arduino UNO doesn't produce expected square waveform
I want to produce quick square waveform for testing purposes. If I will use this code:
void setup()
{
pinMode(2, OUTPUT);
}
void loop()
{
bitSet(PORTD, 2);
bitClear(PORTD, 2);
}
I will get ...
8
votes
5
answers
54k
views
Can I measure velocity from an accelerometer? How accurately?
I've bought this module
Kootek GY-521 MPU-6050 MPU6050 Module 3 Axis analog gyro sensors+ 3 Axis Accelerometer Module
My project will involve affixing this to a moving object, moving at velocities ...
1
vote
3
answers
24k
views
SMS Receiving problem - Arduino Uno and SIM900A GSM Module
My intention is to control an LED according to the content of the SMS received. For example, if the SMS is "ON", turn on the LED and if it is "OFF", turn it off. I referred many sites and got the ...
1
vote
2
answers
856
views
Forensic security of Arduino (SRAM)
Pardon the double post, but I'm not getting much traction with this question over at arduino.cc so I'm looking for answers here now.
Original post: http://forum.arduino.cc/index.php?topic=391698.0
...
3
votes
4
answers
7k
views
Why does the arduino respond so slow to serial input
I have this really simple sketch where I blink a led light.
If I send another value threw the serial monitor then first there is always a brief second where the light doesn't blink anymore. Why is ...