Questions tagged [communication]

for questions about communication between multiple devices.

Filter by
Sorted by
Tagged with
1 vote
0 answers
11 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 ...
  • 19
-1 votes
1 answer
44 views

Using Assembly to setup a interrupt on Rx, pin 0 allowing the program to jump to the handler when data is loaded. Compiles but Interrupt never happens [closed]

Using extern "C" and loading code in the S file S file is as follows #define __SFR_OFFSET 0x00 #include "avr/io.h" ;------------------------ .global start Start: .ORG 0x0000 RJMP ...
  • 1
0 votes
0 answers
27 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 ...
1 vote
0 answers
8 views

Arduino SC2272-M6 direct connect

I have a device with a remote control. I want to control it using Arduino. The rc-switch library in combination with a FS1000A transmitter allows me to do that, but the connection is very unstable (...
1 vote
0 answers
22 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 ...
1 vote
2 answers
49 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 "...
1 vote
1 answer
70 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 ...
0 votes
2 answers
88 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 ...
-1 votes
1 answer
31 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 ...
1 vote
1 answer
134 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 ...
-2 votes
1 answer
94 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 ...
1 vote
0 answers
95 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 <--> ...
0 votes
1 answer
99 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 ...
-1 votes
1 answer
34 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 ...
2 votes
1 answer
101 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 ...
  • 33
1 vote
1 answer
22 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 ...
1 vote
2 answers
86 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 ...
0 votes
0 answers
33 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 ...
1 vote
1 answer
68 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....
  • 13
2 votes
1 answer
223 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 ...
  • 21
0 votes
3 answers
531 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 ...
4 votes
1 answer
801 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 ...
0 votes
1 answer
140 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 ...
  • 103
1 vote
0 answers
48 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 ...
  • 11
2 votes
0 answers
148 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 (...
1 vote
1 answer
272 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 ...
1 vote
0 answers
71 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 ...
  • 121
0 votes
2 answers
107 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 ...
1 vote
1 answer
88 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 ...
1 vote
0 answers
54 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 ...
1 vote
1 answer
726 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 ...
  • 15
4 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 ...
0 votes
1 answer
1k 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 ...
  • 177
2 votes
0 answers
78 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 (...
  • 177
0 votes
1 answer
218 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 ...
  • 103
1 vote
0 answers
206 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 ...
  • 11
1 vote
0 answers
77 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 ...
1 vote
1 answer
93 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 ...
2 votes
2 answers
132 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 ...
  • 882
1 vote
2 answers
131 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 ...
  • 143
2 votes
1 answer
68 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 ...
0 votes
1 answer
104 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 ...
1 vote
0 answers
43 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 ...
1 vote
0 answers
256 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 ...
1 vote
1 answer
129 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: > ...
  • 113
0 votes
2 answers
71 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 ...
  • 113
1 vote
1 answer
367 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 (...
1 vote
1 answer
317 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 ...
1 vote
0 answers
52 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 ...
1 vote
1 answer
292 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 ...
  • 141

1
2 3 4 5
9