Most Popular

1500 questions
12
votes
4 answers

How to show the º character in a LCD?

I have a 16x2 LCD and I want to show a temperature: 23 ºC. But the º symbol is not properly shown. It shows a strange character instead of the º symbol .
Roby Sottini
  • 438
  • 2
  • 9
  • 22
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
  • 519
  • 1
  • 9
  • 16
12
votes
7 answers

Where can I find a central repository of all available Arduino libraries?

Currently; when I start a new Arduino project with some new hardware, the first thing I do is to look for 3rd-party libraries that bring Arduino support for this hardware. The first places I look are: The Arduino Playground GitHub Google Generally…
jfpoilpret
  • 8,962
  • 6
  • 35
  • 53
12
votes
5 answers

How to retrieve the data type of a variable?

I am using Arduino and I would like to know if there is a function that returns the data type of a variable. That is, I would like to run something as like the following: // Note: 'typeof' is a sample function that should return the data…
user502052
  • 399
  • 1
  • 3
  • 7
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,349
  • 3
  • 19
  • 32
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,844
  • 7
  • 31
  • 46
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
3 answers

I got a missignatured ATmega328-PU. How can I fix that?

Sometime in the past, I was burning bootloaders on a fresh batch of four ATmega328-PU using the Arduino IDE (notice there's no P after 328 - it's the slightly cheaper non-picopower version of the MCU, not to be confused with the ATmega328P-PU with a…
Ricardo
  • 3,290
  • 2
  • 23
  • 52
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
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…
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,842
  • 9
  • 46
  • 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
6 answers

Code for one-time execution in Arduino

Question: Where do I put code if I want it to execute only once per Arduino startup? Background: I tend to use my Arduino to perform tasks that should be executed once per power cycle. (For example, my robot should only drive forward once every…
apnorton
  • 493
  • 1
  • 5
  • 22
12
votes
1 answer

Internet connectivity for the Arduino Due using AtmelStudio?

What hardware and software solutions work and what are the tradeoffs for connecting an Arduino Due to the internet? I gather the ethernet hardware is much cheaper than WiFi hardware (€29 versus €69). In either case (wired or wireless), what…
Bob Stein
  • 293
  • 3
  • 9