Questions tagged [communication]

for questions about communication between multiple devices.

Filter by
Sorted by
Tagged with
1
vote
2answers
160 views

Sending over a number from Arduino to Attiny85 [closed]

I recently started my first arduino project, displaying a number on a 4x 7 segment display. I want to keep this code and use the display in other projects to display 4 digit numbers (creating a ...
0
votes
0answers
4k views

GET command with GPRS GSM A6 and arduino

I'm trying to get data from a text file(read.txt) in server by sending a HTTP GET request via AT commands for the GPRS GSM. Here is my code: void setup() { Serial.begin(115200); delay(...
5
votes
2answers
680 views

Is the arduino hackable when using communication shields?

Let's say I have an arduino Uno connected to a W5100 ethernet shield. The arduino communicates with the ethernet shield using the tx0 and rx0 pins. When I upload a new script to the arduino using USB, ...
0
votes
1answer
887 views

Missing character when introducing delay in the code

I am using the following code for reading any incoming message, and doing something after decoding the incoming string. There is a delay of 10sec in the code. When this delay is not introduced in the ...
0
votes
2answers
86 views

Where can I find the complete list of Arduino Serial Command & Query Strings?

I am planning to use the Arduino as a replacement for a USB-Controlled Digital I/O device, which will be integrated into an existing C++ software package that I created. I understand that the Arduino ...
1
vote
1answer
247 views

Commucinate two arduino with each other

I have 2 arduino Unos where each one works properly on its own. I try to make them communicate with each other using serial communication (TX-RX ports). When I try to upload my code to them I get ...
1
vote
2answers
1k views

POST to server using ESP8266 module- Arduino Uno- AT+ commands

I'm trying to send a set of data in Json format to a server I have set up which has a specific URL and an access token. The server requires a POST command. So my final URL is: http://myurl.com/...
0
votes
1answer
521 views

Best way to send text to ESP8266 remote display

I need a remote display to show information sent via WiFi from another ESP8266. What needs to be sent is a string along with some variables, for example a string to be displayed along with two ...
1
vote
1answer
870 views

Send an multidimensional array of values from one arduino to another through serial port

I have connected two arduinos using pins: RX and TX and managed to send a string as an array of values: //sender char mystr[6] = "hello"; void setup() { Serial.begin(9600); } void loop() { ...
0
votes
1answer
220 views

Trouble with Arduino -> PSOC4 communications over I2C! (Multi master/ slave config)

Hello Stack Exchangers! I am currently working on a project which requires me to use PSOC4 - 049's to scan a series of inputs, and feed this data back to an arduino over I2C. The arduino, or in ...
0
votes
2answers
2k views

How to input text from Serial monitor into a character array? [closed]

I'm using a Mega 2560 and Uno and want to input text to the serial monitor which can be stored in character array char in[]; I want array specifically as I'll be breaking each character to trigger ...
-1
votes
1answer
3k views

SendCommand() syntax with Arduino [closed]

I have seen the SendCommand() function used in some Arduino sketches for serial communication and wanted to know the proper syntax for using this function. I was also wondering if the SendCommand() ...
1
vote
1answer
3k views

Parsing serial port data

Hello I found an Arduino project that works with serial port parsing and it had very interesting parsing code. I am trying to use it in my project but I still don't understand some lines and what is ...
3
votes
2answers
1k views

M0 pro: SPI communication, code works on Uno, but not in M0. Using ICSP port

I am trying to establish a communication between a sensor and a M0 -pro using SPI. The code : #include <SPI.h> unsigned int result = 0; void readAngle(); void setup() { ...
0
votes
1answer
123 views

Broken serial connection corrupting Arduino values

I have a problem with my homemade fan speed controller powered by an Arduino Nano, which reads a value from Serial (Arduino serial monitor, or Processing sketch) and uses the 0~255 value to set a ...
2
votes
1answer
451 views

Problem communicating between arduino UNO R3 and Mega 2560 via MAX485

I want to send data between Arduino Uno and Mega via MAX485. When I set the data Enable pin to HIGH on Mega (to transmit data) and set the same pin on UNO to LOW (to receive data) I can read data ...
1
vote
4answers
124 views

How to send information from Arduino?

I plan to make an air quality monitoring system that uses Arduino uno, but I can't decide how I will be able to distribute the air condition and harmful gas concentration info and have it available to ...
-1
votes
1answer
84 views

Arduino uno and ESP8266 [closed]

Scenario : I want to connect ESP8266 to Raspberry-pi's wifi network. Arduino Uno is connected to ESP8266 Raspberry-pi will send a signal (1/0) to ESP8266, when its 1 Arduino will turn on/off a Relay. ...
1
vote
1answer
2k views

I change ESP8266 baudrate and now it doesn't work

I was trying some AT commands using the monitor of the Arduino Web Editor with an Arduino Uno and a ESP8266 module. It was working at 115200 bauds but then I changed it with AT+CIOBAUD=19200 and now ...
0
votes
1answer
6k views

How to get ESP8266 firmware version?

I am going to update the firmware of an ESP8266 module, but first I would like to know the current version or name. How can I get it? Maybe with an AT command? This is my ESP8266 module:
1
vote
2answers
8k views

How can one use the SPI hardware on the Arduino Nano?

I recently prototyped and programmed a system that used some SPI sensors on an Arduino Uno. I wanted to get the size down a bit, so I was thinking I might buy an Arduino Nano and re-wire my system ...
2
votes
1answer
12k views

Reading Arduino serial stream in Java using jSerialComm [closed]

I'm having issues reading the actual double values from my Arduino Serial.println() in my Java app. I've tried following usage examples found here but get what I guess is a hex value. The serial ...
-1
votes
1answer
142 views

How to do single line communication? [closed]

I want to communicate between two arduino's using one wire (sending and receiving signals - if matched, blink LED by receiver to indicate it), which are separately powered by 9v batteries. I want to ...
1
vote
2answers
53 views

I have multiple components that are lagging [closed]

I have multiple components such as LED's, Servos, ultrasound, and a photoresistor. For context, certain LED's light up and a buzzer makes a certain sound depending on the range of distance the ultra ...
1
vote
2answers
4k views

Arduino I2C communication between Raspberry Pi

We are trying to communicate between multiple Arduino's (in this example a Nano and a Mega) and a Raspberry Pi. The Raspberry pi is defined as master and the Arduino's as slaves. We would also like ...
0
votes
2answers
733 views

Serial1 is not reading the Xbee on a Arduino Due

I am trying to test simple communication between a Xbee on my Arduino Due and a Xbee linked to XTCU. I attached jumper wires from RX and TX to RX1 and TX1 (Serial 1 hardware port) but I cannot send or ...
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 ...
2
votes
2answers
3k views

Power Arduino with 12V while using Serial Communication over USB

I'm going to build a 8x8x8 Led RGB Cube, therefore I will need a lot of Power which the arduino can't handle, so I'm using a 12V 20A (I know 20A isn't necessary but I had one laying around). So the ...
0
votes
2answers
156 views

