Duration 13:23

Raspberry Pi Pico PIO - Ep. 1 - Overview with Pull, Out, and Parallel Port

28 044 watched
0
1.3 K
Published 12 May 2021

Join David as he introduces us to the Raspberry Pi Pico's PIO features with theory and examples. Part 1 looks at programming a parallel port on the Pico for outputting 8 bit data to a 6502 computer. Good PIO Theory Video: /watch/g8aX_FYQnYyQX PIO code used in video: https://github.com/LifeWithDavid/Raspberry-Pi-Pico-PIO/blob/main/PIO% 20Parallel%20Port 00:00 - Introduction 00:38 - PIO Overview 03:00 - PIO Instructions 03:23 - State Machines 03:50 - GPIO Pin Mapping 05:40 - PIO Program Example 10:58 - PIO Parallel Port Demo 11:47 - Closing Music: (Pinnacle 19.5 royalty-free music): Pulsing Dance House Fever Reaction Time City Night Groove

Category

Show more

Comments - 93
  • @
    @TheRandomwraithlast year This whole series is a truly exceptional education resource on using pio & state machines with the raspberry pi pico. Thank you for posting. 6
  • @
    @grantpeterson25243 years ago Who says old dogs cant learn new tricks (and teach them exceptionally well too) youre a genius! Thanks for the help understanding, your teaching is concise but.
  • @
    @rdear2 years ago Thanks for making this video, david! I just got a few picos and im excited to continue your series and get to making some interesting projects!
    id="hidden2">edit: forgot to add that ive seen dozens of pio videos in the past few months and yours by far is the best! Clearest explanation and demonstration ive seen!
    . ...Expand 1
  • @
    @pro-nav3 years ago The grandpa i never knew i needed. Great video sir, i was trying to program pio this helped me to understand what i was actually doing wrong. Thank you i will be waiting for next part. 13
  • @
    @victorldunn96383 years ago I too had difficulty saying instantiation to students during lectures in the uk.
    in the end i used
    great walk-through of pio state machines - thank you.
    1
  • @
    @allthegearnoidea67522 years ago This is just what i wanted thanks david. My best regards chris.
  • @
    @profesoremilio8 months ago It' s just what i was looking for, i really appreciate the time you give us with these explanations. Greetings.
  • @
    @AB8Y_radio2 years ago Finally someone showing how to control multiple pins. All of the examples i could find are single pin. I was able to use this to make a pio lcd driver. . ...Expand
  • @
    @mahoneytechnologies6573 years ago Love the heathkit instruments! I built many, the world needs another heathkit like company!
  • @
    @skf9573 years ago I' ve coded (copied) and called a pio blinking led example from within a c++ program. I don' t know c++ very well and find it tricky, but using pio good video, well explained and you' ve got my sub. ...Expand
  • @
    @trumpeteerTralalalast year Thanks david. I like and appreciate your videos very much. Please keep it up!
  • @
    @joseparedesalbuja82933 years ago Thank you for your investigation about instantation. I believe that is very important to programwith optimum and fast data transfer through gpios. This method accelerates the job by using independent machine states further than registers (like arduino) thank you again. ...Expand 1
  • @
    @jchidley3 years ago I had looked at the pio documentation which i found tricky to understand. Your explanation makes sense to me. 5
  • @
    @flashcorp762 years ago Love the end fligt. Flite, flaeyt, lordy instantaneous flight.
  • @
    @kristiansims3 years ago This is the kind of pico project i' m interested in! Instant sub.
  • @
    @zilog13 years ago The little raspi pico super hero reminds me of captain zilog for the z80 stuff lmao. I love it. 1
  • @
    @vojtechmarsal85763 years ago And i thought the documentation for pico is awesome, but this video brings it to the next lvl. Thanks david
    i should finally build some project i am rather surprised that i did not find a single example where pio would be used as a counter tho, i guess noone needs rotary encoders these days. ...Expand
    1
  • @
    @Konrad_Wallmeier3 years ago Hello david,
    thanks for the great explanation!
    could you please also post the respective code sample.
    that would be great.
    the github link does not work.
    2
  • @
    @siriokds3 years ago Great job. You make me this stuffcould you please make some example about pinsdir? I' m interested in parallel bidirectional transmission where the direction of the data changes in real time. 1
  • @
    @weakbit6332 years ago Thank you for this video and theweakbit.
  • @
    @radekhn3 years ago Hi david,
    i hold this in my memory, not dive into the pio yet.
    there was mentioned somewhere that one of the pio examples was bus communication rp2040 datasheet, page 330 mentioned " 8080 and 6800 parallel bus"
    however i did not found it in examples.
    the pio is very hard to wrap mind around, and the documentation is hard to understand for me. The learning curve is very flat.
    looks the key point is the " 3. 5. 6. Gpio mapping" on page 359
    .
    ...Expand
  • @
    @astrogus2 years ago Working with pico w means changes. One pin important for testing is onboard led. Normally was pin 25, but now for pico w is connected to infineon chip . ...Expand
  • @
    @cthoadmin74582 years ago Can you program pio to do direct memory access? Direct access to the main memory of the main processors that is? High quality stuff, nice work david.
  • @
    @jdu16972 years ago Hello, thank you for this video. I am very new to electronics, but for my project i need to get my hands on it, is it possible to have a tutorial for the . ...Expand
  • @
    @kippie802 years ago Oh yeah, like the ceramic chip illustrations. Bet they are your chips too?
  • @
    @Ololoshizelast year Thanks, like for great manual. But how can you fit 500 into 8 bits?
    i mean " for from 0 to 500" but you mapped only 8 pins, so maximum value is 255.
    1
  • @
    @rtnashokverma34862 years ago Good morning david from ct, usa.
    great video series on pi pico.
    would you be interested in doing a pico-basedproject in c on commercial basis? Kindly let me know.
    best wishes.
    ashok
    .
    ...Expand
  • @
    @Marc_Wolfelast year Wait. So the fifo registers are buffered in a way where the data can' t be corrupted by my code not accounting forthe will just either use the old number or the new number depending on timing?. ...Expand
  • @
    @bobweiram6321last year It would be nice if reorganize your playlists in chronological order and by topic. The one containing this video is partially sorted with a few non-pio . ...Expand
  • @
    @ahbushnell12 years ago Why didn' t you use that scope behind you?
  • @
    @leks3412 years ago Great video! What i didnt understand is the part whereis communicating with this pio with. Put( command. Where this i value is sent to?
  • @
    @mahoneytechnologies6573 years ago I believe the rp2040 will cause all other processor companies to introduce pios, pios are just too useful not to! 1
  • @
    @rdear2 years ago Thanks for making this video, david! I just got a few picos and im excited to continue your series and get to making some interesting projects!
    id="hidden20">edit: forgot to add that ive seen dozens of pio videos in the past few months and yours by far is the best! Clearest explanation and demonstration ive seen!
    . ...Expand 1
  • @
    @AB8Y_radio2 years ago Finally someone showing how to control multiple pins. All of the examples i could find are single pin. I was able to use this to make a pio lcd driver. . ...Expand
  • @
    @skf9573 years ago I' ve coded (copied) and called a pio blinking led example from within a c++ program. I don' t know c++ very well and find it tricky, but using pio good video, well explained and you' ve got my sub. ...Expand
  • @
    @joseparedesalbuja82933 years ago Thank you for your investigation about instantation. I believe that is very important to programwith optimum and fast data transfer through gpios. This method accelerates the job by using independent machine states further than registers (like arduino) thank you again. ...Expand 1
  • @
    @vojtechmarsal85763 years ago And i thought the documentation for pico is awesome, but this video brings it to the next lvl. Thanks david
    i should finally build some project i am rather surprised that i did not find a single example where pio would be used as a counter tho, i guess noone needs rotary encoders these days. ...Expand
    1
  • @
    @radekhn3 years ago Hi david,
    i hold this in my memory, not dive into the pio yet.
    there was mentioned somewhere that one of the pio examples was bus communication rp2040 datasheet, page 330 mentioned " 8080 and 6800 parallel bus"
    however i did not found it in examples.
    the pio is very hard to wrap mind around, and the documentation is hard to understand for me. The learning curve is very flat.
    looks the key point is the " 3. 5. 6. Gpio mapping" on page 359
    .
    ...Expand
  • @
    @astrogus2 years ago Working with pico w means changes. One pin important for testing is onboard led. Normally was pin 25, but now for pico w is connected to infineon chip . ...Expand
  • @
    @jdu16972 years ago Hello, thank you for this video. I am very new to electronics, but for my project i need to get my hands on it, is it possible to have a tutorial for the . ...Expand
  • @
    @rtnashokverma34862 years ago Good morning david from ct, usa.
    great video series on pi pico.
    would you be interested in doing a pico-basedproject in c on commercial basis? Kindly let me know.
    best wishes.
    ashok
    .
    ...Expand
  • @
    @Marc_Wolfelast year Wait. So the fifo registers are buffered in a way where the data can' t be corrupted by my code not accounting forthe will just either use the old number or the new number depending on timing?. ...Expand
  • @
    @bobweiram6321last year It would be nice if reorganize your playlists in chronological order and by topic. The one containing this video is partially sorted with a few non-pio . ...Expand