Skip to main content

Questions tagged [communication]

for questions about communication between multiple devices.

Filter by
Sorted by
Tagged with
1 vote
0 answers
59 views

Is it possible to create a RS485 bridge over Wifi using 2 ESP07's

I've got a solar energy inverter that has a RS485 port for connecting a meter. You can place a separate energy meter in your distribution panel at home, that measures things like power usage, purchase ...
user2190492's user avatar
1 vote
1 answer
65 views

Which Bluetooth Module can I use with Arduino Micro?

I am building a HID (mouse) using Arduino Micro. I want the mouse to communicate with the PC wirelessly. I am wondering which Bluetooth module works for me either HC-05,06 or any other?
Abubakar's user avatar
1 vote
1 answer
104 views

Communication between two ESP32, USART vs RS232 with MAX3232

I have two ESP32 that are communicating via USART (TTL) on the Serial2. The TX2 pin of ESP_Alice is connected with the RX2 pin of ESP_bob. The RX2 pin of ESP_Alice is connected with the TX2 pin of ...
Carlo Tavian's user avatar
0 votes
1 answer
46 views

UCSR0B equivalent for ESP2866

I'm trying to convert an Arduino Uno program for use with the ESP2866. I've converted most of the program successfully, but there are a few lines I can't seem to figure out. For example, UCSR0B = ...
blk986's user avatar
  • 1
2 votes
2 answers
471 views

ESP32 SPI Mutual Communication

I have two ESP32 cards. I want to set one of these cards as Master and the other as Slave and communicate via SPI. I have done this before on Arduino Uno, but I cannot do this on ESP32. Below are my ...
Enes Orhan's user avatar
1 vote
0 answers
96 views

Bluetooth (HC_06) on the Attiny85

I'm trying to make a hc_06 Bluetooth controller work on the attiny85-20pu. In the end, I want to control a stepper motor through Bluetooth. But for now to keep it simple I'm searching for a working ...
Sudras Elagor's user avatar
2 votes
1 answer
296 views

433MHz RF run away TX burst with ATTiny85 IC

I have recently created a sketch for an ATTiny85. My project consists of: 1x ATTiny85 IC only 1x 433MHz RF module => using data pin 2 2x input digital pins => using pin 3 and pin 4 Running at ...
Jonas's user avatar
  • 141
1 vote
0 answers
267 views

Arduino (Mega 2560) Ethernet Shield 2 (W5500) - Can't connect

I'm having issues connecting to my arduino mega via ethernet. Its a very basic start to the code just to get the network side up and running, them im going to add in what I actually want it to do. For ...
Isaac M's user avatar
  • 11
1 vote
0 answers
243 views

How to use multiple PN532 over i2c bus(es) and SPI?

I am working on a project that involves 3 PN532_modules to an ESP32, which sends the Tag_ID over BLE. Plan A was to use One module on i2c_1, second on I2C_2 and third over SPI. The SPI one works as ...
user91535's user avatar
0 votes
1 answer
13k views

RX and TX pins on esp32

hello guys i'm new to this field i really need your help i want to wire a GSM module (SIM808) to a ESP32 board using the TX and RX pins so the pins are labeled RX and TX no pin number like the others ...
Hach Rbh's user avatar
1 vote
0 answers
252 views

Fast wired communication protocols

I have an esp32 connected to an FPGA about 2 cm on a PCB. I am trying to send a constant data stream to the FPGA at a throughput of around 1.5 MB/s. This is too fast for UART, I've been considering ...
Orbitronics's user avatar
2 votes
3 answers
699 views

Display images on Arduino LCD screen from PC

I am new to arduino and I am wondering if it is possible to store image data on my computer and send it to my arduino over the USB cable (which is also used for power) to display on a TFT LCD display ...
Clinterpottrmus's user avatar
1 vote
2 answers
69 views

converting comma delimited Serial message to 7 Unsigned Long variables

Working on a project where I get an input where its a comma delimited string like: "255,10000000,42949672950254,12,22". and then the numbers (no commas), would be split into 6 Long ...
The Oracle's user avatar
1 vote
0 answers
59 views

Serial does not receive all chars

I'm trying to follow Serial Input Basics to build a program which receives commands over serial like "<led:12,34,21>" but i'm stuck on receiving the characters from serial... I have ...
Taako's user avatar
  • 111
0 votes
1 answer
166 views

Troubleshooting UART communication between nano 33 ble sense r2 and Adafruit Feather 32u4 with LoRa Radio Module

I've tried connecting the gnd's for both the boards and have connected rx to tx and vice versa in both the boards. I've powered both by batteries, and I'm trying to get sensor data from the nano, and ...
Y K's user avatar
  • 3
2 votes
0 answers
423 views

Sending an image captured using ov7670 using arduino and serially transmit it to python

I am working on using an ov7670 camera module with arduino uno,capturing the image frame wise and transmitting the image serially line by line of each frame to python for image processing, however i ...
Gunjan's user avatar
  • 29
1 vote
1 answer
405 views

AD7768-1 library " Arduino "

I am working on a project and I need an AD7768-1 library to make this analog-digital-converter talk to my Arduino using SPI. " The AD7768-1" doesn't exist in Arduino's library. Thanks in ...
Jaafar AIT M'BAREK's user avatar
1 vote
0 answers
126 views

UART SERCOM on Pins 11-13 Arduino M0 (SAMD21)

I am a newb at coding. Does anyone have any code laying around or some time to write some to send data over UART SERCOM on pins 11/12/13 on a SAMD21 board like the Arduino M0? I am trying to send a ...
Charlie Nicholson's user avatar
1 vote
2 answers
241 views

