Most Popular

1500 questions
7
votes
1 answer

What is the physical location of the U1A symbol on Arduino Uno?

I'm trying to find an easy way to allow an Arduino Uno to determine if it's being powered from USB or the DC barrel jack. In this thread, one user recommends wiring the output of the on-board comparator op-amp (U5A pin 1) into the digital input…
Cerin
  • 1,618
  • 2
  • 24
  • 41
6
votes
3 answers

How can I filter out noise from ADC lines without delay or signal change?

I'm working on a project with a joystick and I'm trying to keep everything a simple and low latency as possible. I am reading the pots with the onboard 10bit ADC on the ATmega 32u4 but may be upgrading to either a 16bit ADC or 24 bit ADC. How can I…
user862
  • 71
  • 1
  • 1
  • 2
6
votes
2 answers

Problem importing a library in .h file

I have following code: MyApp.ino: #include "DfRobotLcdShield.h" void setup() { } void loop() { } DfRobotLcdShield.h: #include When I try to compile, I'm getting the error: In file included from…
Thomas S.
  • 566
  • 2
  • 8
  • 20
6
votes
1 answer

LEDs on TX/RX lines interfering with the programmig of the device

I have recently designed a shield to my Arduino Duemilanove, which has 8 LEDs, on the digital GPIO, from 0 to 7, but it won't program with the shield on because the voltage drop is too much on the RX and TX lines. My question is: can I have a LED on…
Electropepper
  • 115
  • 1
  • 7
6
votes
4 answers

How to avoid blocking while loop reading Serial?

I am currently playing with a MindWave Mobile headset. I am parsing bluetooth data received from a connected BlueSMIRF Silver. The code I started from is a sample from the MindWave wiki and it works using hardware Serial. For reference here is the…
George Profenza
  • 311
  • 1
  • 6
  • 17
6
votes
2 answers

EEPROM endurance and page size

I would like to estimate the effective (minimum) endurance of the EEPROM of the Arduino in terms of single-byte writes. The datasheet of the ATmega used on many Arduino boards says (page 20): The ATmega48A/PA/88A/PA/168A/PA/328/P contains…
fuenfundachtzig
  • 1,515
  • 1
  • 14
  • 26
6
votes
1 answer

How to turn off the display of line numbers on Mac Arduino IDE?

I'm trying to turn off line numbers on the Mac Arduino IDE but don't see the option for it after navigating to Arduino IDE > Preferences. Below is a screenshot of what I am seeing. I saw this question asked previously, but there is no File >…
ttoshiro
  • 181
  • 1
  • 5
6
votes
1 answer

Can I compile c/c++ code on the linux part of the Arduino Yun?

Can I compile c/c++ code on the linux part of the Arduino Yun? How complete is the linux part of the Arduino Yun? Can I scp some c/c++ code onto the Atheros AR9331 chip compile it? Or must I first crosscompile all software and then put them onto the…
Johan
  • 415
  • 3
  • 9
6
votes
0 answers

Handling non-standard I2C read response lengths with Wire library

I'm trying to read from a Sam&Wing XW12A 12 channel touch sensor IC using I²C. The IC responds to an address read packet with 16 uninterrupted bits representing its state. However, since I²C usually uses 8 bit bytes separated with an ACK signal,…
Jim
  • 161
  • 3
6
votes
3 answers

Does any board provide more than 1024 analog input values?

The Arduino boards provide an analog input range of 0V to 5V which translates to 0 to 1023 integer values. The range is determined by the on-board ADC, which in the case of the Uno is a 10 bit ADC (2^10 = 1024). Do any of the official boards have a…
asheeshr
  • 3,837
  • 3
  • 25
  • 61
6
votes
3 answers

Location of examples folder in Ubuntu

I'm trying to add some additional example files to the Arduino IDE in Ubuntu 14.04. However, I can't for the life of me find where the examples are stored in my system. I checked the Arduino website, but can't find any information there. Does anyone…
detective6
  • 141
  • 1
  • 1
  • 5
6
votes
2 answers

Do you actually NEED external resistors for switch connecting IO pin to ground?

Years ago, I encountered a fairly long debate at AVRfreaks.net about whether or not it's OK to directly connect AVR pins that are configured as inputs with internal pullup enabled directly to ground through a button or switch. From what I recall,…
Bitbang3r
  • 523
  • 1
  • 3
  • 11
6
votes
4 answers

Arduino ESP32 Import Error No module named serial

I googled and couldn't find a solution to my nice problem: I have Ubuntu and I want to program a ESP32 ............... I tried a lot of pip commands ... but it didnt work. You have any idea how to install the correct packages? Maybe you can tell me…
jento
  • 65
  • 1
  • 1
  • 2
6
votes
0 answers

nRF24L01 continuously reading closed pipe

I am testing communication between two nRF24L01 modules. The receiver is getting the transmitted message but is also continuously reading (null) data from a closed pipe? I am using the RF24 by TMRh20 version 1.3.12 library on an Arduino Pro Mini…
PyNZ
  • 121
  • 4
6
votes
6 answers

Compiling is slow

Compilation of even the simplest program (like Blink) is extremely slow, the progress bar often hangs halfway for nearly half a minute. Is this normal? I understand that not all computers are equally fast, but there's a huge difference between 3…
Joris Groosman
  • 1,171
  • 3
  • 11
  • 25