Тёмный

Raspberry Pi Pico W LESSON 26: Drawing a Circle on the OLED 1306 Display 

Paul McWhorter
Подписаться 386 тыс.
Просмотров 6 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 84   
@GaBriel-ft3ko
@GaBriel-ft3ko 5 месяцев назад
I was 1/4 though the video and paused to write that you are a legend! You really care about passing knowledge to us and giving us tools to work independently. You are a selfless legend Sir!
@scottwait3585
@scottwait3585 Год назад
Thanks for the lesson Paul! Always good to hear the math behind the problems. The teaching perspective of, "math is your friend and the solution, not the problem" is always very good to hear!
@qzorn4440
@qzorn4440 Год назад
This is the second time I watched Lesson26 and it is better the 2nd time around. Also, I have watched Lissajous patterns made with a swinging bottle of sand. 🥳 Thank you.
@StudentTrader
@StudentTrader 4 месяца назад
Your teaching me so much!
@cbrombaugh
@cbrombaugh Год назад
I AM LEGEND of the CHALLENGE OF ALL CHALLENGES !!! This 80 year old codger with 2 engineering degrees made a floating potato chip. lol Unfortunately, I am not into recordingRU-vid videos, so you will just have to believe that my wife will testify that she saw it. This was a half-day project with a lot of missteps along the way, but persistence prevailed. Thanks Paul for another most-excellent lesson.
@paulmcwhorter
@paulmcwhorter Год назад
LEGEND!
@TheUnofficialMaker
@TheUnofficialMaker Год назад
never too old to learn!
@patrickfox-roberts7528
@patrickfox-roberts7528 Год назад
I remember doing the lissajous on CROs years ago and being fascinated
@todd3c
@todd3c 8 месяцев назад
For the circle, I worked smarter not harder by using the ellipse function. BUT after seeing Paul's solution that would be best if a full circle is not needed. TY Paul. Suggestions for addressing 2 SSD1306(s)??? So, is that only a single chest bump or a Target lawn chair???
@rickbonari4493
@rickbonari4493 Год назад
What a great soloution. Please include more math in the lessons. What a great math teacher as well !!!!! Rick
@pralaymajumdar1206
@pralaymajumdar1206 7 месяцев назад
❤.. Thank you sir for sharing your knowledge.. It's asset.
@TheUnofficialMaker
@TheUnofficialMaker Год назад
I bailed on trig my sr year and have regretted it in later years. thanks for the awesome explanation and experiments.
@paulmcwhorter
@paulmcwhorter Год назад
Look up lessons on the free Khan Academy. Really good lessons on trig, with practice problems.
@WACkZerden
@WACkZerden Год назад
Lesson was a ton of fun. excited for lesson 27🔥🔥
@scottpettygrove7821
@scottpettygrove7821 Год назад
I used the .ellipse function from the framebuf library after noticing that the SSD1306 driver referenced this library. Just set the x radius and the y radius equal to one another and you get a circle instead of an ellipse. Maybe that's cheating? The key instruction: myoled.ellipse(xpos, ypos, 20, 20, 1) , where xpos and ypos place the center of the ellipse in the middle of the screen.
@scottwait3585
@scottwait3585 Год назад
Thanks Paul!
@EETechStuff
@EETechStuff Год назад
Challenge accepted! Well, kinda...I didn't use an RPi or OLED, but instead turned it into a tutorial on how to draw bitmap animations in C# for my channel, and used the Lissajous as an example. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-viIWlNfxffc.html
@charlotteswift
@charlotteswift Год назад
Here is the link to my solution for lesson 25: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-gyWG-Ao4fUM.html
@paulmcwhorter
@paulmcwhorter Год назад
Interesting. Great to see so many really digging into this homework.
@freddyveza
@freddyveza 8 месяцев назад
Well I could not make it work alone, had to check on Paul's solution
@stephenlightkep1621
@stephenlightkep1621 Год назад
Thanks for the cool tutorial. I loved TRYING to figure out the circle homework. So I guess trying to fiqure out the potato chip in 16 lines or less should be fun as well. Math rocks I dont get it but I like it.
@paulmcwhorter
@paulmcwhorter Год назад
Keep trying, dont give up on the math.
@charlotteswift
@charlotteswift Год назад
Here is the link to my new improved solution to lesson 22 and also some thoughts on lesson 24: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-2vtuvreFxzw.html
@samsiev
@samsiev Год назад
This is Lissajous figure - en.wikipedia.org/wiki/Lissajous_curve
@andreyh7621
@andreyh7621 10 месяцев назад
It is so pity I found your lessons so late and I'm not in schedule. As for circle, I used Pifagor's theorem to build circle as I didn't want to use math library. It has no so flat sides at each 90 degrees but it has some spaces at y axis at every 180. As for next homework, since it was posted 4 month ago I can put spoilers here :) It is lissajous figures. I draw them on old oscilloscopes in our lab at university. Will not watch next video until I finish this challenge.
@brucemilyko8549
@brucemilyko8549 11 месяцев назад
I am legend. I found that the primitives text, rect, line, etc are inside framebuff that ssd1302 is importing. There is also an ellipse primitive and if you set both diameters to the same value, you draw a circle
@paulmcwhorter
@paulmcwhorter 11 месяцев назад
LEGEND!
@kalidabdul6862
@kalidabdul6862 Год назад
Hi. Just wondering paul are there any more raspberry pi lessons because I didn't see any this Thursday?
@paulmcwhorter
@paulmcwhorter Год назад
Yes, the lesson 70 concludes the Raspberry Pi class for now. Next up, likely I will do a class on the new Arduino R4. That will probably start in a month or so.
@ChrisMadden-y8z
@ChrisMadden-y8z Год назад
Hey Paul, got a Q....how would I control an LED that's built into my microphone boom arm (The current controller is a small remote attached to a cable coming from the boom arm) I would ideally love it to be enabled whilst the microphone fader is up.....if that isn't possible a button would suffice
@rickbonari4493
@rickbonari4493 Год назад
Hi Paul, Would I be correct in saying that if you started the x axis at 0 instead of at 5 that the circle would have been completely filled? Thanks much.
@TheUnofficialMaker
@TheUnofficialMaker Год назад
try it
@deniszawad
@deniszawad Год назад
Bravo for the crasy chip video. ; - )
@KJ7JHN
@KJ7JHN Год назад
Recommend explore A* (2pi/b*t -d)+c. ... @30:36 y loop?
@solaraynz3080
@solaraynz3080 Год назад
Hello Paul, Sadly, the raspberry pi is out of my price range. So would the Raspberry Pi Pico W work with the Raspberry Pi tutorial? i know theres a specific tutorial for that but i feel this is just more detailed
@WilliamBurlingame
@WilliamBurlingame Год назад
You can di a lot with the Pico, but the Raspberry Pi has resources that are missing on the Pico and Pico W. The Raspberry Pi has a full operating system, HDMI, USB ports, Camera port, Ethernet, and a micro SD port.. The Pico is missing those features. However, the PICO and PICO W are very capable microcontrollers. They typically are relegated to doing a single task. The Raspberry Pi OS can do multitasking.
@charlotteswift
@charlotteswift Год назад
I decided to try to do all the RPi lessons on my pico and I managed it pretty well (until the Pico W lessons started). I have posted my alternative solutions on my channel in case you're interested
@charlotteswift
@charlotteswift Год назад
For anyone having trouble finding the ellipse method, it does not seem to be included in the framebuf library on a Pico non-W
@keithlohmeyer
@keithlohmeyer Год назад
Charlotte, I do not have a regular Pico to check, but Lori says it is available in the regular Pico. Did you get your Pico code from Pimoroni by chance?
@charlotteswift
@charlotteswift Год назад
@@keithlohmeyer I'm using the pico that came with my Geeekpi kit. I can't update micropython past v1.19.1. Maybe the problem is with Thonny. I'll just use a pico w until I get time to look at it.
@charlotteswift
@charlotteswift Год назад
@keithlohmeyer I updated Thonny and all is well. Hurrah!!
@LorisHW
@LorisHW Год назад
Yes I was able to use the ellipse method with a regular pico. I was using the official micropython v1.20.0. I loaded that version from inside of Thonny on to it.
@polkcountymike6274
@polkcountymike6274 Год назад
I retracted my full video and replaced it with just the introduction which shows the results. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-54MaW8i91Cg.html
@bigbogeyface
@bigbogeyface Год назад
Legend!!! 💪
@charlotteswift
@charlotteswift Год назад
Here is a demonstration of my solution: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-x0lhPqKWCh0.html
@paulmcwhorter
@paulmcwhorter Год назад
Excellent.
@keithlohmeyer
@keithlohmeyer Год назад
Well I have folded up like a cheap Walmart lawn chair. I have no idea where to start without cheating. Since it look like a sine wave I assume trig will come into play. Look forward to your solution Paul.
@paulmcwhorter
@paulmcwhorter Год назад
Tune in for next weeks lesson. It is basically an old trick people would do on an oscilliscope. And it is easy enough to program up. Thanks for watching.
@lorisrobots
@lorisrobots Год назад
I hope you don't consider reading on these curves cheating. I didn't know the functional form to use so I read a bunch and then coded it. Got it running but I would like to make it not "flash" so much on my screen as I clear it out.
@robakers6127
@robakers6127 Год назад
I am with you Keith.. I don't want to go look at other solutions yet. Still ahve not given up. I sure have learned alot. I ahve figured out how to show something like a potato chip, but cannot figure out how to make it spin.
@Bob-zg2zf
@Bob-zg2zf Год назад
27:48 😂😂😂
@arnoldschmucker9977
@arnoldschmucker9977 Год назад
I folded like a cheap Walmart folding chair!
@arnoldschmucker9977
@arnoldschmucker9977 Год назад
I finally got it thanks to Scott Pettygrove, ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-own896ac_5M.html
@VeryUsMumblings
@VeryUsMumblings 11 месяцев назад
Lawn Chair from the Dollar Store...😀 (I realized that there wasn't a library to do it for me and admit defeat.)
@scottpettygrove7821
@scottpettygrove7821 Год назад
Great assignment, Paul. Here's a link to my solution for Homework 26 (which also happens to be my very first RU-vid creation): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-own896ac_5M.html
@paulmcwhorter
@paulmcwhorter Год назад
LEGEND!
@polkcountymike6274
@polkcountymike6274 Год назад
Now I have made my solution public ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-P3esd0ux5oE.html I wasn't clever enough to look ahead for the Lissajous hint. I plotted the potato chip, started it rotating around the z axis and then displayed the projection on the y-z axis. I think it looks the same, but not quite as simple (or as versatile). Thanks for the lesson!
@Wythaneye
@Wythaneye Год назад
I folded up like a cheap Walmart lawn chair. Rather than spend another week on this one, I admit defeat. I'm moving on.
@Ed-fv9rl
@Ed-fv9rl Год назад
Paul, I folded up, like cheap Walmart lawn chair... : (
@bigbogeyface
@bigbogeyface Год назад
Here's my homework: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-fq3rKLtk06A.html 🙂👍
@paulmcwhorter
@paulmcwhorter Год назад
LEGEND!
@DrDave327
@DrDave327 Год назад
Another great exercise, Paul! Here is my solution to the homework assignment: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6utV49KrnUA.html
@fablapp
@fablapp 9 месяцев назад
i know I am late for the party... but I think I came out with a reasonable solution.... the maths was actually basic ru-vid.comdMtffL9YAw0
@polkcountymike6274
@polkcountymike6274 Год назад
I think I got it. Thanks for the challenge. Here is my solution to the homework: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-P3esd0ux5oE.html
@paulmcwhorter
@paulmcwhorter Год назад
You have the video set to 'private' meaning no one can see it but you.
@polkcountymike6274
@polkcountymike6274 Год назад
@@paulmcwhorter yes, after I posted my solution, I noticed that Charlotte posted her results, but withheld the solution so as not to reveal how to do it. Following her lead, I set my original video to private. Here is the introduction which shows my result, but does not include the details of the program. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-54MaW8i91Cg.html
@charlotteswift
@charlotteswift Год назад
I can't see your pringle!! Has somebody eaten it?
@polkcountymike6274
@polkcountymike6274 Год назад
@@charlotteswift 😄
@bigbogeyface
@bigbogeyface Год назад
​@@charlotteswift"Has somebody eaten it" 😂🤣😂 You crack me up 😅😂🤣😄
Далее
Angry bird PIZZA?
00:20
Просмотров 9 млн
DIY Pump Solutions
00:18
Просмотров 1,6 млн
#kikakim
00:17
Просмотров 8 млн
When Did Raspberry Pi become the villain?
21:54
Просмотров 1,6 млн
Hacking a weird TV censoring device
20:59
Просмотров 3,1 млн
What's the difference? Arduino vs Raspberry Pi
6:21
Просмотров 1,8 млн
Angry bird PIZZA?
00:20
Просмотров 9 млн