Most Popular

1500 questions
5
votes
1 answer

Will 5V 2A current input to the power port kill my Arduino?

I want to power my Arduino with a mobile charger, the out put is 5V 2A, will it kill my Arduino? And what's the max input current as power source?
5
votes
2 answers

ESP8266 12e Arduino IDE outputs garbage values on serial monitor

I recently started using the ESP8266 12E (Amazon link) and hooked the board up to the Arduino IDE. When trying to run any of the example sketches, all sketches compile and upload correctly. The blink sketch correctly causes the LED to blink,…
Alex
  • 153
  • 1
  • 6
5
votes
3 answers

Ooops, no LSM303 detected ... Check your wiring!

History I have an Adafruit 10DOF IMU Breakout which has been working on my Mega for some time. This morning my program did not run so I starting troubleshooting. Scenario I eventually plugged the IMU breakout into my Uno with the *out-of-the-box…
Jacksonkr
  • 327
  • 2
  • 13
5
votes
2 answers

Analog read negative voltage inbuilt protection

I'm trying to read a -10 to +10V analog signal on my Arduino Mega (2560). I've been using a voltage divider to obtain a -5V to +5V signal (with two 10kOhm resistors), which used to work just fine. I'm wondering if this -5V signal can damage the…
Etienne P.
  • 53
  • 4
5
votes
1 answer

Operating / pin voltages ATTiny chips

I would like to set up a project with an ATtiny chip, such as the ATtiny84 or ATtiny85, in which I interface the microcontroller directly with an XBee for both wireless serial communication, as well as monitoring a digital signal from the Xbee…
hobie
  • 487
  • 1
  • 5
  • 12
5
votes
1 answer

What's the difference between #define and const int when declaring a pin?

Over the course of my Arduino usage and learning, I've noticed that in some sketches people use the #define command to declare pins, while some others simply use const int for the same. My question is, what's the difference between the two, and…
YaddyVirus
  • 292
  • 1
  • 6
  • 21
5
votes
4 answers

External 5V Power and USB Serial

I have a Chinese Arduino nano clone, but I don't know if it's possible to connect the Arduino to external (5v) power and have a USB serial connection ongoing. I'm trying to make a PC controlled LED Strip that can also work on its own. For example:…
TheKayneGame
  • 95
  • 2
  • 7
5
votes
3 answers

Will unnecessary Serial.print() statements slow down my program?

I have lots of Serial.print() and Serial.println() statements throughout my (rather large) program for debugging when things fail. I've commented out the Serial.begin() statement so I don't slow down execution by running a serial port. However, I'd…
5
votes
2 answers

Receiving SMS by Arduino GSM Shield and control the LED with the content of this SMS?

I am using Arduino GSM Shield receiving SMS from an Android app. And the content of this SMS will control a LED. If the content of this SMS is not "off", the LED will be on and the content will be printed in the serial monitor. But if it is "off",…
Zhu
  • 53
  • 1
  • 3
5
votes
2 answers

2 Arduino controller boards - 1 shared input

I'm beginning with electronics and don't have all the good reflexes yet. So here is my question: Can I do what I did here? can i do this http://www.movod-design.com/forum_img/canIDoThis.jpg Do I have to add diodes between the Nano +5V and the…
MadCat
  • 53
  • 5
5
votes
5 answers

Is Arduino stable enough to use it for a door lock?

I want to replace my door lock with an one made with an Arduino and a servo, but I'm not sure if the platform is stable enough to use it for something like this. If I do everything right (code, connections, constant power), could I trust in this?
IAmJulianAcosta
  • 163
  • 1
  • 6
5
votes
3 answers

WizNet W5100 not connecting to modern switches and routers

I have an Arduino data collector with a W5100 module (see bottom of picture). Simple fixed IP connection: byte mac[] = { 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; byte ip[] = { 192, 168, 1, 242 }; Ethernet.begin(mac,ip); This works with my old…
Arthur
  • 153
  • 1
  • 4
5
votes
5 answers

Why do my temperature sensor values become inconsistent when additional hardware is added to the board?

I have this strange problem. My TMP 36 sensor works fine when it is the only thing connected to my Arduino Uno board. The voltage measurements, and thus the temperature, are accurate and consistent. However, when I attach an LCD screen to the Uno…
MICROexchange6
  • 169
  • 3
  • 11
5
votes
1 answer

Why does this Arduino Pro Mini use a capacitor on the DTR reset line?

I'm kind of curious as to why there is a 0.1uF capacitor on this Arduino Pro Mini (https://www.arduino.cc/en/uploads/Main/Arduino-Pro-Mini-schematic.pdf). It seems like it would work just fine without it.
Izzo
  • 243
  • 4
  • 11
5
votes
2 answers

interrupting an interrupt

What should be expected if the code in the timer interrupt ISR does not finish before the interrupt is called again? For example Timer0 ISR(TIMER0_COMPA_vect){} on the Uno. This is for debugging purposes in a complex program. Thanks.
perigalacticon
  • 357
  • 3
  • 14