UART | Raspberry Pi Pico Workshop: Chapter 4.2

  Рет қаралды 6,191

Core Electronics

Core Electronics

Күн бұрын

Пікірлер: 26
@ejon
@ejon 9 ай бұрын
This channel is about to explode🎉
@wb7ond
@wb7ond 27 күн бұрын
Now that was cool, I'd never UART two Pico together... Great easy explanation, to spur on trying other comms. I remember UART from the old 8080 micro days, it used to be the only serial mode we had... UARTS were huge multi-pin ttl ic chips... Ham radio computer thru rs-232 from a UART to feed the TTY converter... Old tech never dies. Thanks for these courses...
@smillakohlschein4987
@smillakohlschein4987 2 ай бұрын
we had to do this for uni and this video seriously saved us! great video! :)
@Baanchou
@Baanchou 19 күн бұрын
Absolutely perfect video for a project I'm starting. I want to make a USB button box using a pico but also have communications from the game that will get sent to the pico to turn off/on LEDs based on game-state.
@azucar151
@azucar151 8 ай бұрын
Best YT practical explanation on UART and the Pico BAR NONE !!! ... cleared all my doubts and got my project moving .... THANK YOU SO MUCH 😀🥰 !
@Core-Electronics
@Core-Electronics 8 ай бұрын
No worries, glad we could help! 😊
@NewtonLijoodi
@NewtonLijoodi 7 ай бұрын
This was such a clear beginner-friendly explanation on the uart communication protocol for pico. Thanks👌👌👏👏
@Jo-re2ye
@Jo-re2ye 5 ай бұрын
You explain it all in a really great way! I just realized why I couldn't get UART to work before. UART0 is the same UART that is also used by the USB connection with the computer. So your use of UART1, while connected via USB makes a lot of sense! I'm so glad I figured that out!
@Jo-re2ye
@Jo-re2ye 5 ай бұрын
hmm, I came to the wrong conclusion. Apparently it can work using UART0. I couldn't connect to the REPL anymore, because Thonny got confused with the 2 picos connected to the same computer
@Core-Electronics
@Core-Electronics 5 ай бұрын
The Pico's UART channels are independent of the USB connection, glad you solved it! :)
@Jo-re2ye
@Jo-re2ye 5 ай бұрын
@@Core-Electronics I'm using an extension board from AliExpress. It has RS485 and I tried to use it directly as UART. There is some electronics between GP0/GP1 and B-/A+, which gave some strange results. I'm such a noob at this... Yesterday I connected directly to those pins and it worked like a charm. Learning all the time.
@ramizballou5197
@ramizballou5197 6 ай бұрын
Thanks for sharing and clarifying the HW connection and SW coding - 👍
@teamaccuest8791
@teamaccuest8791 4 ай бұрын
Hey bro can you explain one thing are we able to connect multiple pico w via uart ( Main board + 2 pico w )
@Core-Electronics
@Core-Electronics 4 ай бұрын
UART is designed to be a one-to-one communication protocol in that you only connect 2 together. However you can technically connect multiple boards. I have had a Pico transmitting data to 3 boards at once (connect the TX of the main board to the 3 RX pins of the others), and I was having no issues receiving messages. However sending information back was a little tricky so I didn't do it.
@teamaccuest8791
@teamaccuest8791 4 ай бұрын
@@Core-Electronicsthanks bro ❤ for your reply
@electron46
@electron46 2 ай бұрын
Thank you for the excellent video. I built your circuit using two Picos and Thonny and it worked perfectly. Question, please: Is it possible to send data - even a single letter or number - from a PC-based Thonny Python program to a Pico with MicroPython using USB? It appears that there isn't a serial module for MicroPython. I can send data from the Pico to my PC using a print statement. Do I have to forget USB and connect with the Pico UART TX and RX inputs with a adapter cable to accomplish this? Thank you and best regards.
@Core-Electronics
@Core-Electronics 2 ай бұрын
That is a bit of a question! Usually when we do this we use a full sized Raspberry Pi computer, it runs Linux and has UART pins that can be used. But using a PC-based method isn't impossible, there is a Python library called Pyserial that allows you to do exactly what you are looking for. It is a little involved though, but long story short you can have your Python script using Pyserial sending commands, and another on the Pico receiving commands. A quick google search can help, or large language models like ChatGPT and Claude should definitely be able to help you write code. We also have a community forums where you can post this question, we have an army of makers over there that can help out! forum.core-electronics.com.au/
@humphrey7079
@humphrey7079 Ай бұрын
Hello, I am trying to connect two raspberry pi pico W’s together so they communicate via wifi. So that I can wirelessly control one with another (like a remote and it’s controller). Could you help point me in a direction to find more information on what to do for that? Or make a video:) thank you
@Core-Electronics
@Core-Electronics Ай бұрын
That is the holy grail of board-to-board wireless communication. Unfortunately you may be out of luck here with your options. The only thing that could do this reliably is something called MQTT. It wont be good for a remote and controller for something like an RC car, but will be good for a controller for a set of lights (you can't send too many commands too quickly), we have a video on it here: kzbin.info/www/bejne/r5OmfounqLasetkfeature=shared There is another microcontroller board series called an ESP32 and the only reason I use them is when I'm in a situation like yours. They have a feature called ESPNOW which lets you very reliably connect 2 boards with a more stripped down Wi-Fi connection, super handy for making a remote and controller.
@WaldoHazeleger
@WaldoHazeleger 10 ай бұрын
Nice video! However: Link to the full course page does noy work (yet)...
@superbellum
@superbellum 10 ай бұрын
noy? what's that?
@Core-Electronics
@Core-Electronics 10 ай бұрын
Sorry to hear that, I've taken a look an the link appears functional on my end is the issue still persisting?
@etfexpectations-sectoroutl5323
@etfexpectations-sectoroutl5323 10 ай бұрын
The link above does not work.
@Core-Electronics
@Core-Electronics 10 ай бұрын
Sorry to hear that, I've taken a look an the link appears functional on my end is the issue still persisting?
@gustje0493
@gustje0493 9 ай бұрын
I2C? Its gose I^2C
SPI | Raspberry Pi Pico Workshop: Chapter 4.3
10:02
Core Electronics
Рет қаралды 2,3 М.
I2C | Raspberry Pi Pico Workshop: Chapter 4.4
14:15
Core Electronics
Рет қаралды 4,2 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Vampire SUCKS Human Energy 🧛🏻‍♂️🪫 (ft. @StevenHe )
0:34
Alan Chikin Chow
Рет қаралды 138 МЛН
Using PICO Interrupts
25:15
Making Stuff with Chris DeHut
Рет қаралды 20 М.
Pico Course for Beginners | Coding, Electronics and Microcontrollers
4:03:45
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 909 М.
Raspberry Pi Pico gets WiFi via an ESP01 and UART
21:20
Tinker Tech Trove
Рет қаралды 49 М.
WAY faster than a Raspberry Pi-but is it enough?
17:26
Jeff Geerling
Рет қаралды 702 М.
Pico SeriesTutorial Ⅴ UART
11:22
Waveshare Electronics
Рет қаралды 4,6 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН