Questions tagged [communication]

for questions about communication between multiple devices.

The "communication" tag is for the broad concept of communications between devices, including such things as:

446 questions
15
votes
2 answers

What are the fundemental differences of different Bluetooth modules for beginners?

I'm a beginner to microcontrollers and electronics, albeit not really to computers and programming. Starting out with the Arduino, I came to a point whereby I'm really interested in getting my prototype to talk to a mobile device or a computer to…
Phil
  • 435
  • 2
  • 4
  • 12
14
votes
2 answers

Difference between /dev/ttyACM0 and /dev/ttyS0 (Arduino IDE ports under Linux)

I use the Arduino IDE to upload sketches to my Arduino Uno. My OS is Linux Ubuntu 14.04 LTS. The Arduino IDE has two ports by default for communication with the Arduino Uno: /dev/ttyACM0 /dev/ttyS0 What is the difference between these two ports ?…
martin_0004
  • 271
  • 1
  • 4
  • 8
8
votes
6 answers

Two Arduinos Send data via Analog Pin?

What I want to do is allow Arduino A to send some constant value to Arduino B. I sense something inherently wrong with my approach, but I cant figure out what it is. So in the diagram below you will see Arduino A setting its Analog Pin 0 as OUTPUT…
lucidgold
  • 233
  • 1
  • 3
  • 9
7
votes
2 answers

Difference between Wire.setClock() method and TWBR method for changing I2C Frequency

I want to change the I2C frequency of my Arduino Mega 2560. I did find two methods. One method is to change the TWBR variable after Wire.begin(). The other one is to use Wire.setClock() after Wire.begin(). Whats the difference between the 2…
William Roy
  • 515
  • 4
  • 10
  • 22
7
votes
4 answers

Options for communicating between Arduinos

I'm looking to communicate between ~5-10 Arduinos to send commands and data between them. By "Arduino" I mean the ATmega328 programmed using the Arduino programming framework. Each of the devices would be on the same PCB. I know I2C and SPI can…
waspinator
  • 225
  • 4
  • 11
6
votes
2 answers

Is the arduino hackable when using communication shields?

Let's say I have an arduino Uno connected to a W5100 ethernet shield. The arduino communicates with the ethernet shield using the tx0 and rx0 pins. When I upload a new script to the arduino using USB, it uses the same tx0 and rx0. So that made me…
Orry
  • 163
  • 4
6
votes
4 answers

Why/when to use IoT publish/subscribe protocols rather then RESTful HTTP?

I am sending data (GPS coordinates) from Arduino once a minute with HTTP POST request to REST API (in OpenShift PaaS). Data is then stored to MySQL db. Would so called "IoT" publish/subscribe protocols (XMPP, MQTT) be better? Why? When exactly do…
5
votes
2 answers

Programmatically Change Arduino Com Port Name

I have some devices that, when I plug in, will display a unique name, usually a serial number, as opposed to "COM #" is there any way I can have my Arduino Uno (or Mega) give itself a different name in my program's set up structure? Edit: My purpose…
ATE-ENGE
  • 941
  • 3
  • 19
  • 32
5
votes
1 answer

How can I automatically get the time from the computer into an alarm clock (starts at 00:00 when plugged in)?

Okay so I did this project from Fritzing first in my circuits.io project then on the arduino itself, it all works fine just how I wanted it. But here is what I wanted to add, as you can see when you plug the arduino in it will set the time to 00:00…
Zanic L3
  • 181
  • 1
  • 4
5
votes
2 answers

Arduino Uno "WiFi Developer Edition" - How to disable WiFi?

I'm using Arduino Uno "Wifi Developer Edition". I made my Arduino to get connected with my local network based on http://www.arduino.org/learning/getting-started/getting-started-with-arduino-uno-wifi Now I would like to disable it and work with USB…
Trezor
  • 91
  • 4
5
votes
3 answers

Arduino Unreliable Serial communication

After reading the following 2 articles: https://hackingmajenkoblog.wordpress.com/2016/02/01/reading-serial-on-the-arduino/ https://hackingmajenkoblog.wordpress.com/2016/02/04/the-evils-of-arduino-strings/ I have get rid of the complete String class…
qlesk
  • 101
  • 1
  • 1
  • 5
5
votes
3 answers

Sending a value from one arduino to another

I wonder if it is possible to send a value from one arduino to another. Basically, I have one arduino measuring let's say weight, but I want to display that value using an lcd in another arduino. Is it possible to send the value to a pin using…
Camilo
  • 359
  • 2
  • 5
  • 12
5
votes
2 answers

Is the SIM900 3G? Or is the SIM900A able to connect to 3G?

I would like to state that I am not familiar with the whole cellular connection thing. But I was wondering if the SIM900/or/SIM900A is 3G and will work with PTel Mobile. I need this Arduino to be able to travel and needs to connect to every PTel's…
Marcello B.
  • 190
  • 2
  • 2
  • 10
4
votes
2 answers

How to make an Arduino act reliably as an SPI slave?

I want two Arduino Nanos to communicate with each other using SPI, ideally at around 2MHz or faster. I have two standard Nanos running at 16MHz on 5V. The master uses SPI.transfer() to send an array across the wire.¹ For ease of troubleshooting,…
4
votes
4 answers

Bi-directional UART communication on single data wire, possible?

The nano is inside of the house, and the pro mini is outside of the house. I want to send/receive text between them. The communication will be always nano sending text to mini, and then mini sending text to pro in response. There will be no case…
Damn Vegetables
  • 357
  • 1
  • 3
  • 9
1
2 3
29 30