Questions tagged [communication]

for questions about communication between multiple devices.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Can't pair two HC-05 (Master - Slave)

I want to connect two HC-05 modules, one master and one slave. So to that I need to access 'AT Commands'. Theoretically, I just needed to upload an empty code, and then connect the module to the ...
user avatar
1 vote
1 answer
31 views

Fluctuation in 4 half bridge load cell via combinator

I'm currently using a Sparkfun 4 Half-Bridge load sensor (50 Kg) with combinator and amplifier both are from the Sparkfun. Link:https://www.sparkfun.com/products/10245 (For Load Sensors)https://www....
user avatar
  • 13
2 votes
1 answer
68 views

How to use Sim7020_mini NB-IOT module

I bough Sim7020_mini module. I put IOT Sim card, and plug-in antenna, connect Rx,Tx into USB-TTL, then put supply into VIN (5 volt), LED power was lid on. Arduino Serial Monitor set into 115200, but ...
user avatar
  • 21
0 votes
3 answers
124 views

Problem on Sending float number and multiple float numbers

Im having trouble in sending float number and multiple float numbers. Im currently working on project matlab and arduino mkr1000. The situation is that i want to send float number and multiple float ...
user avatar
4 votes
1 answer
251 views

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 ...
user avatar
0 votes
1 answer
54 views

Limit on connector cable for HC-SR04 ultrasonic sensor

Is there a limit for the connector distance between an arduino and a HC-SR04 ultrasonic sensor? I have a set-up for measuring a liquid's level in a tank. The benchtop version worked OK, but when I ...
user avatar
  • 103
1 vote
0 answers
45 views

I have some problem with 433 MHz transmitter

I want to transfer float data between two Arduinos. This is what I sent: 0.00 0.00 0.00 0.00 -9.06 -9.80 16.85 16.24 0.00 -16.93 8.13 0.00 0.00 And this is what I received: 0.001****8u 0.001****8u ...
user avatar
  • 11
2 votes
0 answers
74 views

Why can't an Arduino/ATmega328 act as an SPI slave at anywhere approaching the maximum speed claimed in the datasheet?

