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
@TheRandomwraithlast yearThis 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 agoWho 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 agoThanks 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!. ...Expand1
@
@pro-nav3 years agoThe 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 agoI 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 agoThis is just what i wanted thanks david. My best regards chris.
@
@profesoremilio8 months agoIt' s just what i was looking for, i really appreciate the time you give us with these explanations. Greetings.
@
@AB8Y_radio2 years agoFinally 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 agoLove the heathkit instruments! I built many, the world needs another heathkit like company!
@
@skf9573 years agoI' 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 yearThanks david. I like and appreciate your videos very much. Please keep it up!
@
@joseparedesalbuja82933 years agoThank 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. ...Expand1
@
@jchidley3 years agoI had looked at the pio documentation which i found tricky to understand. Your explanation makes sense to me. 5
@
@flashcorp762 years agoLove the end fligt. Flite, flaeyt, lordy instantaneous flight.
@
@kristiansims3 years agoThis is the kind of pico project i' m interested in! Instant sub.
@
@zilog13 years agoThe little raspi pico super hero reminds me of captain zilog for the z80 stuff lmao. I love it. 1
@
@vojtechmarsal85763 years agoAnd 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. ...Expand1
@
@Konrad_Wallmeier3 years agoHello 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 agoGreat 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 agoThank you for this video and theweakbit.
@
@radekhn3 years agoHi 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 agoWorking 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 agoCan 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 agoHello, 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 agoOh yeah, like the ceramic chip illustrations. Bet they are your chips too?
@
@Ololoshizelast yearThanks, 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 agoGood 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 yearWait. 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 yearIt 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 agoWhy didn' t you use that scope behind you?
@
@leks3412 years agoGreat 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 agoI believe the rp2040 will cause all other processor companies to introduce pios, pios are just too useful not to! 1
@
@rdear2 years agoThanks 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!. ...Expand1
@
@AB8Y_radio2 years agoFinally 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 agoI' 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 agoThank 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. ...Expand1
@
@vojtechmarsal85763 years agoAnd 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. ...Expand1
@
@radekhn3 years agoHi 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 agoWorking 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 agoHello, 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 agoGood 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 yearWait. 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 yearIt 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
Related videos for Raspberry Pi Pico PIO - Ep. 1 - Overview with Pull, Out, and Parallel Port:
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
in the end i used
great walk-through of pio state machines - thank you. 1
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
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
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
i mean " for from 0 to 500" but you mapped only 8 pins, so maximum value is 255. 1
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
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
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
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
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