Questions tagged [serial-data]

Sending one data bit in a time. Used mostly in RS232 context.

31 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2 votes
0 answers
1k views

Connecting OV2640 with 17 Pins Binocular Camera module, to any microcontroller (System clock on module pin 18 -NC)

These pins are on the module: 3.3V GND VSYNC SCL SDA HREF D0-D7 DCLK PWDN I have tried many codes and connections of the OV7670 Monocular cameras, none seem to work(Instructables , Circuit Digest , ...
ian noronha's user avatar
2 votes
0 answers
381 views

Reading byte per byte from a txt file on SD Card without using the 512Bytes buffer

I am trying to read every sequenced-byte that is located on a txt file in the SD card. I have been reading quite a lot about the SPI and SD libraries, But I have found a lot of different information ...
DEMPEROR's user avatar
2 votes
0 answers
133 views

Help with code for changing motor speed depending on MPU6050 angles read

I have been trying to create code where my MPU6050 is constantly reading the angle it is at and based on that angle, increase or decrease the motor speed. For example the motor will be off when the ...
miles's user avatar
  • 21
1 vote
1 answer
30 views

Having issues with RS232 UART wiring to a physical PC connection

TL;DR: Attempting to connect UART2 on ESP32-WROOM to a physical PC RS232 results in odd behavior and ESP32 crashes or errors. Suspect electrical design problems. Wondering if I need special ...
Jason Rohm's user avatar
1 vote
0 answers
52 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
1 vote
0 answers
757 views

ESP32 print weird data on Arduino IDE Serial Monitor

I tried to upload a sketch on esp32 devkit v1 (wroom) picture of my board is below : but this message is always printed on the serial monitor continuously and quickly : rst:0x3 (SW_RESET),boot:0x13 (...
Curious guy's user avatar
1 vote
0 answers
196 views

Can read Serial but cannot write - serial communication Arduino Mega 2560 clone

I am having issues using the following USB to UART module. I am using an Arduino 2560 clone. I have two connections with the Arduino: COM7 which consists of the given module, connected to the main ...
BurgerMan's user avatar
1 vote
0 answers
132 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
0 answers
96 views

Serial communication problems

When I run this script serial communication just stops after a random period of time. There is no error it just stops outputting data and does not respond to inputs in IDE. Does anyone know a fix for ...
kiranmclernon's user avatar
1 vote
0 answers
304 views

Send Multiple Sensors Data into single Packet in Arduino

I have two sensors data in packet but now I want to send these two sensors data into single packet in which these two sensors data are gathered. I mean I want to have a packet in which I have oxygen, ...
Namra Noor's user avatar
1 vote
0 answers
52 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 ...
dogfood's user avatar
  • 51
1 vote
0 answers
57 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 ...
K. Millar's user avatar
1 vote
0 answers
54 views

Arduino Serial Communication possible with IDE 1.8.5 but not with IDE 1.8.13

I have the following problem: I am working with an Arduino Nano 33 IoT and a second serial interface via sercom0. The code is just taken from this tutorial: http://www.getmicros.net/serial-...
Robert Reichel's user avatar
1 vote
0 answers
36 views

serially parse integer after serially read

I want to write below code but I don't know where I doing wrong, so please help me solve this issue. Serially read some text like number then I want to serially parse integer value into some variable ...
Mehul's user avatar
  • 31
1 vote
0 answers
441 views

Uno to ESP32 - HardwareSerial repeats value on ESP32's side even though Uno is disconnected

I have an Arduino UNO connected to ESP32 through voltage divider with TX0 from Uno to RX2 to ESP32. My goal is to send data from my Uno to my ESP32 through HardwareSerial. Here's my code for the Uno: ...
anthino12's user avatar
  • 121
1 vote
0 answers
794 views

Arduino UNO not sending serial data to ESP32

Lately I've been struggling with Serial communication between Uno and ESP32. I'm trying to send a simple string (In my case "100") from my Uno to my ESP32. I made a voltage divider and I'm ...
anthino12's user avatar
  • 121
1 vote
0 answers
140 views

Help with reading and storing data from sim module

I'm using a sim800C module and an Arduino Uno. I want the code to send back an SMS to a number which sends it the password. So, if the sim module receives 'abcd' I want it to send back an SMS, saying '...
Pransy Pansy's user avatar
1 vote
0 answers
261 views

Splitting a string in arduino from computer

I am having an issue splitting an incoming string from a computer program to arduino. The incoming format is as follows: 123.456,987.654 \r\n The comma separates the two values. code is this(edit to ...
Chris C's user avatar
  • 11
1 vote
0 answers
511 views

ESP8266 mqtt publish + subscribe + serial read

seems I have some issues in my code as I subscribe for specific mqtt topic and also read same value via serial and publish it to mqtt. It takes time for device connected to serial to change setting ...
Vaikis2006's user avatar
1 vote
0 answers
224 views

Nodemcu & GSM module & CLIP problem (CLIP line not always appears on the serial connection)

I'm working on phone-controlled car park gate. Trusted employees numbers are saved on SIM card/hard coded in program. So the idea is, if a trusted person calls the "gate number" ; Nodemcu will ...
MarkusPL's user avatar
1 vote
0 answers
172 views

Arduino serial read data conversion, getting garbage values

I am developing code on Arduino to read 9 bytes of data from other controller. I am getting same arrya elements which is transmitted from controller, but when I convert the same it gives me garbage ...
swanand's user avatar
  • 25
1 vote
0 answers
120 views

Have terminal bash script act as virtual "button" for Leonardo?

I've searched quite a lot for this and tried to piece bits of code together but with no luck so far. All i'm looking to do is have a command I can run in terminal/bash script on the Mac trigger some ...
Danny Shepherd's user avatar
1 vote
0 answers
71 views

How to connect to LCD and communicate via serial usb simultaneously? (UNO)

Pretty simple home automation project I am working on. I'm trying to hook my arduino which has a 16x2 LCD, DHT22 temp/humidity sensor to my Pi via usb. I want to be able to maintain the values on the ...
Eddie Sherman's user avatar
1 vote
0 answers
265 views

Trying to send serial data to computer over network from Arduino Yún

Using Console.write() to send data to my computer over network, which works when I use the serial monitor. However, I'm using PLX-DAQ to receive Serial communication and input it into an Excel ...
Olivier Poulin's user avatar
0 votes
0 answers
72 views

Reading MODBUS on ESP32

I'm working on a project for Smart Meter in this I'm reading MODBUS RS485 on ESP32 via MAX485 TTL To RS485 Overview : So, basic flow is, reading MODBUS as per MOSBUS Mapping list given by Smart Meter ...
Just doin Gods work's user avatar
-1 votes
1 answer
54 views

Serial does not read buffer with integer characters greater than 43

I'm trying to write a script to move an object coupled to a linear axis through a stepper motor. The user must send information such as the length to be moved, the speed of movement, the direction of ...
Yan Araújo's user avatar
-1 votes
1 answer
2k views

Send data from one NodeMCU to another NodeMCU using Serial Communication

i am using NodeMCU (ESP8266) to communicate with another NodeMCU (ESP8266) using Serial Communication. Because i am using ESP-NOW to communicate and ESP-NOW and WiFi can not work together very well so ...
user3201500's user avatar
-1 votes
1 answer
977 views

Sending a string from Arduino to ESP8266 works on UNO but not on Pro Mini

I have a project where I am getting sensor data and sending it over to an ESP8266-01 to send to ThingSpeak. After some work I got it to work. So like a real smart person I decided to replace the ...
user1114881's user avatar
-1 votes
1 answer
955 views

About UART one transmitter multiple receivers

I have vector nav vn100 IMU that sends data serially rs232...I want to drive 4 servo motors using atmega32 upon roll angel from vector nav vn100..atmega32 can only drive 2 servos using hardware fast ...
Mohamed Mohamed's user avatar
-1 votes
1 answer
58 views

How do I get multiple readings(binary) based on my arduino output?

I am new to arduino and therefore not much experience in handling codes, please be forgiving and help me! For my school project, make use of arduino to make 4 capacitive sensors (which has already ...
JonnyL's user avatar
  • 13
-1 votes
1 answer
451 views

Sending double data from Matlab to the Teensy 3.6 via the microUSB

I've been hitting against a wall for over a week now. My current project is to use a Teensy 3.6 to send data over an SPI bus to a chip which is effective going to be a signal generator. I've made a ...
Ryne's user avatar
  • 1