Testing ID and Serial Communication (Update)

Here is my challenge: I have to create a sketch where I would have a prompt asking the user to enter an ID. If it is successful, it would turn on the green LED and response with "Hello, your name is ...
0
votes
1answer
957 views

RadioHead Library custom configuration for RFM96 LoRa

I have a pair of Adafruit RFM96W LoRa Transceiver Breakouts and want to use them with the RadioHead library. My pair of radios works if I use the example sketches from the adafruit tutorial, but I ...
1
vote
1answer
629 views

MySQL Connector/Arduino insert data from row into an array

I'm new here. These days I have been working with the MySQL Connector/ Arduino library. So, my problem is how can i retrieve a rows data so as to enable an output. I have written some code, which was ...
0
votes
1answer
33 views

Is it possible to HTTP inside an ISR

I am developing a 247 monitoring system with Arduino. The values need to be sent to server periodically as well as upon interrupt (Watchdog). To access the internet, I am using the SIM800 module. Now, ...
0
votes
1answer
843 views

Arduinos using I2C reading integers wrong

I have two Arduino unos, and I am using I2C to have them communicate with each other. The A4, A5, and GND of each Arduino is connected to the other. These are my functions: On the sending Arduino: ...
0
votes
1answer
703 views

SdFat library Change output style of sd.ls(LS_R)

