Most Popular

1500 questions
6
votes
6 answers

Uploading a simple sketch takes forever

I am trying to upload this simple sketch into my arduino with a shield I made. It takes forever (note I have the right COM port on) int sensorValue = 0; void setup(){ Serial.begin(9600); } void loop(){ sensorValue =…
Diana Lc
  • 95
  • 1
  • 2
  • 6
6
votes
4 answers

Inappropriate ioctl for device

I am using an Arduino Uno and a Mac and trying to upload my code into the board. I tried uploading the program from different computers(MacBook Air and Pro) and I still have this problem. How do I fix this? I tried downloading the FTDI driver. I…
Dinesh Sekar
  • 79
  • 1
  • 2
  • 7
6
votes
1 answer

Is my ATmega broken, and would replacing it with another break that one, too?

I was communicating between my computer and my Arduino Uno R3 through Bluetooth using this Bluetooth module. The connector I use has a red wire where it connects to GND, and a black wire where it connects to +5V. ↓ ↓ to Uno…
The Guy with The Hat
  • 5,232
  • 7
  • 29
  • 51
6
votes
5 answers

Simultanous read and read/write on two serial connections

At the moment I'm using two softserials to connect to a GPS and an GSM module. It seems not possible to have two open software-serials. So I was looking for an solution After the initial-setup, the GPS module is only needed to be read from; while…
stUrb
  • 351
  • 2
  • 5
  • 10
6
votes
3 answers

How can I convert Arduino String to C string type?

I got a String which as I understand is an Arduino object, and got some C++ code: #include #include #include LiquidCrystal_I2C lcd(0x20,16,2); boolean borrar = false; String IP; void setup() { …
diegoaguilar
  • 191
  • 1
  • 5
6
votes
3 answers

Super slow serial (UART) communication on Arduino

I am using this device for my Arduino that connects to the OBD-II port of my car to get various information such as speed, rpm, etc. I am using this for a digital Nixie tube speedometer using the smart Nixie tube from a Kickstarter project. I pass…
evan.stoddard
  • 183
  • 1
  • 6
6
votes
6 answers

My Servo Won't Sweep Smoothly

So I've tried this a few times and I always get the same issue. When I try to run the sweep example the servo goes round 180 degrees but only in steps. Anyone know a way to fix this? The servo I'm using is a Tower Pro Micro Servo 9G SG90 // Sweep //…
Jordan Adams
  • 169
  • 1
  • 3
6
votes
5 answers

CO2 sensor for arduino

I want to add CO2 measuring feature to my room weather station. Can someone please recommend a CO2 sensor easy to integrate with Arduino?
A B
  • 177
  • 1
  • 3
6
votes
1 answer

Programmatically Upload Arduino Sketch From Android App

I am attempting to build an Android app from which I can can upload a .hex file to my Arduino(Leonardo). I am aware of a few apps in the Google Play store that are capable of this functionality but I can't seem to find any actionable resources on…
Karoly S
  • 281
  • 2
  • 7
6
votes
2 answers

Changing pins used in ArduinoISP example

I have built my own ATTiny programmer, but made a bit of a mistake along the way - I didn't align the headers properly, and now instead of them plugging into pins 10, 11, 12 and 13 as per the ArduinoISP example - they now plug into pins 8, 9, 10 and…
user1092
6
votes
3 answers

What's the fastest way to periodically communicate via serial?

I will be using an Arduino as a bridge between a computer high-level Java client and some low-level hardware computing units (e.g. other Arduinos). I need to find a solution to periodically communicate in both ways. It should be possible to send…
SagiCZ
  • 81
  • 1
  • 5
6
votes
2 answers

Disturbed digital out at 4Mhz on Arduino NANO

I've written a simple program - it generates signals over Port D at 4 MHz: #include int main(void) { DDRD = B11111111; PORTD = B00000000; while (true) { PORTD = 0; PORTD = 5; PORTD = 10; …
6
votes
1 answer

Connection problem with Arduino Mega 2560 and GSM shield ( official M10)

As I don't want to stack the shield over the mega 2560 board, I try to connect only the pins that used for GSM communication. Here are my connection: Pin 3 on Mega <==> Pin GSM Rx on Shield Pin 10 on Mega <==> Pin GSM Tx on Shield Pin 4 on Mega <==>…
MW_hk
  • 309
  • 2
  • 3
  • 7
6
votes
1 answer

How can Arduino control with a servo with only one wire?

I was playing with getting my servos to be on dedicated power, separate form the Arduino entirely, but obviously controlled by the Arduino. I originally had the ground of the Arduino joined with the - of the battery, but to my surprise my Arduino…
Alex Wayne
  • 185
  • 6
6
votes
2 answers

Calibrating Accelerometer Sensor

I'm working with an Adafruit LSM303DLHC Accelerometer Sensor hooked up to an Arduino. I've downloaded the appropriate libraries to make it work and uploaded the example sketch "accelsensor.pde". I then placed my sensor at rest on a flat surface…
Paul
  • 361
  • 4
  • 16