Arduino MEGA - How to send and receive data asynchronously?

i am newbie to this so i hope i can explain my problem clearly; Arduino MEGA connected to PC via USB port. I am using an encoder to trigger function to send data to pc, data is a simple string "...
Nocturnale's user avatar
1 vote
1 answer
771 views

UDPSendReceiveString example using Arduino Due with ENC28J60 Ethernet Module

I was trying to learn how to use UDP protocol to use in my automation project to send commands to an Arduino Due on ethernet with an ENC28J60 breakout board which I have connected to the Due from SPI ...
Tunguska's user avatar
  • 111
0 votes
3 answers
221 views

Arduino Timer Drift Issue

I have two Arduinos that communicate over serial. Each arduino runs a TDMA algorithm where each arduino is assigned one timeslot. The arduinos should transmit during their timeslot, which does work ...
roberthayek's user avatar
-1 votes
1 answer
60 views

Can an Arduino and an NI USB-6009 DAQ board interfere with each other's signals when they are simultaneously reading signals from different sensors? [closed]

Hello dear Arduino SE community. I have 5 sensors. I read 4 of them with an NI USB-6009 DAQ board and I read the fifth one with an Arduino UNO R3. Though, with the fifth sensor not only I read a ...
Ivan Nepomnyashchikh's user avatar
1 vote
1 answer
975 views

What is the best (fastest and most robust) way to send messages back and forth between Python on a PC and an Arduino, over serial?

I am trying to communicate between a PC running Python using PySerial and an Arduino. The Arduino itself has a CAN shield, and is responsible for interfacing with a motor. My goal is for the PC to ...
ITregear's user avatar
-2 votes
1 answer
225 views

Serial communication between python and Arduino nano BLE sense 33 for running six DC motor

I am controlling six DC motors by varying their voltage. I have figured out the voltage required for each motor in python; now it's time to send this voltage through Arduino Nano BLE Sense 33 to run ...
Vishal Naik's user avatar
1 vote
0 answers
317 views

Adding Serial2 ends up blocking nano rp2040

Background Info I want to have two serials in my arduino nano rp2040 connect, in order to be able to communicate using the following scheme. (μC is a microcontroller). μC1 <--> μC2 <--> ...
MIKE PAPADAKIS's user avatar
0 votes
1 answer
228 views

The RF 433MHz receiver code is working only when I reset the Arduino

I'm working on RF modules using Arduino but I observed the if statement is only running once and I need to reset the receiver every time to make it work with real-time changes in the transmitter. I ...
Vishnu Vardhan's user avatar
-1 votes
1 answer
57 views

I cannot communicate using RS232 between Arduino and Lakeshore Fluxmeter. How do I get data back from the fluxmeter?

I am using an Arduino Leonardo and the DFrobot RS232 shield to try and communicate with a flux meter. I am trying to write "UNITS?", which would have the fluxmeter send back a single byte ...
Dominic Heye's user avatar
2 votes
1 answer
862 views

Is there a way to connect two Arduinos, when one of them has all of its pins occupied?

I want to connect an Arduino Uno to an Arduino Nano, so that it can send signals. The problem is that the Arduino Uno has a motor shield connected to it, and it takes up all pins of the Arduino. This ...
Julius's user avatar
  • 33
1 vote
1 answer
49 views

Noise in RF 434 transmitter and receiver

I'm working on RF transmitter and receiver modules using two Arduino UNOs. I'm getting an additional noise on the receiver side in serial.println. To be more clear about the question. Hre is my ...
Vishnu Vardhan's user avatar
1 vote
2 answers
232 views

Will many nrf24L01 radio modules running at the same time cause interference?

I am working on a battle bot type of project where their will be 4 transmitters communicating with 4 receivers attached to the robots in the 4 foot x 4 foot playing field. Are their any complications ...
Rishikesh Anand's user avatar
0 votes
0 answers
68 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 ...
Bikke21's user avatar
1 vote
1 answer
150 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....
Ayub 's user avatar
  • 13
2 votes
1 answer
596 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 ...
Widoyo's user avatar
  • 21
0 votes
3 answers
982 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 ...
haniff derani's user avatar
4 votes
2 answers
2k 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 ...
Infinity Computers's user avatar
0 votes
1 answer
498 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 ...
Ken's user avatar
  • 103
1 vote
0 answers
53 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 ...
mahdi86's user avatar
  • 11
2 votes
0 answers
468 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 (...
Infinity Computers's user avatar
1 vote
1 answer
684 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 ...
Manav Bokinala's user avatar
1 vote
0 answers
108 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 ...
Aaron's user avatar
  • 121
0 votes
2 answers
278 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 ...
Chris Stenkamp's user avatar
1 vote
1 answer
163 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 ...
Lemonbonbon's user avatar
1 vote
0 answers
140 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 ...
Zampa_frazer's user avatar
1 vote
1 answer
1k 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 ...
Nisal's user avatar
  • 15
4 votes
4 answers
3k 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 ...
Damn Vegetables's user avatar
0 votes
1 answer
2k 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 ...
MeSo2's user avatar
  • 177
2 votes
0 answers
98 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 (...
MeSo2's user avatar
  • 177
0 votes
1 answer
529 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 ...
baccandr's user avatar
  • 103
1 vote
0 answers
447 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 ...
Dean N's user avatar
  • 11
1 vote
0 answers
105 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 ...
user1511360's user avatar

1
2 3 4 5
9