Most Popular
1500 questions
8
votes
1 answer
Can I use analogRead to read a digital pin?
analogRead(nGPIO_max + lockerVal) were nGPIO_max(maximum digital pins in Arduino Uno is 13) and lockerval is 2. Which pin is it reading?
Charan
- 83
- 1
- 1
- 7
8
votes
2 answers
What maximum length of wire can I use to connect a push button to an Arduino?
I am trying to get 8 stop buttons to cause an Arduino UNO to activate a single relay!
The stop buttons have been placed 30' to 250' away from the Arduino uno board.
Q: How far can you go with 5v and still get signal back?
Q: Is there a way to…
The Earl
- 101
- 1
- 1
- 3
8
votes
3 answers
Manchester Library Won't Compile for Attiny85
I am creating a wireless sensor using an Attiny85. I want to send the data to an arduino uno, so I purchased the 315mhz rf link kit from spark fun. Since the Attiny85 does not have a TX I decided to use the Manchester library however it won't…
Joel
- 523
- 3
- 15
8
votes
1 answer
How does the reset button work on the Arduino?
I'm confused about how and when to use the reset button on the Arduino. Do I simply press the button while it is on? Is it simply restarting the board or clearing the uploaded code as well? Currently when I press the button while my Uno is powered…
Michael Rader
- 326
- 2
- 5
- 17
8
votes
2 answers
Basic makefile for avr-gcc
I would like to make a makefile for compiling c programs for the arduino. I am somewhat familiar with make but have never used it with avr-gcc. What is the simplest way I could put the commands below in a makefile?
$ avr-gcc -Os -DF_CPU=16000000UL…
connorwstein
- 183
- 1
- 1
- 4
8
votes
3 answers
How to see log from Arduino IDE?
Where can I see outputs from such instruction in an ino file ?
Serial.println("my message");
user9891
8
votes
4 answers
Difference between print() and println()
What is the difference between print( ) and println( )?
I see none when I run a code.
Phyman 100
- 111
- 1
- 1
- 6
7
votes
1 answer
Day-night powered Arduino
What should I do to have an Arduino Pro Mini 5V (clone) powered by a 5V solar panel during the day and by battery during night which will be charged during the day by the solar panels.
is there any guide out there?
is it possible with the 5V…
Christos Mitsis
- 354
- 4
- 15
7
votes
2 answers
Ethernet shield and IPv6 support
Have you heard about support for IPv6 protocol for any Ethernet shield?
As far as I know only IPv4 is supported.
Maybe some one would like to write library?
Max
- 173
- 1
- 4
7
votes
4 answers
How to connect Android phone to Arduino?
Is it possible to connect an Arduino to an Android Phone and use it for input/output?
Are connections possible over USB? Or do I need to have a wifi or Bluetooth shield?
Chintan
- 171
- 1
- 3
7
votes
2 answers
"Broken Pipe" when uploading to Arduino UNO
I just got my Arduino UNO and I'm trying to upload the blink example but the upload fails with
ioctl("TIOCMSET"): Broken pipe
ioctl("TIOCMSET"): Broken pipe
avrdude: stk500_recv(): programmer is not responding
ioctl("TIOCMSET"): Broken pipe
I have…
Jonas
- 173
- 1
- 1
- 4
7
votes
7 answers
Good button debouncing/stateChange library
I need debouncing/stateChange for a push button configuration. Is there a good library for debouncing/stateChange buttons in Arduino (without delay)?
Ariyan
- 171
- 1
- 1
- 6
7
votes
4 answers
Is it possible to connect many arduino uno in one pc?
We have many Arduinos and we will be putting each of them in a cubicle. All of them are connected to only one PC. The PC will stand as a server were you can control your Arduino there.
Ashley Templado
7
votes
4 answers
What's the most efficient implementation of map(x,0,1023,50,250)?
I recently noticed how the map() function in Arduino was bulky in both terms of flash space used and time taken to execute, largely because it deals with long and involves a division and multiplication.
Many times you can replace maps with more…
Cybergibbons
- 5,350
- 7
- 33
- 51
7
votes
3 answers
Using Arduino for Industrial process
I was wondering if the Arduino is applicable for Industrial monitoring, I want to make a real time status of the presses in our company. I haven't seen or read much about people using Arduino at an Industrial level, most of what I have seen or read…
MoralesJosue
- 73
- 5