Most Popular
1500 questions
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
2 answers
Finite loop runs infinitely
To gain better understanding of both Rust and Arduino (Uno), I'm trying to write direct hardware code for Arduino in Rust. Here's a very simple LED blink example, that I've tried to write.
I've made use of one library (crate) called avrd which only…
zombiesauce
- 213
- 2
- 7
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
1 answer
Why does Arduino's servo library use pulse widths of 544 to 2400?
I learned in school that typical servos use a simple "PWM" system to control a servo. To do this, we would generate a 1000 µs pulse to put the servo at 0 degrees and a 2000 µs pulse to set it at 180 degrees. Simple basics, right?
I recently tried…
DSdavidDS
- 71
- 1
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,420
- 7
- 34
- 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
- 173
- 5
7
votes
4 answers
How to add hysteresis to threshold values?
This code compares the analog input value against two thresholds, having three voltage regions. Then it will turn on an LED according to what region the read voltage is in.
The problem is that when the voltage read is very close to the threshold,…
Andy
- 103
- 2
- 2
- 7
7
votes
1 answer
Warning Arduino CMakeLists "Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES"
I'm trying to build an Arduino example without using its IDE. My OS is Windows 8.1 and I'm using the last version of CMake (2.8.12.2) and MinGW (GNU Make 3.82.90).
I downloaded the Arduino CMakeLists and I learned all about make/upload any firmware…
fenix688
- 173
- 1
- 7
7
votes
4 answers
Optimizing code for ATtiny10
I'm trying to squeeze code onto an ATtiny10, but I'm just not getting there. I'm using 1060 bytes and only have space for 1024 bytes.
The code is simple enough; I need to read a button pin. If high it needs to pick a random value and that causes one…
Earthbound Ruben
- 111
- 4
7
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
- 171
- 3