Most Popular
1500 questions
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
- 429
- 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
- 429
- 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,370
- 2
- 24
- 53
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,695
- 2
- 24
- 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
- 26
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
5
votes
3 answers
How to calculate phase shift between two square waveforms with Arduino DUE
I have two square wave signals with the same frequency. I want to measure the phase shift between these two signals. There will be a small phase difference between two signals. (0-90 degree) and the frequency will vary in the range 100mHz - 50kHz. I…
chaya
5
votes
5 answers
How can I make a garage door laser sensor?
I would like to make a sensor that detects when my car is clear of a certain point. So, when backing in my car to my garage, I would have a beam and sensor. When the beam is broken, an LED light would turn on and then when the beam gets through, the…
Armstrongest
- 151
- 1
- 3
5
votes
1 answer
How to generate gcode for Arduino Mega 2560 and Ramps 1.4 CNC Router
I had a Prusa I3 3D Printer which use Arduino Mega 2560, Ramps 1.4 and Pololu - A4988 Stepper Motor Driver.
I want to convert my 3D printer to CNC Router using my Dremel with Flexible shaft like this.
I found the one project on instructables.com…
ANKIT JAIN
- 185
- 2
- 4
- 12