Questions tagged [minicom]

34 questions
0
votes
0 answers

minicom script send double enter?

I am trying to use minicom script. What I want from script is after I open up the minicom with minicom -D /dev/ttyACM0 -S script.txt where script.txt stores all command send "\n\n" send "lec" the very first command I want to send is double enter…
Park Bo
  • 53
  • 7
0
votes
0 answers

Minicom serial echo on script execution

I am trying to send a multi character command to a device controlled via serial using minicom but I do not fully understand the behaviour of the minicom-serial interaction I am seeing. I have set the port to the desired baud rate (115200) and flow…
0
votes
1 answer

Why does printf work in the while loop, but not before on a raspberry pi pico?

I have installed the C/C++ SDK for the Raspberry PI Pico on a Raspberry pi 4. Then I have compiled and executed the hello world example via USB successfully. I monitor the output using minicom and so far everything works fine. However, when I add a…
Kağan Kayal
  • 2,303
  • 1
  • 19
  • 30
0
votes
0 answers

ser.inwaiting returns 0 (b'') but should not

I'm a rookie when it comes to programming but I'm learning. I'm trying to program my mini-pc (Rock 4 SE, with a connected 4G phat and GPS modem) to send GPS location with a python script through minicom. When running the script I can tell in minicom…
dannebh
  • 1
  • 1
0
votes
0 answers

Issue reading serial data when connecting a rs232 to tttl converter to my rasperry pi 4 and digital scale

This is my first time playing around with serial communication and I am struggling with getting any data from my scale. The scale did not come with any of the serial settings needed for configuring and the instructions for printing are lackluster at…
0
votes
0 answers

Unable to connect to raspberry pi 3b over minicom

I want to connect to my raspberry pi 3 model B V 1.2 to minicom using serial cable. I have attached serial cables to correct pins like this. image of my setup I have installed raspbian from the imager tool (64 bit). I have tried many solutions but…
0
votes
1 answer

Access serial device using minicom

I have connected a serial device to my Linux laptop and able to boot into the device as dev/devttyACM0. Everything is fine but I needed to open another terminal as part of a software implementation while something is running in the current terminal.…
phani
  • 1
  • 3
0
votes
1 answer

Monitoring file changes in linux, Looking for a specific line

Assume a linux system with 4 instances of minicom opened and reading serial data input from 4 devices. Each minicom instance is saving the log into the corresponding text file. Serial data is received triggered by specific phisycal events and each…
mehdi
  • 167
  • 11
0
votes
0 answers

No minicom output when running from script

I have this line: timeout -s SIGKILL 55s minicom -C $file.txt It works fine when I run it directly from the terminal (even with the timeout) but when I run it from the bash script, it creates the files, but they're all empty.
Ahmed
  • 184
  • 1
  • 2
  • 14
0
votes
0 answers

install something to beaglebone green

I want to install minicom to BeagleBone Green.It has debian version 9.3 Linux beaglebone 4.9.82-ti-r102. But when I do sudo apt-get install minicom , I get bash: apt-get: command not found how do I install minicom and is it possible to install at…
Yael
  • 93
  • 7
0
votes
1 answer

Send AT Command to module that is not working as HOST (does not show /dev/ttyUSB paths)

I was doing some experiments with a 5G module (STIM8200EA-M2) and sent the AT+CPCIEMODE=PE that set the module to PE mode (I don't know what is the meaning of that). The problem is that now I can't see the module in the traditional /dev/ttyUSB*…
Miguel
  • 2,738
  • 3
  • 35
  • 51
0
votes
1 answer

Bidirectionally communicate a Roomba robot other than a Create model with raspberry pi

I've been trying to communicate different models of Roomba vacuum robots, 9xx and 6xx series, with a raspberry using the sci port of the roomba with no success. The sequence of steps have been: connect pins 3 (rxd), 4 (txd), and 6 (ground) of the…
rojele
  • 80
  • 7
0
votes
0 answers

SSH.NET retrieving output from ShellStream, minicom does not return anything

I was able to successfully connect using this example SSH.NET retrieving output from ShellStream and run all commands and process the results. I only have problems after I send the command minicom -D /dev/ttyUSBx. Nothing returns. Following the…
Lkn
  • 1
0
votes
1 answer

How to build minicom locally?

I try to build minicom locally, but there are always some issues. This is the minicom I want to install locally: https://salsa.debian.org/minicom-team/minicom There is explained you have to run the ./configure file, but there is no configure file so…
Lysapala
  • 80
  • 9
0
votes
1 answer

File transfer via serial port

I am trying to send a file via serial port. I tried sending picocom commands in a bash script. However the device writes out a menu of options. When it gets to the file transfer step - it writes out 'C' until a file is sent, after which it does the…
Archie
  • 153
  • 9