Skip to main content

All Questions

Tagged with
1 vote
1 answer
661 views

How to Access Terminal Over Serial Port in Raspberry pi 4

I'm trying to Read and Write over Serial Port to Terminal in Headless Linux That I Installed on my Rpi4. is That even Possible? is so, how?
user avatar
3 votes
1 answer
395 views

Uninterrupted, endless SPI transfer - is it possible?

I wrote a linux driver for SPI protocol so RaspberryPi could communicate with my device that's using serial data transfer (the device has clock input and data output). It almost works, the problem is ...
PookyFan's user avatar
  • 133
0 votes
1 answer
215 views

most linux commands gives -bash: clear: command not found , after a binary execution (Raspberry pi)

what could be possibly wrong when following dmesg occurs in Raspberry pi Following is Output of dmesg command, [ 227.820110] mmc0: card 0001 removed [ 227.820411] Aborting journal on device ...
PP Vendhan's user avatar
1 vote
1 answer
290 views

UART - wiringSerial.h vs standard Linux open/close

I'm making an application that uses the UART port from the 40pin headers and I found online that there's a library called wiringSerial.h I was wondering what's the difference between wiringSerial.h ...
MrBit's user avatar
  • 141
1 vote
0 answers
406 views

RPI Serial Communication through USB

I am trying to set up serial communication between my Raspberry Pi Zero W and my PSoC. I want to do this through a normal microUSB to USB 2.0 converter cable, which looks somewhat like this picture: ...
user54952820's user avatar
3 votes
0 answers
316 views

Coin acceptor misbehave when connected on raspberry pi

I have a Bill note acceptor and a Coin acceptor, and I have wrote a program in C# to communicate with these two machines, and it worked perfectly on windows, after that I migrated this application to ...
amm965's user avatar
  • 131
1 vote
1 answer
224 views

Can't return any values from ttyUSB0

I'm using a SICK S300 scanner connected via Diagnostic cable to my Raspberry Pi, and it shows the connection as /dev/ttyUSB0 however I can't retrieve any data from it whatsoever. Here is a simple ...
fzeta's user avatar
  • 31
0 votes
2 answers
2k views

Autorun c executable on boot

I tried following the many autorun-suggestions given on different forums, but I'm still struggling with it. I've got a C code that runs on the Pi - logs temperature and sends the data to the serial ...
JJT's user avatar
  • 103
0 votes
1 answer
194 views

Raspberry Pi Zero as Hardware Bypass

My girlfriend has been working on a project for a high level university CS class. The requirements are that input is take from a gaming controller, steering wheel, et al, and sent simultaneously to a ...
spectre-d's user avatar
  • 103
1 vote
3 answers
5k views

How do I access the serial ports on the RPi in LXterminal?

I am trying to get access to the /dev/ttyS0 file in an attempt to connect an OPC to the RPi via TX and RX connection. However, when I am in the /dev directory, when I type in /dev/ttyS0 I get the ...
user avatar
0 votes
1 answer
263 views

stty command lag and queue issue

I have plugged in a serial-USB, and run the command: stty -F /dev/ttyUSB0 38400 Then I am using PHP to send calls to the serial-USB like: file_put_contents("/dev/ttyUSB0", chr(6).chr(255).chr(0)....
aku foo's user avatar
  • 11
1 vote
3 answers
2k views

PHP USB serial port call from Windows to Linux

I have a piece of simple code that works on a Windows - WAMP environment, e.g. <?php `mode com3: BAUD=38400 PARITY=N data=8 stop=1 xon=off`; file_put_contents(com3, chr(1).chr(255).chr(1).chr(4)....
aku foo's user avatar
  • 11
5 votes
1 answer
2k views

Simple Custom 1-Wire GPIO Communication Protocol between Master PI and Slave PI

I have 2 Raspberry Pis in my system. One can be 'docked' to the other one and some time later it can become 'undocked'. While docked, the 2 Pis will have a connection between 2 GPIO pins ( 1 pin on ...
PhilBot's user avatar
  • 71
0 votes
3 answers
1k views

What application (and options) should I use to get terminal access to my Raspberry Pi over a USB/serial cable on Linux?

I've got a Raspberry Pi with a Raspbian SD card, connected to my Debian laptop via a USB TTY cable. The cable is supplying power to the board; my user is in the dialout group, and can see /dev/ttyUSB0....
flamsmark's user avatar
  • 101