Newest Questions
25,033 questions
65
votes
13
answers
85k
views
Is there a way to have more than 14 Output pins on arduino?
Is it possible to have more than 14 output pins on the Arduino, I am working on a project in which I need to light up several LEDs individually. I only have an Arduino Uno, and I don't want to get a ...
15
votes
3
answers
6k
views
Is it possible to find the time taken by millis?
The function millis would be running in the span of 100+ microseconds or less. Is there a reliable way to go about measuring the time taken by a single millis call?
One approach that comes to mind is ...
41
votes
10
answers
178k
views
Programming an Arduino using Python, rather than C/C++
I am not very skilled with the C Language and I was wondering if there is a way in which python could be used to program an Arduino. This would most likely require a different IDE in order to be able ...
14
votes
8
answers
10k
views
Is it possible to upload a program from a tablet?
Is there any easy way to upload a program/sketch from an iPad or Android tablet without adding extra an shield (Bluetooth or Wi-Fi)?
If not, can it be done using shield? Which shield is preferred?
...
15
votes
3
answers
8k
views
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 ...
17
votes
3
answers
3k
views
Is there a color LCD display for an arduino?
I currently have a Mega2560 with the LCD4884 Shield. The Shield is good for putting out text and simple pixel images. But I am wondering if there is something that has a full range of colours that ...
22
votes
2
answers
37k
views
Is there a limit on how much current a pin can sink?
I've been experimenting with an 8x8 LED matrix controlled by an Arduino Uno. As I think is typical, the matrix uses a common anode for each row, and a common cathode for each column.
At the moment, ...
4
votes
1
answer
18k
views
Is there an Arduino simulator that runs on Mac OS X? [duplicate]
I need to simulate my Arduino project with other circuit components before implementing the project. Is there a decent simulator that runs on Mac platform?
23
votes
2
answers
10k
views
Why can't I upload a sketch while other components/devices are connected to my Uno?
I wanted to make a fairly simple circuit which would flash a series of LEDs in sequence, using my Arduino Uno (more specifically, a SainSmart clone). I wrote my sketch and it compiled fine. After that,...
20
votes
2
answers
5k
views
Does Arduino Uno R3 require cooling in a closure?
I was looking at getting an enclosure to house my Arduino Uno R3, but I'm not sure if I should also attach a fan. Does anyone have experience with this? It doesn't look like much heat is being ...
21
votes
4
answers
10k
views
Compatibility between Arduino and Arduino clones
In a project I am using a Seeeduino v3.0 as an Arduino clone. On the seeeduino website it says that
It is based on the Duemilanove schematic, 100% compatible to its existing program, shield and ...
245
votes
13
answers
475k
views
Can I program for Arduino without having a real board?
I would like to start the development of some basic Arduino projects but I don't own an Arduino board yet. Is there a way I can write my code and emulate/test it using a desktop computer so after my ...
18
votes
3
answers
2k
views
How to prevent breaking my Arduino by mistake?
What is the best practice to make my Arduino circuit more robust against prototyping mistakes (like shorting pins)? I don't want the controller to release its blue magic smoke while experimenting with ...
-4
votes
1
answer
824
views
What's the best way to put in a database sensors data's [closed]
I have not already started to try but I'm a good webmaster and I'm just asking which way is more suitable for sending and keeping data from sensors and I/0 state in a database.
Here are some points:
...
18
votes
3
answers
11k
views
What is the best way to unit test my code without controller? [duplicate]
I want to unit test my Arduino code. Ideally, I want to execute and test my code without uploading it to the board. What tools or libraries can help me with this?
There is an Arduino emulator in ...
14
votes
2
answers
804
views
How do I figure out if my board is approaching end of life?
I have a uno that I have been using for 3 years now. I will be using it again in a rather critical project in which failure on the part of the board could be rather expensive and dangerous. So, I ...
15
votes
2
answers
2k
views
Assembly on the Arduino: IO registers
Question: What registers do I use to access the IO on the Arduino Uno when I am using assembly for programming?
Background: I was interested in practicing my assembly language skills on the Arduino (...
94
votes
22
answers
19k
views
What are the other IDEs for Arduino?
The basic Arduino IDE lacks a lot of the sophistication present in other IDEs such as code completion, code collapsing, folder organisation, etc. Are there other IDEs that allow programming in C or C++...
12
votes
2
answers
890
views
Arduino Uno R2 and Ethernet Shield R3 compatibility
I bought an Ethernet Shield R3 for my Arduino Uno R2, but since R3 has extra pins it does not fit. Can I use the shield? Should I cut off the extra pins. What do I need to do to make it work?
2
votes
2
answers
2k
views
How do I communicate with the Uno using R through RStudio? [closed]
I am working on a real time application which is recording sensor data continuously. I need to process the data in realtime using R. Is there a way to connect and communicate with the uno board ...
15
votes
1
answer
386
views
Is there a preprocessor constant for memory size
I would like my compiles to exclude some code depending upon the flash/program space available. To be used in the demo code of a library I support. Whereas my current solution is to use a #ifdef of ...
15
votes
2
answers
33k
views
Post Data To a Web Service From Arduino
If you want to submit sensor data such as temperature to a remote server/database somewhere you need to use some kind of call to a web server since it isn't possible to connect directly to a database ...
11
votes
2
answers
6k
views
How to pause Arduino for 1 millisecond through MATLAB?
I have been able to connect MATLAB to my Uno with this line of code: a = arduino('COM4'); through this package: Matlab support package for Arduino.
Right now, MATLAB is my main script that will ...
20
votes
5
answers
10k
views
How do I get an accurate time?
I've made a clock using an Arduino, but the time seems to drift. I am aware of the rollover issue; the clock seems to drift by about 15 minutes over the course of a week.
I'm using a custom PCB with ...
10
votes
3
answers
1k
views
Custom Arduino board beeps and process freezes while I'm uploading a sketch to it. Why?
The strangest thing is happening to a standalone Arduino board that I designed and built. The board (whose schematics are below) has the following features:
It has a ATmega328P with a 5V voltage ...
5
votes
1
answer
670
views
Why Arduino Severino (S3V3) sometimes needs reseting when uploading a sketch?
I have an original Arduino UNO R3 that I bought and an Arduino Severino (S3V3) that I've built.
I have no problems uploading sketches to the UNO, but sometimes, when uploading to the Severino board, ...
184
votes
21
answers
678k
views
"avrdude: stk500_getsync(): not in sync: resp=0x00," aka Some Dude Named Avr Won't Let Me Upload My Program
I made an awesome program the other day, and I wanted to upload it to my Arduino. After clicking the upload button, some mean dude named avr came along and stopped me, saying:
avrdude: ...
16
votes
2
answers
3k
views
Yún boot from SD card
I have an Arduino Yún, and it only has 16mb flash onboard for the Linux. I was wondering of it is possible to put a bootloader on the flash that uses the sd card as a rootfs? i want to be able to do ...
32
votes
5
answers
25k
views
What does it take to compile Linux on Arduino, if at all possible?
Is it possible to run Linux on Arduino? If yes, what steps and limitations need to be considered? If not, what are the limitations that prevent this?
14
votes
2
answers
920
views
Installing a different firmware on Arduino
Is it possible to upgrade the firmware on an Arduino so that it can do more things such as change undervolting/ overvolting in order to provide more processing power. To do this you would have to most ...
44
votes
4
answers
10k
views
What are (or how do I use) the power saving options of the Arduino to extend battery life?
For solar & battery powered projects, decreasing power consumption is a necessity.
I know a little bit about using a timer and interrupt to put the microcontroller into sleep when it isn't doing ...
36
votes
6
answers
58k
views
How to get HTTPS on Arduino?
Put plainly: is there a way to get an HTTPS connection on the Arduino?
I have been looking in to it, and I have found it is impossible with the standard library and the Ethernet shield, but is there ...
49
votes
11
answers
14k
views
Is an Arduino capable of running 24/7?
I'm making a simple Arduino web server and I want to keep it turned on all the time. So it must endure to stay working continuously.
I'm using an Arduino Uno with a Ethernet Shield.
It's powered ...