Most Popular

1500 questions
16
votes
5 answers

How cold or hot can my Arduino Uno get?

The Arduino Uno Page doesn't say the temperatures that it can operate in. I'm thinking about placing it outdoors. How can I make sure my Arduino Uno is safe in weather that can reach -20 to 105 degrees Fahrenheit? (-26 to 40 degrees Celsius).
Anonymous Penguin
  • 6,155
  • 9
  • 31
  • 62
16
votes
3 answers

How to prevent breaking my Arduino by mistake?

What is the best practice to make my Arduino circuit more robust against prototyping mistakes (like shorting pins)? I don't want the controller to release its blue magic smoke while experimenting with it, what precautions can I make while designing…
jippie
  • 2,851
  • 12
  • 23
16
votes
2 answers

How precise can I get Arduino using rotary encoders?

Stepper motors are often pricey for a large motor. However, with a powerful, standard DC motor and a rotary encoder, you can "simulate" a stepper motor. How accurate are rotary encoders with Arduino just with a basic loop and not much other code? Is…
Anonymous Penguin
  • 6,155
  • 9
  • 31
  • 62
16
votes
2 answers

How many times can I upload a program or sketch to my Arduino Uno Clone Board?

I'm about to work on my very first project using arduino (I'm just about to buy one next week), and one of our professor says that we can only upload a program or sketch in an Arduino Uno Board for approximately 8 times. He also added that if we're…
A. Raymundo
  • 161
  • 1
  • 7
16
votes
1 answer

Arduino Nano no serial port for MacBook Air 2013

Problem I have an Arduino Nano connected via a USB cable (Type A to Mini Type B) to my MacBook Air (Mid 2013 Model). The PWR LED is on while the arduino is connected. Opening the Arduino software, pulling down the Tools > Serial Port menu does not…
Mecha
  • 391
  • 1
  • 3
  • 10
16
votes
4 answers

Burning Arduinos one after another

I very accidentally caused a short-circuit to two completely different cheap (under 4$ each) Arduino Uno clones, rendering Windows sound alert for unplugged USB several times. This subsequently led to a problem with uploading code and not blinking…
Edenia
  • 369
  • 2
  • 7
16
votes
3 answers

Does the Node MCU v3 (LoLin) not have a builtin led?

Trying a simple led blinking program I could not get the builtin led on a LoLin Node MCU v3 working. The LED_BUILTIN constant is set to pin 16 / GPIO16 / D0. Reading several articles and QA I think that the Node MCU boards are supposed to have a the…
Jan H
  • 271
  • 1
  • 2
  • 7
16
votes
3 answers

Arduino powering from 9V battery

Yesterday afternoon I have left my Arduino running on a fresh Alkaline 9V battery (+ connected to Vin, - connected to GND). Today morning (16 hours later) the LCD display was no longer visible, and when I measured the volatage, I saw the battery was…
Suma
  • 341
  • 1
  • 3
  • 18
16
votes
1 answer

How do interrupts work on the Arduino Uno and similar boards?

Please explain how interrupts work on the Arduino Uno and related boards using the ATmega328P processor. Boards such as the: Uno Mini Nano Pro Mini Lilypad In particular please discuss: What to use interrupts for How to write an Interrupt Service…
Nick Gammon
  • 35,792
  • 12
  • 63
  • 121
16
votes
2 answers

The use of 4.7kOhm resistor with DS18B20 temperature sensor

I was using a temperature sensor DS18B20 with Arduino. I've read that you should connect the digital input line and the 5V line with a 4.7kOhm resistor - like in the picture. Can someone explain why do we need to do this? And why this resistance?…
kamilazdybal
  • 305
  • 1
  • 2
  • 7
16
votes
6 answers

How do I resolve "avrdude: stk500_recv(): programmer is not responding"?

Whenever I try to program my Arduino UNO Rev.3, I'm seeing the following error avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 avrdude: stk500_recv(): programmer is not…
Evan Carroll
  • 445
  • 1
  • 6
  • 16
16
votes
4 answers

Program an ATMega328P and use it without Arduino board

I'd like to use an ATMega328P for my project, I hope to do it without the Arduino board. I know with the Arduino IDE and an Arduino board I can program the microcontroller. However, would it be possible once I've programmed and debugged the…
George
  • 169
  • 1
  • 1
  • 4
15
votes
4 answers

My code seems to be a train wreck

I am new to programming and I thought a simple project to do would be to create an ammo counter. I have been troubleshooting this code for several hours now, and can not figure out why my code is riddled with errors. Below is my program. Please give…
pvGuy
  • 183
  • 1
  • 9
15
votes
2 answers

Powering Arduino with Solar Panels

Clearly, an Arduino can be powered with solar panels. What is the most optimal configuration? Can you recharge and discharge at the same time? Is LiPO the best battery cache technology, or is there something more durable out there, for fielded…
0xF2
  • 522
  • 2
  • 8
  • 19
15
votes
4 answers

Is my Arduino dead or is it just its processor?

I have a problem with my Arduino. I can't upload any sketches to it (it gives me the error avrdude: verification error; content mismatch), but the LEDs are still blinking. Do you think that the whole Arduino is dead or is it just the chip ? EDIT : I…
Pop Flamingo
  • 325
  • 1
  • 2
  • 8