The ATmega328 datasheet claims a maximum SPI slave speed of Fosc/4. For a chip clocked at 20MHz, that would be 5Mbps. However, my tests show that even with no processing whatsoever in the interrupt (...
user avatar
1 vote
1 answer
76 views

`time.sleep` in python script reading serial output causes erratic behavior

I am attempting to control the position of my computer's cursor using a potentiometer hooked up to my arduino nano. The arduino is running the following code: int potPin = 3; // select the input ...
user avatar
1 vote
0 answers
42 views

RFM69 Sending Failure

Hi I'm trying to get the RFM69 rf module to work on an arduino uno. Here is my code: #include <SPI.h> // Addresses for this node. CHANGE THESE FOR EACH NODE! #define NETWORKID 0 // Must be ...
user avatar
  • 21
0 votes
2 answers
61 views

Arduino Nano: Send a few bytes over Serial with as little delay as possible

My scenario is the following: I have a few buttons connected to an Arduino Nano, which is connected to my PC over Serial. Now I want to send a few bytes whenever a button is pressed, to be interpreted ...
user avatar
1 vote
1 answer
63 views

Arduino native USB port and Simulink [closed]

I am trying to communicate through the native USB port of the Arduino Due with a PC. The native port itself works, I have tested this. The problem is, that every time I upload my Simulink model via ...
user avatar
1 vote
0 answers
35 views

Arduino Visible Light Communication(Audio transmission)

I think this is a broad question. I'm currently implementing visible light communication with Arduino. I'm using a laser as my transmitter and LDR as my receiver. I'm able to transmit a text from one ...
user avatar
1 vote
1 answer
325 views

How to send multiple data over serial in one byte?

I'm currently reading 3 limit switches and sending those data over Serial.write using the following code. #include <SPI.h> #include <Wire.h> #include <arduino-timer.h> //Define ...
user avatar
  • 15
3 votes
4 answers
1k views

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 ...
user avatar
0 votes
1 answer
594 views

Seeeduino XIAO write and read PWM duration (period) using timers

I am trying to communicate between two Seeeduino XIAO (chip: ATSAMD21G18A-MU) by way of TCC capture using register timers. Square wave pulse duration varies from 200ns to 4us. I found these two code ...
user avatar
  • 177
2 votes
0 answers
72 views

Is a PWM phase duration set with OCR1A a reliable way to communicate values to other Arduinos?

I am working on communicating 4 switch states across multiple Arduinos using only one pin. It must be as fast as conceivably possible. Currently I have a master Arduino reading all 4 switches (...
user avatar
  • 177
0 votes
1 answer
99 views

No response from instrument via serial communication

I am using a Teensy 3.6 to communicate with an external instrument via a serial connection. However, I am not able to get the instrument to respond to my commands. The idea is to send a command from ...
user avatar
  • 103
1 vote
0 answers
67 views

Interfacing IOT- GA6 to Arduino

Good evening guys, Looking for any help on interfacing the above GSM/GPRS module with arduino. Connections: VCC and GND of module- separate power supply, 5v 3A URX to pin 2 UTX to pin 3 Common GND ...
user avatar
  • 11
1 vote
0 answers
61 views

No communication between two stations that include Arduino Nano and nRF24L01

I'm struggling to establish a link between two Arduino Nano using nRF24L01 (the module that contains PA and LNA). I assume I made a coding mistake (May be in the setup method?), and I need help in ...
user avatar
1 vote
1 answer
71 views

How do I connect my ESP32 cam to my old modem without using Wi-Fi?

I have an Arduino ESP32 cam that I want to use as a bird cam. I want to use my old Orcon wireless modem to connect with this cam. I will connect with cable from my computer to this modem. As my ...
user avatar
2 votes
2 answers
116 views

how can I accurately recieve potentiometer values over the USB port?

I want to read the analog values of my ardunio uno into a separate c++ program. On the Arduino I have a serial port initialized for 9600 baud: int sensorPin = A0; // select the input pin for the ...
user avatar
  • 838
1 vote
2 answers
89 views

SIM800L and UNO can't request web page

I know this module is super old but the network I am on still uses GPRS so should work. This is the module: I am using the Adafruit example scipt FONAtest. I can connect to GPRS <--- SHUT OK ...
user avatar
  • 141
2 votes
1 answer
60 views

I am in need of a usable communication library on 1-4 pins of ATTiny84 instead of I2C

I messed up when designing my PCB and just assumed that I could use software slave I2C with ATTiny84. The reason I did so is - I needed to use all of the analog inputs. The pins I have on my ...
user avatar
0 votes
1 answer
90 views

Listening Serial Ports

guys. I need your help. I have 6 Serial Channels and I need to listen this channel and be sure which channel is working? How can I do that? Can I listen this channel by using digital inputs? Or Do I ...
user avatar
1 vote
0 answers
39 views

Serial communication detect

guys. I am workin on a project. I have two channel for Serial RS232 communication. Main and Stand-By channel. If Main channel has some problem and, cannot communicate for 15 seconds then I want to ...
user avatar
1 vote
0 answers
147 views

ARDUİNO MODBUS TCP CONNECTİON

I am trying to communicate with PC by using modbus TCP communicate. When I use this code I can't communicate. Dou you know guys what is the problem? My ethernet Module is working I know that because I ...
user avatar
1 vote
1 answer
98 views

Error in I2C Communication Between Arduino and Raspberry Pi

The code below sends data to Raspberry Pi every 20 millisecond. The code works fine but sometimes python throws an error. Why this is happening? Should I give more time between writeData? Error: > ...
user avatar
  • 113
0 votes
2 answers
61 views

Serial communication between Arduinos

I'm trying to send data from Arduino Mega to UNO. The master code sends characters 'x' and 'a' every half second to the slave Arduino UNO. Slave receives the characters and switches the state of the ...
user avatar
  • 113
1 vote
1 answer
243 views

Message is sent multiple times from one arduino to another, using nRF24L01

I am trying to build a bidirectional communication channel, using nRF24L01 and two arduinos. The message is introduced using a button (but) in Morse code, decoded and then sent when another button (...
user avatar
1 vote
1 answer
141 views

How to connect an Output to a Pullup Input of another arduino

:tldr; Could problems occur if one connects a HIGH Output of one arduino to a PULLUP_INPUT of another while using differed power sources? Hi I'm building some devices for a LARP Dungeon (think Escape ...
user avatar
1 vote
0 answers
46 views

Arduino MKR GSM 1400 project - Establish call - Wait and hang call

I am implementing a GSM project using the Arduino MKR 1400 GSM board and I would like to achieve the following: Establish a call to a specific number, wait for a certain amount of seconds and then hag ...
user avatar
1 vote
1 answer
170 views

MKR 1010 disconnects COM-port on each upload

Each time I attempt to upload to the MKR WiFi 1010 board the COM-port gets disconnected, usually at one of the following points: Either it disconnects just after compiling/verifying. In this case the ...
user avatar
  • 141
1 vote
1 answer
696 views

Multiple Wire.write() not working for Arduino Nano I2C

Code for Master #include <Wire.h> void setup() { Wire.begin(); Serial.begin(9600); } void loop() { Wire.beginTransmission(9); Wire.write('c'); Serial....
user avatar
  • 11
2 votes
0 answers
41 views

Problem displaying data sent from Arduino Mega to Arduino Mrk1000 using serial communications

I've been doing a personal project. The idea of the bigger project is to feed my fish using a robot. My specific problem is that I would like to see some data from the various sensors that I will be ...
user avatar
1 vote
1 answer
300 views

communication between two arduinos using ENC28J60?

How can i connect and send data between two arduinos using a ENC28J60 ethernet adapters on both of them. Is there any guides or example codes for me to take a look from or any library which i can use ...
user avatar
2 votes
0 answers
74 views

SPI Arduino slave not recieving data correctly

Using an STM32L476RG Nucleo microcontroller board as the SPI master and an Arduino mega as a slave with pin 52 for SCLK, pin 53 for SS and pin 51 for MOSI on the Arduino. There is no issue with the ...
user avatar
  • 21
1 vote
1 answer
111 views

[SOLVED]how to send command to Gsm module from Arduino via serial port

Am using SIM7600X 4G HAT module (GSM) and Arduino Uno after I start the module and Arduino, I receive data from Gsm module but I can't send any command to it. On my Arduino board when I get data RX ...
user avatar
2 votes
0 answers
79 views

nRF24L01 +pa +lna link does not communicate

I’m trying to create a link between two nRF24L01 units. Each nRF24L01+-based module (purchased) is connected to Arduino Nano on a custom-designed PCB. The printed wiring is per the hardware ...
user avatar
1 vote
0 answers
41 views

processing data received via serial

Hey i'm trying to make an Arduino that can log key presses from a keypad and save that as a variable. When it receives information from another arduino via serial I want it to create a variable from ...
user avatar
  • 51
1 vote
0 answers
29 views

Directly synthesising an OOK modulated LF signal using a CSV file

I'm looking to transmit some data (CSV files) from a measurement instrument underground to a receiver on the surface. I've learned that in order to penetrate the limestone, low frequencies have to be ...
user avatar
1 vote
2 answers
216 views

I2C Devices Interference

I am currently trying to connect 3 I2C Devices to an Arduino Mega, as detailed in the fritzing sketch. The Sensors are: Max86150 PPG Sensor on a breakout board (5v), MLX90614 IR Temperature Sensor (3....
user avatar
0 votes
1 answer
88 views

Arduino with bmp280 sensor not entering void loop

I've been working on a project in which I need to know my altitude. For this purpose I've been using the BMP280 sensor. But I have an issue. I've been trying to test if the sensor works with the ...
user avatar
1 vote
0 answers
46 views

Windows Driver for Arduino error code 22

I'm trying to use avrdude to load an Arduino program with the console, but I have a Windows 7 x86 Professional with Service Pack 1 (old PC). When I install the Arduino driver that comes with the IDE ...
user avatar
-2 votes
1 answer
434 views

How to fix "expected primary-expression before '%' token" error code? [closed]

I'm trying to use this code to get temperature and humidity values from DHT11 sensor and send it to Python and I need to write the temperature and humidity values in the same line. But I keep getting ...
user avatar
  • 19
2 votes
0 answers
353 views

Real range of long range transceptor LORA RA-02 SX1278 with Arduino UNO

I'm working in a project where I have to send data from long distances (about 1 km) between 2 Arduinos UNO which are powered by computer's USB ports. The place is a small city with no large buildings. ...
user avatar
0 votes
1 answer
72 views

SIM7000E Waveshare can't do anything

Can someone help me? I'm using a sim7000e from Waveshare. One week ago it was working normally, but now it doesn't work at all; it even can't read the RX-TX communication. #include <SoftwareSerial....
user avatar
1 vote
2 answers
205 views

Can RX pin(s) be used as TX instead?

Title question. I do not need any receive communication pins, only transmission. Actually, I need as many transmission pins as possible on any Arduino besides a Mega2560 (to re/write the EEPROM of ...
user avatar
0 votes
1 answer
321 views

Sending 4 analog values from one arduino to another with I2C

I have modded a cheap drone controller to output its joystick values to an Arduino Nano. I made it to output its 4 pot values using I2C to another Arduino don't ask why. So my problem is that I need ...
user avatar
1 vote
0 answers
40 views

Arduino serial issue

My arduino mega should be communicating with another card (ANET8) and also with a DC resistance meter (with python code) using 2 serial ports, one using the USB(resistance meter) and the other one ...
user avatar
  • 31

1
2 3 4 5
9