Page 1 of 1

Serial Communications on a Raspberry Pi 3 B+

Posted: Thursday 10th October 2024 6:43pm
by Askjerry
I have been working with ChatGPT trying to get a serial port working with no luck... I thought i would come here and try.
Let us presume this... there is the form FMAIN and on the form are 4 buttons and two text boxes.
(If we get this working I can take it from there... in theory.)

Buttons
btn_open_serial <- Pressing this opens the serial port presuming the UART, Pins 14 and 15 default
btn_close_serial <- Pressing this closes the serial port
btn_serial_send <- Send whatever is in txt_serial_send.text
btn_serial_rcvd <- Sets txt_serial_rcvd.text to whatever came in the serial port

Text Boxes
txt_serial_send
txt_serial_rcvd

Do you think you folks can help me? The Raspberry Pi is not fast enough to read a pulse-width on my wind-tunnel turbine... but an Atmel AT series chip is.... via serial

Thanks!
Jerry