Questions tagged [arduino]

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

Tag usage

Be sure to use the Arduino Stack Exchange for questions that are more Arduino and less electronics.

About Arduino

Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.

Arduino can sense the environment by receiving input from a variety of sensors and can affect its surroundings by controlling lights, motors, and other actuators. Perfect for home appliances, prototyping, robotics, and more. The microcontroller on the board is programmed using the Arduino programming language (based on Wiring) and the Arduino development environment (based on Processing). Arduino projects can be stand-alone or they can communicate with software running on a computer (e.g. Flash, Processing, MaxMSP).

(This text based on the summary at www.arduino.cc)

Related tags:

8660 questions
86
votes
5 answers

How much current can I draw from the Arduino's pins?

What's the maximum amount of current which I can draw from each of the Arduino's pins without tripping any of the internal fuses? Is there a limit per pin as well as an overall limit for the whole board?
berry120
  • 1,887
  • 3
  • 18
  • 28
63
votes
6 answers

What is the voltage range of a standard headphone jack from a phone?

I want to connect the output from the audio jack of an iPhone to an Arduino. What voltage range can I expect to see on the audio lines from the iPhone? I assume that turning the volume up on the phone will produce a large AC voltage, but how large…
manuelBetancurt
  • 1,025
  • 1
  • 10
  • 15
62
votes
8 answers

How do I go from an Arduino on a breadboard to creating a real device?

My first Arduino project: I have made a headlight sensor that will activate an outside light when a car's headlights hit it. I know I could go buy one, but where is the fun in that? Now I would like to make a "real" one to mount outside my house so…
Steve
  • 779
  • 1
  • 10
  • 15
57
votes
7 answers

How can I get my atmega328 to run for a year on batteries?

Scenario I have created a nice electronic door lock for my dorm room. It is currently an Arduino Diecimila with a servo [un]locking the door. It has a numerical keypad with 3x4 buttons and 5 LED's (2 serie pairs and one single LED). It also…
Pangolin
  • 1,045
  • 4
  • 13
  • 19
55
votes
6 answers

Do I really need resistors when controlling LEDs with Arduino?

I'm just trying out Arduino Uno for the first time with 2 blinking LEDs on a breadboard. All the tutorials on the Internet seem to use a resistor. I do know the function of resistors, but does it really matter here? These LEDs are working just fine…
40pro
  • 871
  • 3
  • 13
  • 17
51
votes
17 answers

Complete alternatives to the Arduino IDE?

I'm not that big of a fan of the official Arduino IDE (in terms of visuals), so I've started looking for nicer alternatives. However, most of the projects I've found are in alpha/beta and are generally incomplete. I'm 100% new to circuit board…
n0pe
  • 880
  • 3
  • 12
  • 22
46
votes
10 answers

Why is AVR used in Arduino?

Why is Arduino using AVR? I understand that they are the official processor but there isn't a reason the code couldn't be ported to an ARM or a Freescale architecture other than cost, right? As long as there is onboard memory, I figured there could…
Chris Gammell
  • 1,541
  • 1
  • 12
  • 25
45
votes
5 answers

How can I use a 12 V input on a digital Arduino pin?

I am creating a controller for a 12 V system using an Arduino Uno microcrontroller. For the outputs I am using a relay shield to switch the 12 V components. I have a 12 V toggle switch that turns on some 12 V components in the system and I want to…
D.W.
  • 623
  • 1
  • 6
  • 9
43
votes
6 answers

How to connect multiple i2c-interface devices into a single pin A4 (SDA) and A5 (SCL) on Arduino?

I want to add a real time clock module into my little project. I want to display both time and date on my existing i2c 2x16 LCD module. Both i2c-interface real time clock module and 2x16 LCD module use the same pin A4 (SDA) and A5 (SCL) on Arduino…
banksia
  • 431
  • 1
  • 4
  • 3
41
votes
6 answers

Why does my circuit work on a breadboard, but not on a perfboard? I am new to soldering

I'm a total beginner when it comes to soldering, and recently I've been trying (and failing) to solder together a simple circuit I put together for a Raspberry Pi sensor. Although it works fine on the breadboard, when I solder it onto one of my…
Sebastian Villate
  • 373
  • 1
  • 3
  • 5
40
votes
2 answers

Purpose of the diode and capacitor in this motor circuit

I'm hooking up a small DC motor to an arduino using an NPN transistor using the following diagrams I found online: The circuit works, and I'm successfully able to make the motor run. Now, I'm seeking to understand why it works the way it does. …
Paul
  • 777
  • 3
  • 12
  • 21
39
votes
2 answers

Why do some pins have `~` signs next to their numbers?

I was looking at my Arduino Uno and I noticed that symbol by digital pins 11, 10, 9, 6, 5, and 3. What do these mean? Does this affect the way it works? Can I not use these pins for certain situations?
Anonymous Penguin
  • 3,750
  • 8
  • 35
  • 57
39
votes
8 answers

Saving Arduino sensor data to a text file

How can I save data retrieved from a sensor to a text file on the computer?
desNotes
  • 529
  • 1
  • 7
  • 5
39
votes
5 answers

Why should you use two resistors in parallel on an LED?

So I was looking over the Arduino R3 schematics and noticed this little design choice: What is the reason for doing something like this? I mean it's hard to know what the designers were thinking, but maybe it was done this way to save space. Do you…
Jake Robinson
  • 1,034
  • 9
  • 20
38
votes
5 answers

Can I use the analog pins on the Arduino for my project as digital?

I am new to using Arduino, and I have an Arduino Uno. For the projects I've done, I've only used the digital pins. I am building a small vehicle that uses stepper motors. I have run out of pins to control the motors for this vehicle. What are the…
bogen
  • 1,093
  • 3
  • 14
  • 27
1
2 3
99 100