I'm using the SdFat Library's sd.ls(LS_R) function to give me a serial output stream of all files on an SD card. My issue is that I would like to have it use a different character than '\n' at the end ...
-1
votes
1answer
1k views

How To Communicate Three NodeMcu In Access Point Mode

I'm working on project which for example 3 nodemcu connected with eachother in a line(1 connected to 2 and 2 connected to 3) and they are all in access-point mode (they are all server) and now my ...
1
vote
1answer
1k views

Communicating to arduino as fast as real-time

I'm trying to control some pneumatic cylinders with arduino. I want to do the calculations on pc and then send the command to arduino to control the air flow to pneumatic cylinders. It's very ...
1
vote
1answer
2k views

using UART bridge module to have serial communication through usb port of arduino nano

This can be a silly question but I'm having a trouble with serial communication between arduino nano with other serial device. Please help me to handle it. I'm currently doing a RF communication ...
1
vote
2answers
548 views

SIM900 random shutdowns

I have a SIM900 GPRS/GSM Shield and an Arduino Mega. Now for the past week I have been using USB as power to send and receive GPRS data with no issue. Today the SIM900 module is continually randomly ...
2
votes
3answers
44k views

Make a PC graphical interface for Arduino - Any easy software? [closed]

What's the best/easiest software to make a PC-Arduino interface? Ideally, I need to create a .exe that shows up a simple graphic interface, where the user can display data acquired from sensors ...
1
vote
0answers
145 views

How to verify that my FTDI bridge for ESP8266 is communicating with my PC?

As I couldn't make my ESP8266 be programmed using an Arduino board as FTDI bridge, I decided to buy an FTDI232 board to upload code directly to ESP module via USB. However, when new I connected it to ...
1
vote
1answer
107 views

Xbee for Arduino Uno

I'm very new to Arduino, and I was wanting to control my Arduino wirelessly. Some googling shows that there is a shield for Arduino called Xbee that allows wireless communication. Unfortunately, I ...
2
votes
3answers
721 views

I2C Temperature Sensor Communication Issue

I'm currently learning I2C and having some issues displaying the correct temperature in the serial monitor. I am using an Arduino Uno and an SI7021 temperature sensor from Sparkfun; here's the ...
1
vote
2answers
1k views

Very long range wireless communication between two arduinos(500-1000 KM)

I searched for very long range wireless communications between two Arduinos, but can't find solutions. I don't live in USA, In my country there are regions, where GSM does not work. I want wireless ...
0
votes
1answer
1k views

Communication with ESP, HTTP requests or WebSocket?

Here is my problem. I'm working on making a wifi addressable RGB LED (like WS2812b) controller, I'm using an ESP8266 as the hardware. I'm also creating a phone application for controlling the device ...
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
3k views

Arduino and ESP8266 Two-way Communication

I've searched the internet quite a bit and all I find is how to make two esp8266 communicate. What I am trying to do is connect a single esp8266 to the arduino and have a two-way communication between ...
1
vote
2answers
5k views

Adding null character to char array

I have this code written and functioning that will write out the chars in cmd to a serial port for an input of ASCII text representing byte values. void SendCTRL (String &input) { //Adjust ...
1
vote
1answer
91 views

Using I2C to keep track of position of slaves

I am trying to flesh out my ideas for an electronics project and this question seems to be the main hangup. Is it possible, in the I2C protocol, to figure out the order in which the slaves are chained ...
1
vote
1answer
147 views

Android, Raspberry, Atmega, SQL communication

Hej there, I have a small project at home and I'm curious if people have some advice/idea for me. Because I'm not sure if the communication between the different devices is the way to go. This is my ...
1
vote
1answer
220 views

Sending LCD commands to a slave micro

I need to split up code which I've already developed for one micro into two different Arduinos connected by serial. The "remote" micro is directly connected to a 20x4 character LCD and the main micro ...

1
3 4
5
6 7
9