Most Popular

1500 questions
9
votes
2 answers

How to send numbers to Arduino UNO via Python 3 and the module serial

I am new to Arduino (and computer programming in general), so I apologize if this question looks silly. Once I set up a basic arduino-LED connection, I have problems sending INTEGERS to arduino through the serial port. I can easily send characters…
mickkk
  • 271
  • 3
  • 4
  • 8
9
votes
5 answers

Can I make delayMicroseconds more accurate?

I'm trying to bit bang DMX data and that requires 4us pulses. Not having much luck with the results I'm checking to see how good the Arduino is at delaying... Seems to be pretty terrible at it. Here's a quick little test I did: unsigned long…
bwoogie
  • 193
  • 1
  • 8
9
votes
8 answers

What's the difference between analogWrite and digitalWrite?

As the title states. What's the difference between the two? analogWrite(pin,0-255) vs digitalWrite(pin,LOW-HIGH)
pijemcolu
  • 117
  • 1
  • 1
  • 7
9
votes
4 answers

Explain what is meant by "Arduino core"

What is an "Arduino core"? Are there many different "Arduino cores"? such as a core that applies to LCD displays, another core that applies to servos, etc.?
martymarty
  • 111
  • 1
  • 3
9
votes
6 answers

If the USB gives 5v, how can the Arduino supply 5v to the 5v pin? (And another question)

I must not of understood something. Online, I've heard that the Arduino uses 9v typically (average), and that USB's in general supply 5v@500mA. If this is true: How can the Arduino even POWER ITSELF with the 5v USB? I've heard the minimum is…
Blake
  • 213
  • 1
  • 3
  • 7
9
votes
1 answer

In ESP-12E NodeMCU, what's the pin number of A0?

In ESP-12E NodeMCU, all digital pins can be called with a number. Here is the list: static const uint8_t D0 = 16; static const uint8_t D1 = 5; static const uint8_t D2 = 4; static const uint8_t D3 = 0; static const uint8_t D4 = 2; static…
pfernandez
  • 201
  • 1
  • 2
  • 4
9
votes
3 answers

How to get current time and date in arduino without external source?

I'm working on a project using Arduino Uno and SD card shield. I'd like to store a variable at a specific time everyday in the SD card. How can I get the current time in Arduino ? Any help would be appreciable. NOTE : Arduino is NOT connected to PC.
Mohamed Mbarki
  • 121
  • 1
  • 2
  • 5
9
votes
3 answers

Multiple independent LED patterns

I have an problem, which at first thoughts (and being new to Arduino) I though was a perfect application for an Arduino. However, after trying and failing to implement it I am doubting myself! Simply - I need to control many LEDs independently, many…
Nickos
  • 93
  • 1
  • 3
9
votes
4 answers

How to use breakpoints for debugging

Breakpoints are a great way to see how the compiler runs to your code. Now my question is, is there a possibility to use breakpoints when you debug your code?
H. Pauwelyn
  • 207
  • 1
  • 2
  • 10
9
votes
4 answers

Turn Arduino on with timer every 24h

I'm currently working on an Arduino project that sends the charge of my car battery once a day via an ESP8266 to me. During the winter I don't drive my car, and I would like to get informed when the battery drops beyond a critical value, so I can…
Dirk Pitt
  • 133
  • 1
  • 5
9
votes
2 answers

very lightweight low power microcontroller with memory?

I have build a couple of projects using arduino. For a new project I want to log skin surface temperature vs. time (just perhaps a few times per day) and possibly other easy to obtain info such as voltage. I need to make everything as small and…
Shara
  • 125
  • 2
  • 10
9
votes
1 answer

What are the SVG pins for on the SainSmart Uno clone?

I bought a SainSmart clone board which is compatible with the Arduino Uno R3. Alongside each of the standard IO pins, there is a row of 3 additional pins (male). They are arranged in columns, marked S, V, and G. They can be seen on this image: Most…
Peter Bloomfield
  • 10,932
  • 9
  • 47
  • 87
9
votes
3 answers

nRF24L01 pipe question

I am looking through the example code found here. I know there are 6 pipes that the nRF24L01 module can use but I've been searching the internet for the address designations and have been able to find nothing. More specifically on line 37, is there…
Alex
  • 235
  • 1
  • 3
  • 8
9
votes
2 answers

What will happen when I use an invalid pin number?

Related to: What happens if there is a runtime error? This question is similar to the one above, however this is an alternate situation: int pin = 999; pinMode(pin, OUTPUT); digitalWrite(pin, HIGH); What would happen in this instance? The…
Anonymous Penguin
  • 6,285
  • 10
  • 32
  • 62
9
votes
3 answers

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 they both have the same clock speed and…
slippery
  • 193
  • 1
  • 5