Most Popular
1500 questions
15
votes
1 answer
How can I sense when someone is sleeping with my Arduino?
Ignore the stalker-like title.
I am thinking about creating a project with Arduino that can sense you sleep habits, when you're asleep, and how much you sleep. It would be convenient to not have to turn it on/off at night; it should know how to do…
Anonymous Penguin
- 6,155
- 9
- 31
- 62
15
votes
2 answers
Difference between these two NodeMCU boards?
I recently received a NodeMCU (identical to the one shown in the first picture below) and originally, I was unable to connect it to my computer which eventually turned out to be driver issues; however, during my initial panic, I found that there…
Tom
- 309
- 1
- 3
- 10
15
votes
4 answers
All the differences between Arduinos: Pro Mini & Pro Micro
I'd like to know the differences between these two boards: Arduino Pro Mini and Arduino Pro Micro.
Even if I've read this and this related post, it is not clear enough. I've always used the Arduino Uno or Leonardo and I'm a little bit scared of…
nkint
- 451
- 3
- 9
- 22
15
votes
6 answers
How do I erase the memory of the Arduino Uno?
I'm just a tinkerer learning Arduino with my son and I was surprised that when I plugged the USB cord back in to the Arduino the program was still running and I thought to myself, "it's a good thing I didn't just blow anything up."
So, what's the…
Peter Turner
- 311
- 1
- 2
- 7
15
votes
8 answers
Arduino Newbie: Solderless Breadboard Alternate
I am completely new to arduino. I have created a circuit using solderless breadboard. But obviously the connections are lose or not as good as a soldered solution. So I was wondering since I am new to circuits too, what is the easiest
Saad Bashir
- 289
- 1
- 3
- 7
15
votes
3 answers
When using Arduino Uno as ISP does "Yikes! Invalid device signature" mean a bad connection, bad config, or bad version of avrdude?
I'm using an Arduino UNO to program a pre-compiled hex image to an ATTINY45, using the avrdude in the Arduino IDE directory, on Windows 7. The Uno has the ISP sketch loaded from the examples directory and that works- the heartbeat LED pulses…
Yary
- 371
- 1
- 2
- 7
15
votes
3 answers
Can tx and rx pins on the uno be used like regular digital pins?
The uno has digital pins marked 0-13.
0 is marked as rx and 1 is marked as tx.
Can these two pins be used as regular digital pins if i am short of digital pins?
c_breeez
- 349
- 1
- 3
- 9
15
votes
2 answers
Controlling Floppy Disk Drive with Arduino
I am having problems controlling a 3.5" Floppy Disk Drive with an Arduino Uno.
I have the floppy disk drive powered with a computer power supply that is switched on, and the Arduino powered by my computer's USB. I have cut apart the ribbon of a…
jeffctown
- 153
- 1
- 1
- 6
15
votes
2 answers
Why does an `.ino` file have to be in a folder of the same name?
I'm trying to organise a very complicated project and I want to put all the actual code in a folder named src (source), but I want to keep the main .ino file as main.ino (it will also be in src). Then when I try to open the code, the IDE says that…
Dat Ha
- 2,883
- 6
- 21
- 44
15
votes
6 answers
Arduino: How to get the board type in code
I want to write a sketch that can be compiled on different Arduino boards.
I want to display on the PC which board is currently connected.
This means that the user connects the PC via USB cable to the Arduino/Teensy board in which runs my sketch and…
Elmue
- 471
- 1
- 3
- 10
15
votes
4 answers
ESP8266, Arduino IDE vs Lua?
I'm planning to buy an ESP8266. Do I really need to learn Lua to play with it? I have seen some people using it with the standard Arduino IDE.
Do you need a custom firmware to use the Arduino IDE instead of Lua?
The Arduino IDE seems better for me…
n0tis
- 375
- 2
- 3
- 9
15
votes
2 answers
Difference between /dev/ttyACM0 and /dev/ttyS0 (Arduino IDE ports under Linux)
I use the Arduino IDE to upload sketches to my Arduino Uno. My OS is Linux Ubuntu 14.04 LTS. The Arduino IDE has two ports by default for communication with the Arduino Uno:
/dev/ttyACM0
/dev/ttyS0
What is the difference between these two ports ?…
martin_0004
- 281
- 1
- 4
- 8
14
votes
3 answers
Why is the regulator very hot?
We have an LED strip connected to output 6 and is powered by the Uno board itself. Shouldn't be drawing too much current, only have 10 elements on the LED strip. While this LED strip is connected to the Uno, I noticed that the regulator is getting…
Chris O
- 319
- 4
- 13
14
votes
2 answers
What are the fundemental differences of different Bluetooth modules for beginners?
I'm a beginner to microcontrollers and electronics, albeit not really to computers and programming.
Starting out with the Arduino, I came to a point whereby I'm really interested in getting my prototype to talk to a mobile device or a computer to…
Phil
- 435
- 2
- 4
- 12
14
votes
1 answer
How millis() resets itself to 0
Looking at the documentation for the millis() function , it says:
Returns the number of milliseconds since the Arduino board began
running the current program. This number will overflow (go back to
zero), after approximately 50 days.
How's…
Programmer
- 352
- 3
- 11