Questions tagged [communication]

for questions about communication between multiple devices.

89 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
84 views

why is memcpy of unsigned long killing my sampling speed?

I'm using a Mega 2560 to communicate with a mixture of analog (i.e. measured via analogRead()) and I2C based sensors. Sampled data is placed in a 16 byte array, then written to an SD card once a 512 ...
2
votes
0answers
1k views

Arduino Uno doesn't work as Manchester code receiver

I'm sending some data from ATTINY85 to Arduino UNO using 433Mhz modules. Coding is Manchester using Manchester.h library from here. Transmitting data works perfectly, 433 receiver gets data alright. ...
2
votes
1answer
528 views

ADS1262 and 2.2 SPI TFT (Two SPI Slave) with Arduino

I am interfacing two SPI slave module i.e. ADS1262 and 2.2 SPI TFT with the Arduino Ethernet board. When I test each device on its own it works. Initially, I interfaced the TFT to the Arduino and it ...
2
votes
1answer
788 views

Making two Arduinos/MKR1000 communicate

I am trying to create a project in my free time just for a bit of fun - it consists of two MKR1000 (one acting as a web server connected to one laptop, and the other acting as a web client connected ...
1
vote
0answers
34 views

Multiple arduino connections problem

I have 2 Arduino Mega 2560 connected via USB to my Ubuntu 18.04 machine. When I boot, one connects to /dev/ttyACM0 and the other connects to /dev/ttyACM1. Communication works perfectly. However, ...
1
vote
1answer
59 views

Convert Arduino MEGA Code to Arduino DUE Code?

I've been working with MEGA before. This code works completely with MEGA. I'm still at beginner level in Arduino. Q: How do I adapt this code to DUE? Note: I'm asking this question because I think ...
1
vote
0answers
67 views

Creating PPM signal from 4 integrers

I am currently building a MultiWii based drone, I have built the emisor-receptor that interface 4 analog signals(4 potentiometers to control the drone) and it works perfect, the receiver(arduino Nano, ...
1
vote
0answers
81 views

Can I configure pairing for HC-05 and Arduino, and use the HC-05 without Arduino after?

I have a system that is outputting data via its serial, and I need to relay that data to my PC wireless-ly. If I were to setup an Arduino and HC-05 at the system's side to relay the data, that would ...
1
vote
0answers
49 views

Unicast image transmission using Xbee

I've been working on image transmission using XBee S2B Pro modules and Arduino Mega. Main task is to transmit a jpg image taken by a jpeg serial camera at the transmitter and send it to a microSD ...
1
vote
0answers
1k views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
1
vote
1answer
856 views

How do I send tweets with flame sensor and ESP8266?

I want to send tweets with flame sensor and ESP8266. My flame sensor is digital. I think everything is good but it doesn't send. This is my code: #define ag_ismi "SSID" #define ag_sifresi "PASSWORD" ...
1
vote
0answers
522 views

Manchester.h message format

I'm sending some data by 433Mhz transmitter using manchester.h library from here https://github.com/mchr3k/arduino-libs-manchester and I'm trying to wrap my head around message format. In manchester....
1
vote
0answers
415 views

SPI communication between two Ethernet Shields (W5100)

I am a newbie to the world of IoT, I want to ask... Is it possible to connect two Ethernet shields with SPI? And if yes, how can I codes them? I have reference from http://www.gammon.com.au/spi and ...
1
vote
0answers
483 views

Arduino Serial Communication Issue

I state that I have already written a similar question on StackOverflow thinking that the problem is with my computer software. Anyway, after some shell debugs, I notice that the real issue is on the ...
1
vote
0answers
380 views

Connection between Arduino Mega 2560 , ESP8266-12F , PCF8574

Another start for achieving something new , I want to connect ESP8266-12F , Arduino Mega 2560 Board And the PCF8574 I/O Expander (I can use MCP23017 also) together , Where ESP8266-12F will take ...
1
vote
0answers
50 views

Arduino clone changing its serial port on slight physical displacement, even during an ongoing serial communication

I'm using an Arduino clone for serial communication. However, as soon as I even touch the board, it resets, and the serial communication stops. When I view the serial port using the 'Tools' menu of ...
1
vote
0answers
134 views

master slave control of 2wd robots using xbee

Hi there I just need to ask you how I can send command from master robot to slave to follow using XBee. I have configured both the XBee in AT mode, but I totally don't have the clue how the program. ...
1
vote
0answers
1k views

Sending GPS data between two Arduinos using Easy Transfer

I'm trying to get GPS data transmitted from one Arduino UNO to a second unit to eventually be displayed on an LCD and stored in an SD card. I am using Xbees S2C's on Xbee Shield's to do this. The ...
1
vote
0answers
380 views

Communication serial port with matlab

I am trying to communicate with a serial port trought matlab. This is my code: delete (instrfindall) clear all close all clc; s=serial('COM4'); set(s,'BaudRate',4800); set(s,'DataBits',8); set(s, '...
1
vote
0answers
181 views

Receiving and transmitting messages simultaneously

tldr; I am writing a mesh network software using arduinos. I need to wirelessly receive, process, and transmit data, all simultaneously. I am aware of protothreads library, and the other software ...
1
vote
0answers
38 views

Get the last piece of data received on a serial port

I'm using software serial to use multiple ports as serial in an arduino UNO and each of those is constantly receiving data. I want to know a way to get just the "newest" data each time I listen to one ...
1
vote
0answers
2k views

Pelco D Library for Arduino

Does anyone know of any Pelco D libraries available for Arduino? I already have a PTZ joystick controlling 3 PTZ cameras, but I would like to add an Arduino 'intelligent' controller capable of ...
1
vote
0answers
409 views

Serial Monitor Just Stops Working

I am communicating with two Arduinos with serial. The program works great for a while but then the serial monitor stops showing values in the RX code and will not work again unless the code is ...
1
vote
0answers
582 views

ESP8266 and Arduino bidirectional streaming from and to a website

I was looking for some easy tutorial on bidirectional communication via ESP8266 connected to Arduino UNO. I want to send and receive strings from and to JQuery based website. However, I couldn't find ...
1
vote
0answers
557 views

Arduino Uno - Firmata/Serial Communication in Visual Studio C++

I need to pass std::vector <double> values from a C++ console program (written in Visual Studio 2015) running on a PC to Arduino in real-time using USB serial communication. Can anyone of you ...
1
vote
0answers
712 views

Chat between Xbee and Arduino

I'm very new with this devices so I'm a bit confused. I've got two Xbee modules series 1 and an Arduino UNO. I want to make like a chat between the two Xbee modules, one of them connected to the PC ...
1
vote
0answers
218 views

Programming Arduino for Mindflex

I am learning brain wave programming from Tinkernut tutorial. #include <IRremote.h> #include <IRremoteInt.h> #include <Brain.h> IRsend irsend; Brain brain(Serial); const int ledPin ...
1
vote
0answers
46 views

WLAN module compatible with ArduiMU V3+

Current I use my ArduiMU V3+ with a Bluetooth Mate (from Sparkfun) but I've got a lot of connection problems with it. I'm looking for a better solution involving WLAN and am wondering whether there ...
1
vote
0answers
41 views

Connect push button to ArduiMU

I've got an ArduiMU V3+ and would like to connect an ordinary push button to it. How would I connect it to it.
1
vote
0answers
1k views

Arduino code issue (using Bluetooth and Rfid technology)

I am building a device that communicates with my Android phone. I know that my App works but my Arduino code seems to have a problem. So I have made a smaller programm and everything works fine there. ...
1
vote
0answers
138 views

I2C with an arduino, a PI and an IO expander

im working on a project which requires alo i/o pins. For that reason i bought a pcf8574P 8bit I/O expander which uses the I2C protocol. The problem is how to combine the Rasp PI and the arduino. For ...
1
vote
0answers
986 views

How do I use I2C from an Arduino Uno when I have a GSM shield mounted?

This may be an extremely obvious question but I don't seem able to find a definitive answer. I have an Arduino Uno and a Sim900 GPRS/GSM shield fitted on top of it. I had I2C working on the Arduino ...
1
vote
0answers
220 views

Arduino based temperature sensing circuit

I've currently got a setup where I am using a 2 thermocouple setup using MAX31850 and the circuit looks exactly as mentioned here using the external power option. (https://learn.adafruit.com/adafruit-...
1
vote
0answers
1k views

Reading Arduino output from serial line

I'm attempting to read data from the serial line coming from the Arduino and return it as a string. I have found/modified the following code to do so: #include <sys/types.h> #...
1
vote
0answers
862 views

nRF905 communication with PC

I want to transmit data to my laptop from arduino with nrf905. I found examples with communicating two nrf905 devices but not an arduino and a PC. By the way, the tutorial is here; http://www....
1
vote
1answer
181 views

Evaluating delay for Xbee

I will explain my task in a simplified way. I'm communicating among 3 Xbee's. The attached code is for the sender Xbee. This Xbee actually sends multiple values of value1 (here for simplification I ...
0
votes
0answers
9 views

Virtual terminal for my Proteus 8 professional is unable to read the correct value of the data i entered

I am trying to develop proteus simulation for remote-controlled robotic car using two Bluetooth modules one attached with the robot and the other used as a controller remotely. the two Bluetooth ...
0
votes
0answers
40 views

How can I display text on OLED?

I'm trying to print the information, which is received from the other ESP32 by CAN transceiver, on an OLED. The CAN bus is working perfectly, as the 'HELLO WORLD' is already be received. But I can't ...
0
votes
0answers
25 views

How can a python script and Arduino communicate using Xbee radio modules?

So I have to run a python script that detects some colors through an overhead webcam, and then I have to send this data to Arduino through Xbee but the catch is I am only allowed to do embedded ...
0
votes
0answers
21 views

Dragino Lora shield for Arduino sensor use

I am new to arduino and lora technology and i have dragino lorashield for arduino Uno and dragino gateway. I have also MQ-3 gas sensor and I want to detect the alcohol value and to send it to the ...
0
votes
0answers
101 views

Bad Data : Arduino Mega & NodeMCU Serial Communication

Currently I am working on an Arduino project. The project required to establish communication between Arduino Mega and NodeMCU ESP8266. Here are some details about the project: NodeMCU Rx Pin is ...
0
votes
0answers
17 views

Can the PN532 pull MAC address from Felica tags?

I'm trying to do an automatic pairing with Felica NFC tags but I need the MAC address because there is a certain order I would like sync up my device in order when I scan it to the NFC. To get it to ...
0
votes
0answers
40 views

RS232 to ttl communication of arduino

I have an rs232 to TTL converter and I want to read something in the Arduino serial monitor by using the converter instead of using Arduino serial cable. I have connected the correct wiring in my ...
0
votes
0answers
36 views

Reconnect to a com port

I want my Arduino to log data while connected to a battery. After few hours, I need to reconnect the Arduino via COM port to a PC and read the logged data. The com port will not reconnect. This is ...
0
votes
0answers
144 views

Ethernet TCP communication between two arduinos not working

So I've got two arduinos Leonardo ETH, both plugged into a local network I host on my computer, and I'm trying to make them communicate through ethernet. One of my arduinos is collecting data from 2 ...
0
votes
0answers
56 views

Communication between 2 arduino's one at 6th floor and the other at the basement

Communication between 2 Arduino's one at 6th floor and the other at the basement. I tried with nodemcu , but the signal is not reaching the basement. From 6th floor. Which is the best way to connect?...
0
votes
0answers
133 views

Sending Simultaneous Data from 2 NRF24L01 Transmitters to 1 NRF24L01 Receiver

I'm using three NRF24L01 transceivers, each connected to one Arduino Nano. One of the NRF24L01's is configured as a receiver, while the other two NRF24L01's are set as transmitters. Firstly, I'm aware ...
0
votes
0answers
92 views

SPI receive register size of ESP32

ESP32 has 64 byte SPI FIFO size, but I could not find what is the largest bit size it can receive over SPI? P.S. I need to interface a sensor, which returns 32 bit response. EDIT to clarify why I am ...
0
votes
0answers
128 views

Can't connect my ESP-12F to WiFi with my Arduino Uno

Recently I bought this wifi adapter for my IOT projects that I connected to my arduino uno that seems to not working. I have tried with the arduino ESP8266WiFi library with RX connected to pin 0 and ...
0
votes
0answers
28 views

Exchange data between Arduino and a remote server

I want to read name and user code stored in a magnetic card by using my arduino and then send this information to a remote server. The server runs an application which is able to control if the user ...