Most Popular
1500 questions
12
votes
2 answers
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?
tstew
- 729
- 1
- 6
- 26
12
votes
5 answers
Does an Arduino get worn out by too much command execution?
Excuse me if it is a silly question, but I couldn't find an answer.
I've been wondering for a while whether an Arduino (or generally any other micro-controller) gets happy if the code is light and it does not have to execute too much operations.…
ahmadx87
- 539
- 2
- 9
- 16
12
votes
3 answers
Functions with string parameters
Inside my main loop there is this string:
String string1;
I have a function that will take string1 as parameter, and use it to send this string as SMS.
sendSMS(string1);
This is the sendSMS() function (without parameters):
void sendSMS()
{…
user1584421
- 1,395
- 3
- 22
- 36
12
votes
2 answers
FTDI Breakout with additional ISP connector
TL;DR - Can the six yellow ISP pins be used as a normal ISP?
The usual USB-TTL FTDI breakout board looks like this:
Recently, I came across a variant of the board shown below. However, what are the additional yellow header pins on this board for?…
Greenonline
- 2,938
- 7
- 32
- 48
12
votes
3 answers
How to increase SD card write speed in arduino
I'm creating a data-logger system which logs data in SD card at a high speed of about 20000-30000 bytes per second. But the SD library in arduino currently writes data at about 4500-5000 bytes per second which is too slow.
I've read this hack to…
Ashish Ranjan
- 435
- 1
- 5
- 15
12
votes
4 answers
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 16MHz clock and a single resonator, the time can…
KK6FSL
- 125
- 1
- 1
- 6
12
votes
2 answers
Will a .ino Arduino Sketch compile directly on GCC-AVR?
Okay, we all have seen those questions all over the web such as Arduino v.s. C++, or other similar questions. And a vast majority of the answers do not even touch compilation differences other than through abstracted information.
My question aims to…
RedDogAlpha
- 180
- 1
- 1
- 9
12
votes
1 answer
Is it possible to upload previously compiled binary?
I have a number of sketches that I keep wanting to load into the Arduino but I don't necessarily need to recompile them because I haven't changed anything since the last compile. Since the compile takes a minute or 2 each time, this would save me…
Lefty
- 325
- 2
- 4
- 11
12
votes
4 answers
Converting three-axis magnetometer values to degrees
I have a 9-DOF sensor (MPU-9150) and I want to use its magnetometer to retrieve the rotation angle, from 0 to 359. However, its library returns three values: x, y and z.
I do not know how to transform this into a single value. Is there any way to do…
Guilherme
- 235
- 1
- 2
- 10
12
votes
6 answers
Send AT commands to ESP8266 from Arduino Uno via a SoftwareSerial port
GOAL
From Arduino UNO, send AT commands to ESP8266 via a SoftwareSerial port and receive results.
CURRENT STATUS
I either send AT commands and get nothing back (wiring scheme 1) or I send AT commands and get garbage back (wiring scheme 2).
Using the…
Paul
- 223
- 1
- 2
- 8
12
votes
1 answer
Update Dynamically Tkinter Widget Scale from Arduino Ports using python and firmata
I'm having trouble trying to get Arduino digital ports values and set these values into a Python Tkinter Widget Scale.
I'm using Python and Arduino with Firmata. I'm able to access my arduino board with python code. For example in a label widget…
Vinicius Biscolla
- 121
- 1
- 4
12
votes
3 answers
How do I use I2C devices with Arduino?
I have a few useful I2C components, such as a 16-bit port expander (MCP23017), which I'd like to use in various projects.
What do I need to do to make these work with Arduino? Will it work with any Arduino, or do I need a specific board or shield?
Peter Bloomfield
- 10,932
- 9
- 47
- 87
12
votes
3 answers
What is the advantage of using a motor shield if I want to use a stepper motor?
I know that it is possible to connect a stepper motor directly to an arduino (as displayed here). I know that another option is to use a motor shield (for example the Arduino Motor Shield or the Adafruit Motor Shield).
What I would like to know:…
Majiy
- 365
- 2
- 7
12
votes
1 answer
What are the steps involved in porting an Arduino library?
I want to use the Adafruit CC3000 and its Arduino libraries on another platform. In this case it's the Arduino pin compatible PSOC4 Pioneer Kit. This is an ARM Cortex M0 based platform.
My question is: How would I go about porting a library like…
akellyirl
- 2,146
- 1
- 15
- 19
12
votes
3 answers
Writing C Program outside of Arduino IDE?
I like the idea of using the Arduino IDE for simple projects and for getting started with Arduino, but the consensus I've gotten so far is that it is for those who are new to Arduino and/or programming in general.
My understanding is that it is…
smeeb
- 509
- 2
- 10
- 21