Newest Questions
25,033 questions
20
votes
2
answers
38k
views
When should I use a transistor, mosfet, and when should I use a relay?
I am used to relays some, and they are useful, especially for large loads like a incandescent light bulb or other 120V AC device. However, it seems like overkill to use a relay for a bunch of LEDs ...
3
votes
1
answer
2k
views
Using the Waspmote Sensor Board
Spanish company Libelium makes this pretty impressive sensor board:
http://www.libelium.com/products/waspmote/sensors/
for their Waspmote series of boards. These are not meant for Arduino ...
14
votes
3
answers
14k
views
Serial data showing up weird
I have a simple sketch that prints out "Hello World" to the serial, but I'm getting a bunch of gibberish instead.
void setup() {
Serial.begin(9600);
}
void loop() {
Serial.println("Hello ...
10
votes
5
answers
1k
views
How do I write an Arduino sketch and an Android application to talk to each other over a standard USB cable?
How do I write an Arduino sketch and an Android application to talk to each other over a standard USB cable?
6
votes
4
answers
1k
views
Infrared TV Remote to Arduino
On the hardware side of things, what is involved in making the Arduino receive signals from a TV Remote? What kind of infrared receiver is needed? Do TV remotes use some kind of channels, encoding, or ...
20
votes
5
answers
27k
views
Are there any signal smoothing libraries for Arduino?
I am working on a mobile robot controlled via a wireless 2.4 GHz link.The receiver is connected to the Arduino Uno which serves onboard as the main controller. The most critical (and main) input ...
12
votes
4
answers
22k
views
Arduino Time Clock Accuracy
I'm currently trying to create an Arduino time clock by using the PJRC Time library (http://www.pjrc.com/teensy/td_libs_Time.html). I know that since most of the Arduino boards are running with a ...
1
vote
1
answer
2k
views
How to power Arduino externally for long term? [closed]
For a robotic project, I need to keep an Arduino powered up for a long time in an outdoor environment. What can I use to power the board?
If battery is the only solution, can the device tell me ...
6
votes
2
answers
407
views
Controlling mains (230 V) supply up to 5/10 amps using Arduino
I am looking for a simple, low cost solution to control on/off of mains supply to certain equipment. The control will be done using one of the output pin of Arduino Uno.
The input trigger and how to ...
3
votes
2
answers
3k
views
Are there any good and maintained libraries for using DS2482 I2C to 1-Wire bridge?
The DS2482-100 and DS2482-800 are I2C to 1-Wire bridges which are useful for driving complex 1-Wire networks.
These are natively supported by a number of packages in Linux so you can interface easily ...
26
votes
5
answers
47k
views
What is the real lifetime of EEPROM?
ATMEL says the cell lifetime of an EEPROM cell is about 100,000 write cycle/ cell.
Is this actually how the EEPROM performs in the wild?
If I do not change the value of a cell, does this stress the ...
9
votes
3
answers
6k
views
Is it possible to program an Arduino Pro Mini using an Arduino Uno R3?
I've recently received an Arduino Pro Mini as a gift, and I don't have an external USB programmer to program the Pro Mini. However, I do own an Arduino Uno R3, and I think it would be possible because ...
30
votes
4
answers
82k
views
What can I do if I run out of Flash memory or SRAM?
According to the Arduino documentation, the ATmega328 has 32KB of Flash memory for the bootloader + uploaded sketch, and only 2KB SRAM for runtime data. The ATmega2560 has quite a bit more, totalling ...
13
votes
3
answers
8k
views
I got a missignatured ATmega328-PU. How can I fix that?
Sometime in the past, I was burning bootloaders on a fresh batch of four ATmega328-PU using the Arduino IDE (notice there's no P after 328 - it's the slightly cheaper non-picopower version of the MCU, ...
22
votes
2
answers
28k
views
Why do some pins have a different PWM frequency?
According to the Arduino reference for analogWrite(), the PWM frequency on most pins is ~490 Hz. However, it's ~980 Hz for pins 5 and 6 on the Uno, and for pins 3 and 11 on the Leonardo.
Why are ...