Most Popular
1500 questions
11
votes
2 answers
How to pause Arduino for 1 millisecond through MATLAB?
I have been able to connect MATLAB to my Uno with this line of code: a = arduino('COM4'); through this package: Matlab support package for Arduino.
Right now, MATLAB is my main script that will synchronize all the components [like the Arduino].
I am…
Blundering Philosopher
- 213
- 1
- 4
- 8
11
votes
2 answers
Can the Arduino interface with USB devices without the USB host shield?
I'm looking to connect various USB-devices to an Arduino Uno (specifically, a gamepad and a webcam, but I'm interested in the general case). Is this possible without using the USB host shield, since the Uno has a USB port and USB-to-serial…
Zenthirum
- 113
- 1
- 1
- 5
11
votes
1 answer
Is it OK to Serial.print(message), when the USB cable is not connected to a host PC?
Often I put a bunch of Serial.print( F("debugging messages") ) in my Arduino sketch.
Normally those messages go up a USB cable to a host PC so those messages can be seen on the serial monitor.
I want to install this Arduino as part of a stand-alone…
David Cary
- 1,112
- 8
- 23
11
votes
1 answer
I can't seem to receive data to the ArduinoStudio serial monitor on ubuntu 14.04
I'm using the Arduino Starter Kit so I have a Uno R3 and going through the examples I'm trying to read temperature data from my controller in Arduino Studio.
In essence my problem can be reduced down to
void setup() {
Serial.begin(9600);
}
void…
ivarni
- 211
- 1
- 6
11
votes
1 answer
Use Unix terminal instead of the Monitor on Arduino IDE
I want to make a shell or C script that interprets the Arduino serial input to run commands. For that, I will need to make that script be the Serial monitor for my arduino. Another reason I want to use scripts or the command line as a Serial I/O is…
John K
- 225
- 1
- 2
- 9
11
votes
1 answer
Cloud function getting stopped Parse.com in loop when calling from Arduino-yun
I have created a cloud function using the Parse.com Javascript SDK and I am calling those functions from Arduino. Following is code for the hello function:
Parse.Cloud.define("hello", function(request, response) {
…
Abhijeet Kulkarni
- 111
- 4
11
votes
2 answers
Are function pointer assignments atomic in Arduino?
The following snippets are from TimerOne library source code:
// TimerOne.h:
void (*isrCallback)();
// TimerOne.cpp:
ISR(TIMER1_OVF_vect) // interrupt service routine that wraps a user defined function supplied by attachInterrupt
{
…
Joonas Pulakka
- 350
- 2
- 11
11
votes
4 answers
What is the cheapest way to add wifi to Arduino?
I am trying to find some sort of wifi adapter for Arduino, it needs to be as small as possible (not a shield) and as cheap as possible.
So far I can only seem to find shields that cost about £10+ but I figured that if you can get a replacement wifi…
connersz
- 266
- 1
- 5
- 13
11
votes
4 answers
How do I know if a board fits my requirements?
I'm new to Arduino and I saw on their website that there are many different kinds of boards.
What are the differences, or to be more specific, how would I know which board meets my requirements? I understand that the shields can be connected to the…
Elior
- 213
- 1
- 4
11
votes
1 answer
Why does the Arduino Due have a native and USB programming port?
According to the schematics, the Arduino Due has two USB inputs:
Native
Programming
Why is this? And when would I use the different ports?
poseid
- 325
- 1
- 3
- 11
11
votes
2 answers
What I should be aware before I touch my Arduino?
Before you start to mess with a computer there are basic guidelines to be aware of, such as turn the power off and watch out for static electricity. What guidelines should I be aware of when I work with an Arduino board if I don't want to harm…
totymedli
- 2,909
- 3
- 19
- 22
11
votes
2 answers
Getting the contacts/ storing contacts to SIM card
I have the GSM shield and is there any ways to get the stored contacts on the SIM card? It seems that the GSM library does not support writing data onto/ reading data from the SIM card?
My aim is to store the SIM card's phone number and some…
MW_hk
- 309
- 2
- 3
- 7
11
votes
4 answers
How do I use RFID-RC522 with an Arduino?
I am working on a project for my local Makerspace, we have limited budget so I was hoping to use the RFID-RC522 el'cheap'o RFID/NFC readers on eBay, I received a couple of SPI based boards, they work, however the code examples for them are…
unknowndomain
- 322
- 1
- 2
- 10
11
votes
4 answers
Choosing wireless tech for lowest possible lag
I am drafting a pub quiz project, where the Referee gives a signal and multiple players push their buttons. The first to push wins the right to give an answer.
I want all buttons (referee's + X players) to be wireless. Since the best quiz players…
Sergey Snegirev
- 273
- 3
- 10
11
votes
2 answers
Understanding the compilation/linking/upload process (so I don't have to use the IDE)
I have started to play with and arduino UNO quite recently (without any prior experience with micro-controllers). I would like to use emacs instead of the IDE, and I'd also like to know what the IDE does under the hood, in order to be able to write…
Ash
- 225
- 1
- 11