Most Popular
1500 questions
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
- 371
- 4
- 16
6
votes
1 answer
It is possible to run an entire script on the Linux side? If so, how, what and where to do that?
I am new to using Arduino Yun and I would like to know if it is possible to run an entire script on the Linux side. In my case the script should execute a HTTP request to a remote server, parse the subsequent HTTP response and return some value that…
user502052
- 439
- 1
- 4
- 7
6
votes
1 answer
It is possible to program Linino to send HTTP requests and then use the returned values in sketch?
I am new to using Arduino Yun and I would like to know if it is possible to run a command from the Arduino sketch in order to make (probably, through the Bridge Library) Linino to execute a HTTP Request to a remote server. Then I would like to know…
user502052
- 439
- 1
- 4
- 7
6
votes
1 answer
Change Options for the AVR Programmer via Arduino IDE
I want to program an ATtiny through the Arduino IDE. I have a somehow strange programmer. But I can upload via avrdude by
avrdude -p attiny13 -P /dev/cu.usbmodemfa131 -c stk500v2 -F -B20 -U flash:w:programm.hex
It took a while to figure…
A.Schulz
- 467
- 1
- 6
- 9
6
votes
1 answer
Level tracking using optical or capacitance sensors
I am looking to devise a level tracking system using arduino and some sensors. My particular situation is I have solute that is coming out of solution and I want to track the formation rate of the solid phase as the salts settle at the bottom and…
TheCodeNovice
- 161
- 1
- 4
6
votes
4 answers
Save some arduino pins when driving a 4 digits 7 segments display
I built a simple clock using a 4 digits 7 segments LCD display. I display one digit at a time, switching on and off very quicky and cycling through digits.
Everything is ok, but I used 8 + 4 = 12 arduino pins. I need 2 more pins for other features…
Ghigo
- 163
- 1
- 5
6
votes
3 answers
How do I update the serial monitor without printing a new line each time?
I'm testing out an accelerometer and I want to know if there's a way to make it so that the serial monitor will update the values without printing a new line. Ideally the serial monitor would say something like:
Accelerometer X: $xval
Accelerometer…
Hammad
- 61
- 1
- 3
6
votes
4 answers
Can the Arduino Uno become an AVR programmer and use the ICSP header to program the target board
The Arduino Uno has an ICSP header that I imagine is for programming the board using a separate ICSP programmer. That is, its ICSP header turn the board into a target.
Can one use that same ICSP to program other boards, turning the Arduino Uno…
Ricardo
- 3,380
- 2
- 25
- 54
5
votes
1 answer
Why use .h files with .cpp?
At school, our teacher always taught us to use .hpp (C++ Header files) with our .cpp (C++ files). But Arduino seems to use .h files (with .cpp links?).
When someone is programming in C (without C++ compiler) they have the chance to get linked to a…
aaa
- 2,715
- 2
- 25
- 40
5
votes
1 answer
Do gyroscopes purposefully show erroneous data?
I tested an MPU-6050 (GY-521) using an Arduino Nano. I used the I2CDevLib and opened the MPU6050_DMP6.ino with the Arduino IDE. I opened the MPUTeapot.pde Processing-file with Processing. A few changes was necessary to make it work:
MPU6050…
Friend of Kim
- 1,533
- 3
- 16
- 16
5
votes
4 answers
millis() function with a button press
I am trying to use the millis() function to turn on a pin for a specified interval then turn off and turn on a second pin. It is intended to power a relay and offer a visual cue to when the cycle is over. Several of these need to eventually be…
HiWay
- 109
- 1
- 1
- 11
5
votes
1 answer
Can I damage an arduino by setting pins high with no load
I have an Arduino project that has 15 different output pins set. Some are currently attached to devices and others are not. Will testing my program cause a problem / damage if it sets pints to HIGH that do not have anything connected to them?
Hoytman
- 747
- 5
- 13
- 27
5
votes
1 answer
How to add the Wiring S board to Arduino IDE v.1.6.2?
My Arduino Uno is running out of memory to support my script (yes, I've tried several ways of optimize it already: PROGMEM, EEPROM, no Strings, and so on), so I would like to upload my script to my Wiring S board.
However, instead of "porting" all…
Germán Carrillo
- 151
- 1
- 5