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...
@smillakohlschein49872 ай бұрын
we had to do this for uni and this video seriously saved us! great video! :)
@Baanchou19 күн бұрын
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.
@azucar1518 ай бұрын
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-Electronics8 ай бұрын
No worries, glad we could help! 😊
@NewtonLijoodi7 ай бұрын
This was such a clear beginner-friendly explanation on the uart communication protocol for pico. Thanks👌👌👏👏
@Jo-re2ye5 ай бұрын
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-re2ye5 ай бұрын
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-Electronics5 ай бұрын
The Pico's UART channels are independent of the USB connection, glad you solved it! :)
@Jo-re2ye5 ай бұрын
@@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.
@ramizballou51976 ай бұрын
Thanks for sharing and clarifying the HW connection and SW coding - 👍
@teamaccuest87914 ай бұрын
Hey bro can you explain one thing are we able to connect multiple pico w via uart ( Main board + 2 pico w )
@Core-Electronics4 ай бұрын
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.
@teamaccuest87914 ай бұрын
@@Core-Electronicsthanks bro ❤ for your reply
@electron462 ай бұрын
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-Electronics2 ай бұрын
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Ай бұрын
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Ай бұрын
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.
@WaldoHazeleger10 ай бұрын
Nice video! However: Link to the full course page does noy work (yet)...
@superbellum10 ай бұрын
noy? what's that?
@Core-Electronics10 ай бұрын
Sorry to hear that, I've taken a look an the link appears functional on my end is the issue still persisting?
@etfexpectations-sectoroutl532310 ай бұрын
The link above does not work.
@Core-Electronics10 ай бұрын
Sorry to hear that, I've taken a look an the link appears functional on my end is the issue still persisting?