Questions tagged [communication]

for questions about communication between multiple devices.

Filter by
Sorted by
Tagged with
1
vote
1answer
213 views

Wanted to control 2 servos with serial read [closed]

I want to use 2nd servo only when 1st is in up state by asking user whether he wants to fire or not.(code in bold is not working ) #include <Servo.h> Servo myservo; Servo trigervo; ...
1
vote
2answers
4k views

How to change i2c address for mpu9250?

I'd like to connect 12 mpu9250 sensors to one arduino board. I can't find documentation on how to change the addresses of mpu9250 boards. (i read through the reference ). Some tutorials talk about ...
4
votes
2answers
2k views

Does data coming in on Arduino serial port store for some time?

I am using Arduino Uno and my question is when data is coming on Rx pin and at that time our program is not checking Serial.available() Then after some time the program will check Serial.available()....
1
vote
2answers
952 views

SoftwareSerial problems

Hi we are using an Arduino Micro and working with a Bluetooth device and a Rfid Scanner from Sparkfun(ID-20 LA). For that we implemented 2 SoftwareSerial objects and the Serial port for the Serial ...
0
votes
1answer
1k views

Why is the IDE not able to find the board despite it being clearly seen and selected?

i'm having an odd problem where despite having the correct port selected 3 times i'm still getting an error as shown below: message: Arduino: 1.8.9 (Windows 10), Board: "Adafruit Feather M0, ...
3
votes
5answers
28k views

How to have an Arduino communicate with 3 other Arduinos?

I was wondering how I can get 4 Arduinos in total to communicate with each-other through a wired connection. The goal is to have the master Arduino send a number 0-100 to each of the other Arduinos. ...
0
votes
1answer
251 views

Unable to tell if error is from receiving or transmitting end

so I am having trouble sending data using software serial's write function. TX Code: #include <SoftwareSerial.h> SoftwareSerial TX(2,3); void setup() { // put your setup code here, to ...
0
votes
3answers
3k views

How to automatically reset the nrf24l01+ with code?

I have two separate nrf24l01+ connected to two different Arduino UNOs, one as TX and the other as RX. The problem is the connection stops after a while between them. On the Arduino COM screen I have ...
5
votes
3answers
23k views

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. ...
2
votes
2answers
234 views

Sending minimal data between two Arduinos far away from each other

Problem: I need to send small integer numbers (single-digit numbers suffices) between two arduinos located approximately 50-60m away from each other. The connection must be made through cables. I have ...
3
votes
2answers
15k views

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 ...
1
vote
3answers
2k views

Synchronization and Implementing hamming code on Software Serial

I want to learn and use Hamming Code. Would it be wise to alter the Software serial library to do this or just change the data being transmitted in the actual Arduino sketch? Also, for means of ...
1
vote
1answer
4k views

GPRS SIM900 and GPS NEO-6M don't work together

I'm trying to get GPS coordinates and send them to my API through the GPRS SIM900 and GPS NEO-6M shields. In setup(), I first start the GPRS shield and call the function that connects to the internet....
1
vote
2answers
5k views

Parallel connection to Wiegand 26bit RFID readers

I have situation where I need to read RFID cards. There is already installed Roger security system, Roger gate control board and two rfid readers in parallel. By default board and RFID readers ...
3
votes
2answers
1k views

Arduino cluster functionality - feasibility advice for arduinos to communicate using variable-length long strings?

My apologies. This is my first time on this site and I wasn't even aware that it wasn't some sort of discussion forum until receiving the automated response message to my already submitted vague and ...
1
vote
0answers
1k views

Arduino Due and BNO055

For a physical activity monitoring project, I am developing a prototype based on an Arduino Due and several IMUs (BNO055 from Bosch). I have to collect the data from the sensors simultaneously (3 for ...
1
vote
1answer
51 views

My two slave SPI setup on arduino not working correctly

I am trying to connect a DPS310 and an ADXL345 to my Arduino using 4 wire SPI. When the individually tested (i.e. each has its own script), the output is correct, however when the scripts are combined ...
1
vote
2answers
115 views

Read Internal Registers of RS485

I am trying to interface sele EM2M, I am using Arduino Mega with RS 485 module. I want to read the internal registers I am using ModbusMaster library. The data which I want to receive is in the ...
1
vote
1answer
135 views

RH_RF24_MAX_MESSAGE_LEN in RH_RF24.h

I use RH_RF24.h to control Si4463, and realize some simple communication between two Si4463 . But I don't know the mean of RH_RF24_MAX_MESSAGE_LEN in this example. RH_RF24_MAX_MESSAGE_LEN is a ...
0
votes
2answers
1k views

2,5m cable too long for LCD connected to Arduino UNO?

So i got that 2,5m cable wired with the LCD and the arduino, but i keep getting those weird characters showing up on the LCD. Clearly there is a signal loss between the components but there has to be ...
0
votes
1answer
201 views

MQTT vs Tinkerkit sensor Shield

I'm working with this http://knolleary.net/arduino-client-for-mqtt/. I'm using Arduino Uno + Ethernet shield + Tinkerkit Shield. But, if i have only Arduino Uno + Ethernet Shield, i can connect my ...
0
votes
1answer
2k views

Write array to serial port

The Code Below now works: void SendCTRL (String &input) { const char *hin = input.c_str(); // Get character array int clen = input.length()/2; unsigned char cmd[clen+1]; // Leave a byte ...
0
votes
3answers
2k views

Why am I always getting 48 with serial communication?

So I want to send some data from Matlab to Arduino. To verify that I am getting the correct data I am sending the data back to Matlab (since I get errors if I open the serial monitor, if there's an ...
0
votes
1answer
646 views

Sending Analog Data with and IR LED

This is the idea. I have 2 Arduinos. One with an IR LED and the other with an IR receiver. I want to read the values of multiple sensors and transmit it to the other Arduino via IR. I know how to send ...
0
votes
1answer
131 views

CAN-Bus shield, SD-card module & LED_BUILTIN use D13; possible collision?

To my knowledge the SeeedStudio CAN-Bus shield utilizes D13, and so does the SD-card module I use. And also Arduino Uno's LED_BUILTIN is 13. Am I in danger of some sort of collision here? I have read ...
0
votes
1answer
159 views

How to fix baud rate when hardware capacity has a low limit?

I have a transmitter(simple 433 MHz transmitter) connected via digital pins on the Arduino. The receiver is connected to another arduino. Now, I kept that pin on HIGH for 1 second, and it transmits ...
-1
votes
1answer
426 views

Speed of comunication by SI4463 under RH_RF24.h

As in this SO question, I use use a RH_RF24.h to control an SI4463. In RH_RF24, there is not anything about the speed of communication. I need the way to control the speed of communication. Because I ...