After searching the internet forever I finally came across your excellent explanation. I wanted an Arduino to send data to the Raspi4 Rx port, instead of using the Arduino USB-B programming port to send it. Which would have tied up the programming port. Not good. Your simple terminal commands turned on the Raspi Rx port, and along with 'ttyS0', the link between the Arduino Tx1 and Raspi4 Rx was a success. Frankly, I don't understand what the heck 'cat /prod/device-tree/model' has to do with anything, but it worked. I can't thank you enough. Dave Apple Valley, CA
Thank you very much for the very kind comment, glad it got you working, if they are of interest I have 2 other videos of me messing about with Pi and Arduino as well: czcams.com/video/eXpzo8CTSuY/video.html czcams.com/video/tE3BokF92gc/video.html
@@python360 My next challenge is to have an Arduino GPIO port trigger a 30 image slide show stored on the Raspi. Preferably with full screen HDMI output from the Raspi. I've used GNUPlot in the past and it was great for plotting daily windspeed. This time I am trying to show 30 days of sunspot growth and motion across the face of the sun. The sun's rotation period is 27 days.
Thank you! I'd seen references to disabling bluetooth to get the hardware serial port working but mostly referencing the 3 and wasn't sure if the 4 was the same. Thankfully the wifi module still works (so I can use VNC over wifi to control) even though the notes at the end suggest both wifi and bluetooth are effected by PL011. My TFmini plus Lidar sensor is now outputting. Cheers.
Perhaps I misunderstood- on my v1.1 Pi 4B it only worked with ttyS0. (Using my Pi with FLdigi to control a Ham radio, so maybe the software makes a difference?). Besides that, wonderful video- I'd never have gotten it to work without it!
To quote the Raspberry Pi forum : "To make this simpler, the Pi4b IS the Pi4, but takes longer to type. Seeing as there is currently only one model of Pi4 (the Pi4 model b), many people just refer to it as a Pi4" !! 👍
@@python360 ThePiHut and Pimoroni have had stock of the 4B recently. I bought a 2GB 4B from ThePiHut a little over two weeks ago. If you set an in stock notification, you may get to buy one before they sell out again. If not, just set it again because they seem to come back in stock every few days. FWIW, I've tried MiniDexed on both the 3B v1.2 and the 4B. It gets much hotter on the 4B, even with copper heatsinks on. I don't think it really gets to idle on either so the 4B might need a fan, just to do the same thing as the 3B.
Great video and I was searching for this to try exactly but when I give command on terminal to install MINICOM as per video then I get a fail with error "E: Unable to locate package minicom". I wonder what is wrong with it. Can you help please?
I am trying this on a Raspberry Pi 4 with Ubuntu Linux flashed. When I run $pinout, the result is an error: Unable to initialize GPIO Zero. This usually means that you are not running pinout on a Raspberry Pi. If you still wish to run pinout, set the GPIOZERO_PIN_FACTORY environment variable to 'mock' and retry, or refer to the Remote GPIO section of the manual* to configure your environment to remotely access your Pi....... Thanks for hte assistance
@@python360 WiFi when setting up Raspbian on a monitor and then I guess it's still WiFi when I try connecting it to my laptop with the FTDI adapter because I don't have the Ethernet cable plugged in.
@@python360 I didn't create any ssh file because I didn't even know that I had to. All's I did was put Raspbian on a flashdrive because I'm USB booting it and then went into the initial setup process after booting the raspberry pi and then updated it via sudo apt update && sudo apt upgrade in the terminal and then enabled the serial port via raspberry configuration app or software that's in Raspbian by default.
Great video! U litterally helped launching a rocket today :)
Wow that's amazing, I've had a lot of nice feedback since I started the channel, but this has to be one of my favourite comments!!!
🚀👍😎
在網路上找了很久,終於在您這邊得到解答,感謝您的教學。
After searching on the Internet for a long time, I finally got the answer on your side, thank you for your teaching.
Thank you!
After searching the internet forever I finally came across your excellent explanation. I wanted an Arduino to send data to the Raspi4 Rx port, instead of using the Arduino USB-B programming port to send it. Which would have tied up the programming port. Not good.
Your simple terminal commands turned on the Raspi Rx port, and along with 'ttyS0', the link between the Arduino Tx1 and Raspi4 Rx was a success.
Frankly, I don't understand what the heck 'cat /prod/device-tree/model' has to do with anything, but it worked.
I can't thank you enough.
Dave
Apple Valley, CA
Thank you very much for the very kind comment, glad it got you working, if they are of interest I have 2 other videos of me messing about with Pi and Arduino as well:
czcams.com/video/eXpzo8CTSuY/video.html
czcams.com/video/tE3BokF92gc/video.html
@@python360 My next challenge is to have an Arduino GPIO port trigger a 30 image slide show stored on the Raspi. Preferably with full screen HDMI output from the Raspi. I've used GNUPlot in the past and it was great for plotting daily windspeed. This time I am trying to show 30 days of sunspot growth and motion across the face of the sun. The sun's rotation period is 27 days.
Dzzz
Thank you! I'd seen references to disabling bluetooth to get the hardware serial port working but mostly referencing the 3 and wasn't sure if the 4 was the same. Thankfully the wifi module still works (so I can use VNC over wifi to control) even though the notes at the end suggest both wifi and bluetooth are effected by PL011. My TFmini plus Lidar sensor is now outputting. Cheers.
Good, glad you got it working, thanks for the comment as well 👍👍
Thank you sir, saved me a lot of frustration and head ache!
Top man! Thanks for the comment, glad it saved you some time 😉
Thank you very much. That helped a lot.
Thank you for the kind comment!! 👍
thanks so much I am struggling with that from morning
and also you are first chad engineer
Respect! Thank you man! 👍
Perhaps I misunderstood- on my v1.1 Pi 4B it only worked with ttyS0. (Using my Pi with FLdigi to control a Ham radio, so maybe the software makes a difference?). Besides that, wonderful video- I'd never have gotten it to work without it!
Yeah, the best thing to do is to issue
$dmesg | grep tty
And from the output you would see the appropriate tty, depending on the hardware attached .
This refers to the Pi 4 and the Pi 4B. Are they two different models, or is the description just not used consistently?
To quote the Raspberry Pi forum : "To make this simpler, the Pi4b IS the Pi4, but takes longer to type.
Seeing as there is currently only one model of Pi4 (the Pi4 model b), many people just refer to it as a Pi4" !! 👍
@@python360 I see. Thanks. That does seem like asking for trouble if they ever release a 4B+ or a 4A/4A+ though :)
@@TooSlowTube To be honest by the time they have any stock I suspect it'll 4C !!
☺
@@python360 ThePiHut and Pimoroni have had stock of the 4B recently. I bought a 2GB 4B from ThePiHut a little over two weeks ago. If you set an in stock notification, you may get to buy one before they sell out again. If not, just set it again because they seem to come back in stock every few days.
FWIW, I've tried MiniDexed on both the 3B v1.2 and the 4B. It gets much hotter on the 4B, even with copper heatsinks on. I don't think it really gets to idle on either so the 4B might need a fan, just to do the same thing as the 3B.
Great video and I was searching for this to try exactly but when I give command on terminal to install MINICOM as per video then I get a fail with error "E: Unable to locate package minicom". I wonder what is wrong with it. Can you help please?
have you installed the minicom driver? sudo apt-get install minicom
I am trying this on a Raspberry Pi 4 with Ubuntu Linux flashed. When I run $pinout, the result is an error:
Unable to initialize GPIO Zero. This usually means that you are not running
pinout on a Raspberry Pi. If you still wish to run pinout, set the
GPIOZERO_PIN_FACTORY environment variable to 'mock' and retry, or refer to the
Remote GPIO section of the manual* to configure your environment to remotely
access your Pi.......
Thanks for hte assistance
Sir how to communicate raspberry send A to raspberry B recived but output was same in used USB cable
Can you explain a bit more what you're trying to achieve?
hello, i do the samething but when i want to write the AT command on the command line of minicom the CLI still blocked
Would this configuration work on the serial communication (GPIO) pins I.e. TX,RX ?
yes, but do not try to put more than 3.3V on any GPIO pin and don't try to draw more than 3mA per output.
I've yet to be able to get this to work. Not getting any output on Putty terminal, GTKTerm terminal, or Screen terminal.
are you connecting over wifi or cable?
@@python360 WiFi when setting up Raspbian on a monitor and then I guess it's still WiFi when I try connecting it to my laptop with the FTDI adapter because I don't have the Ethernet cable plugged in.
Did you create the 'ssh' file with the Wi-Fi said and password when you set up Caspian?
@@python360 I didn't create any ssh file because I didn't even know that I had to. All's I did was put Raspbian on a flashdrive because I'm USB booting it and then went into the initial setup process after booting the raspberry pi and then updated it via sudo apt update && sudo apt upgrade in the terminal and then enabled the serial port via raspberry configuration app or software that's in Raspbian by default.
Ah ok, so if you have a monitor connected, go to terminal and do 'ssh-keygen' you can find full info on Google on " set up ssh" 👍
I followed your steps but when I type tail /boot/config.txt there is no line with enable_uart=1. What can I do?
You'd need to add the line with a text editor.
Sir how to communicate raspberry send A to raspberry B recived but output was same