Questions tagged [serial-monitor]
25 questions
1
vote
1 answer
Unable to Print to Serial Monitor, Getting Error: "No core dump partition found!"
Working with an ESP32-s2, using platformIO with Visual Code Studio. I was running into some logic issues with my code (not necessary what, just background) and was attempting to use the serial monitor to debug. I added the necessary functionality to…

AndrewRoman
- 31
- 1
- 5
1
vote
1 answer
I'm trying to use the Arduino serial monitor to receive input, and do something if it is a certain integer
I'm trying to make a simple program to turn a laser on and off. It was working fine until I tried to be able to make it blink by inputting a 2 to the serial monitor. It blinks, but only once. What I'm trying to make it do is blink forever, while…

floppa fan
- 11
- 1
- 5
1
vote
1 answer
Arduino Soil Sensor RS-485 Protocol Response Value Conversion Problem
I'm studying protocol with a soil sensor, but the value is not numerical or texted.
TT
code
Serial.print(inChar,HEX);
for(int i=0;i<9;i++){
Serial.println(inputString.charAt(i));
}
result
14600AD700D373
1
4
6
F [3]
A7 [4]
B [5]
54 [6]
0…

김성빈
- 11
- 2
1
vote
2 answers
Serial monitor auto-inputs 0 after a loop iteration
I've been learning how to use the Arduino for 3 days following YT tutorials. I'm currently learning about Input-Output with the serial monitor.
After running the loop once, the serial monitor automatically inputs a 0 and is registered as an input…

GuanSe
- 39
- 5
0
votes
1 answer
IP Address cannot obtain in ESP-IDF?
I am making application using ESP32 in ESP-IDF. I am new to ESP-IDF. I am trying to get temperature and humidity data from AHT25 and update that into server.
This is main.c
#include
#include "freertos/FreeRTOS.h"
#include…

Kuralmozhi
- 47
- 7
0
votes
0 answers
why am I getting data in diagonal format rather than proper table format
Desired outputI am using an Arduino Uno and Streamlit to stream data on a dashboard and the following is my code:
import serial
import streamlit as st
import pandas as pd
# Create a serial connection to Arduino
arduino = serial.Serial('COM5', 9600)…
0
votes
0 answers
How to display data from Arduino UNO to streamlit app in table format?
I am using Arduino UNO and streamlit for streaming data on a dashboard. and below is my code:
import serial
import streamlit as st
import pandas as pd
# Create a serial connection to Arduino
arduino = serial.Serial('COM5', 9600) # Replace 'COM5'…

Pritesh Shakya
- 21
- 2
0
votes
0 answers
How can I read the data on a serial connection?
I have a serial connection to a solar inverter using a USB. Using a free serial device monitor I can spy on the connection and watch it read/write information.
The info my computer gets from the inverter can only be read and exported (to .xlsx) on…

Cassidy
- 1
0
votes
0 answers
How to add all the data to queue and produce one output on Serial Monitor
I am a beginner in ESP32-S2 programming and I find it hard to link all the data and produce one output in the form of queue on serial monitor. I am sorry for the imperfect coding skills as I am still learning and doing my best but can someone please…

explorer
- 1
0
votes
1 answer
Arduino IDE, Serial Read. What am I doing wrong?
what i am trying to do:
using arduino,
1- start with the LED on pin 13 off
2- read from serial monitor
3- if entering "1" => LED on, if 0 => LED off, else => print "incorrect"
I am new to Arduino, and I have tried my best. However, when I key in…

Alsadek Alkhayer
- 3
- 2
0
votes
1 answer
strcmp script reading serial monitor failing
I have a script reading the serial monitor and looking for an "OK" response. I am able to capture the OK response in a variable named message and print it to the serial monitor, but when I attempt to use the message variable in an if statement it…

Feynman137
- 181
- 2
- 9
0
votes
1 answer
Why is my Arduino sending a message infinitely?
I can't figure out why my Arduino is infinitely sending the same message to the Serial Monitor.
The goal of this project is to monitor and control a basic switching algorithm to redirect power through a power "grid" when a fault is detected in one…
0
votes
1 answer
Serial monitor font arduino can't show
Hello my serial monitor font is get trouble, i can't fix it, anybody knows ?
enter image description here

erbinws16
- 1
- 1
0
votes
2 answers
Void loop inside a void loop doesn't work. What does?
So I have a program here with three different LED loop patterns, the codes are inside an if statement I noticed that it does not loop anymore even if the if statement is inside the void loop. I have tried putting a void loop inside the void loop but…

takbudo
- 25
- 7
0
votes
2 answers
Change a variable to text for serial monitor (Arduino Uno)
I'm using an HC-SR04 Ultrasonic Sensor that displays distance, there's two if statements, if it's below 0 it comes out as 0 (that part works as intended), if it's over 4 meters (distance variable is a centimeter) it is supposed to say "Out of…

Bon Wattersen
- 1
- 1