Тёмный
Lori's Homework
Lori's Homework
Lori's Homework
Подписаться
Hi! I'm Lori. I am learning to be a "maker" of robotic and electronic projects as a hobby. This RU-vid channel (@LorisHW) contains homework videos I make for RU-vid courses I am following. I share my own original projects and tutorial videos on my other RU-vid channel @lorisrobots

Thanks for watching!
HW for Paul McWhorter's Pico W Class Lesson 54
4:25
5 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 53
10:06
5 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 52
10:38
5 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 46
3:53
5 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 38
7:13
7 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 33
21:46
7 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 31
12:43
9 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 30
17:26
10 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 28
11:24
10 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 26
8:00
11 месяцев назад
HW for Paul McWhorter's Pico W Class Lesson 25
13:23
11 месяцев назад
Комментарии
@keithlohmeyer
@keithlohmeyer 5 дней назад
Nice! This is why I enjoy watching all the HW vids. There are so many different ways to code. Thanks for the video.
@LorisHW
@LorisHW 4 дня назад
This was a fun challenge. Thanks for watching!
@leeg.1402
@leeg.1402 6 дней назад
Great job! Your code is always so easy to read and understand. Thanks for posting.
@LorisHW
@LorisHW 5 дней назад
Thanks for watching!
@paulmcwhorter
@paulmcwhorter 7 дней назад
Excellent!
@LorisHW
@LorisHW 6 дней назад
Thanks for the great lessons!
@paulmcwhorter
@paulmcwhorter 9 дней назад
Excellent!
@LorisHW
@LorisHW 8 дней назад
Thanks for watching!
@charlotteswift
@charlotteswift 10 дней назад
Nice video, Lori. I nearly bought some of those cat LEDs but was put off because you couldn't control the colour of it yourself but, there again, cats😸😸are more difficult to train than dogs🐶🐶
@LorisHW
@LorisHW 9 дней назад
It would be nice to have true RGB Cat LEDs. But these are quite fun. Looks like I can no longer post videos to Paul's channel as well. I read some on this topic and think it may be that YT has designated me as someone who is "harassing" his channel by always posting video links. This might explain why folks suddenly can't post anymore. Still the mystery continues ... Thanks for watching!
@charlotteswift
@charlotteswift 9 дней назад
@@LorisHW I always used to use 'copy video link' in RU-vid Studio but when my comments/links were getting deleted, I tried clicking 'Share' below the video and then 'copy'. That worked really well for a while and then ... it didn't😿😿
@LorisHW
@LorisHW 9 дней назад
@@charlotteswift Same experience as you. I have tried several different approaches - so far none of them are getting through. Bummer.
@keithlohmeyer
@keithlohmeyer 10 дней назад
Great job! When I learned Arduino on the R3 using the string class was discouraged because of the chance to fragment the limited (heap) memory when strings were edited (added to). Maybe it is not that big of an issue on the R4 and not a problem with your code. Thanks for the video
@LorisHW
@LorisHW 10 дней назад
I will pay attention to how I use that class. May not matter with the new board as you say. Thanks for watching!
@bigbogeyface
@bigbogeyface 10 дней назад
Very cool 😎 👌
@LorisHW
@LorisHW 10 дней назад
Thanks for watching BBF!
@leeg.1402
@leeg.1402 10 дней назад
Using the LED matrix is a nice touch. Thanks for posting.
@LorisHW
@LorisHW 10 дней назад
That LED matrix is lots of fun. Thanks for watching!
@leeg.1402
@leeg.1402 Месяц назад
Good video. Thanks for posting!
@LorisHW
@LorisHW Месяц назад
Thanks for watching!
@keithlohmeyer
@keithlohmeyer Месяц назад
I never thought about the non linear nature of the LED brightness until Paul brought it up. Your way is as good as any. Thanks for the video.
@LorisHW
@LorisHW Месяц назад
I think I have done several different approaches now. They all work reasonable well IMO. I have now entered the "not able to post links to homework" crowd. I tried with both accounts I have and Paul did not approve either one of them. I am assuming he is not seeing these and they are being filtered out by YT. Oh well. It was fun while it lasted. Thanks for watching!
@keithlohmeyer
@keithlohmeyer Месяц назад
@@LorisHW I noticed I get blocked anytime I try to get to verbose in my replies so I keep them general and short.
@keithlohmeyer
@keithlohmeyer Месяц назад
I find that algorithm gets blocked. see if it makes it through here.
@LorisHW
@LorisHW Месяц назад
@@keithlohmeyer I always keep my HW posts short - so that is not the reason.
@qzorn4440
@qzorn4440 2 месяца назад
Excellent Lesson 12. I think the slide resistor is the audio taper curve? Thank you for the information.
@LorisHW
@LorisHW Месяц назад
Interesting ... will need to look up audio taper curves. Thanks for watching!
@qzorn4440
@qzorn4440 Месяц назад
@@LorisHW Great video.
@WA9ONYHomework
@WA9ONYHomework 2 месяца назад
Hi Lori, great homework video and GitHub.
@peterbrylka7877
@peterbrylka7877 2 месяца назад
Hello Lori, The py code is also available in GitHub. Thanks, great video. Peter
@justmc62
@justmc62 2 месяца назад
Great tutorial Lori . Picked up the Neopixel ring you are using so that I can follow along . Taking Pauls homeworks to a new level always impresses me . Thanks for keeping me on my toes !
@LorisHW
@LorisHW 2 месяца назад
Enjoy your neopixel ring. So much fun! Thanks for watching!
@andrelecoultre1257
@andrelecoultre1257 2 месяца назад
Real quality and imagination here. Well done . Keep on the good effort. Much appreciated
@LorisHW
@LorisHW 2 месяца назад
Thanks for watching!
@drdentin3215
@drdentin3215 2 месяца назад
Wow, your videos always have bonus info. Thanks. Just for curiosity, did your perceived brightness increase (get closer to 255) with other color LEDs?
@LorisHW
@LorisHW 2 месяца назад
I did not try other colors. Would be interesting to test. Thanks for watching!
@charlotteswift
@charlotteswift 2 месяца назад
Nice video, Lori. I've got a sliding pot thingy too. I wonder whether it behaves like yours. I'll probably never find out because it needs soldering👎 You really ought to get yourself some purple LEDs to go with your purple arduino holder😁although mine aren't purple enough😿
@LorisHW
@LorisHW 2 месяца назад
Purple LEDs is a great idea! Just start soldering - I am finally feeling pretty good about it but I needed to just practice a bunch. Thanks for watching!
@charlotteswift
@charlotteswift 2 месяца назад
@@LorisHW The first thing to learn about soldering is that solder rhymes with folder, holder, bolder and colder😁
@LorisHW
@LorisHW 2 месяца назад
@@charlotteswift Sorry - I will stick with my American pronunciation. That is just how it is going to be for me.
@charlotteswift
@charlotteswift 2 месяца назад
@@LorisHW You can say it exactly as you want!! I haven't even got as far as plugging my soddering iron in yet👎
@LorisHW
@LorisHW 2 месяца назад
@@charlotteswift Just Do It! 😃
@robertschuldenfrei2402
@robertschuldenfrei2402 2 месяца назад
Very good presentation. During the 1970s I built large scale simulation models of business logistics for Fortune 500 companies. The costs of transportation were modeled, just as you did here, by piecewise linear functions. This technique earned our firm over $100,000. a shot!
@LorisHW
@LorisHW 2 месяца назад
Yes - piecewise linear functions is probably a better term for what I did. I have been retired for three years now and I am starting to forget my statistical terminology! Empirical modeling works well in many cases. Thanks for watching!
@paulmcwhorter
@paulmcwhorter 2 месяца назад
Excellent! Love the linear potentiometer, and use of math for perceptible smooth change of brightness. Well done!
@LorisHW
@LorisHW 2 месяца назад
Thanks for the lesson Paul!
@charlotteswift
@charlotteswift 2 месяца назад
I had another look at your video (because I thought I would see how it would work if you used a generator rather than an array of brightnesses) and then I saw that you had a 'for i' loop inside another 'for i' loop. AARGH!!!!!!!!!!
@LorisHW
@LorisHW 2 месяца назад
Maybe next time?
@Richardj410
@Richardj410 2 месяца назад
Great work.
@LorisHW
@LorisHW 2 месяца назад
Thanks for watching!
@scottpettygrove7821
@scottpettygrove7821 2 месяца назад
Really nice work, Lori!
@LorisHW
@LorisHW 2 месяца назад
Thanks for watching!
@leeg.1402
@leeg.1402 2 месяца назад
Great video. I'm "still" messing around with Neopixel rings. Keep thinking of new things to try with them. Thanks for posting
@LorisHW
@LorisHW 2 месяца назад
Love Neopixels! Thanks for watching!
@charlotteswift
@charlotteswift 2 месяца назад
Those neopixels look interesting. You're so lucky that RU-vid isn't blocking your comments. I'm about to throw in the towel.
@LorisHW
@LorisHW 2 месяца назад
Thanks for watching!
@paulmcwhorter
@paulmcwhorter 2 месяца назад
Excellent use of classes. Also really cool neoPixels. Nicely done!
@LorisHW
@LorisHW 2 месяца назад
Thanks for the lesson Paul!
@paulmcwhorter
@paulmcwhorter 3 месяца назад
Yes! Nonlinear progression. Nice job.
@LorisHW
@LorisHW 3 месяца назад
Thanks for the lessons Paul!
@drdentin3215
@drdentin3215 3 месяца назад
Good job. So is size of the same as Len in pico?
@LorisHW
@LorisHW 3 месяца назад
Not exactly sizeof() returns the number of bytes in a variable type, or the number of bytes occupied by an array. So be getting the number of bytes for the entire array and then dividing it by the.number of bytes of just one element - this will give the number of items in the array. Thanks for watching!
@bigbogeyface
@bigbogeyface 3 месяца назад
Cool 😎 👍
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@jameslewellen150
@jameslewellen150 3 месяца назад
Nice, I like the way you did that, I used for loops for mine. I was at a loss as to how to get the incrementing without brute forcing it.
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@leeg.1402
@leeg.1402 3 месяца назад
Good video. Thanks for posting.
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@davidbgood2801
@davidbgood2801 3 месяца назад
Thanks for posting Lori one of the things I am learning right now is the Millis function so I am very glad you used it here this was very helpful to me, and I love the way you, // explain what each step is doing along the way in your code, this really helps me to learn I am very thankful for people like you that don't mind helping others out in this area. I hope you have a blessed day.
@LorisHW
@LorisHW 3 месяца назад
I add lots of comments to my code so that I can remember what I was doing/thinking as I put the program together. That way when I look at it a year later, I can understand why I coded it that way. Glad you find it helpful. Thanks for watching!
@charlotteswift
@charlotteswift 3 месяца назад
Nice video, Lori. How many times did you have to put a link on Paul's lesson before it appeared? I'm on 3 tries and counting😿 Instead of using millis etc have you thought of using software interrupts? They are on my to do list which is getting ever longer! btw I'm not keen on printing out just on the timing of the faster led. Imagine if the intervals had the ratio of 3:7, for example. "Ah", everyone says, "Don't use a ratio of 3:7"
@LorisHW
@LorisHW 3 месяца назад
I have used interrupts in micropython lots of times. Mainly for detecting button presses which is onerous (IMO) without interrupts. I will likely give that a try in Arduino code soon. Just exploring various types of coding at this point in the lessons. You could do the serial printing for each LED in its own if statement to deal with unusual timings. I have not had any issues with posting on Paul's vids but I see folks indicating that they are having issues. Not sure what is going on there. Thanks for watching!
@jyvben1520
@jyvben1520 3 месяца назад
shows why functions are useful, doing this for 10 leds would make the code long, and using a function can lead to less typing (demo code, untested) void sp(txt){ Serial.print(txt); // user can add to txt so no println needed } and in micropython vars can initialized like A = B = C = 0, or for different values, A,B,C = 0,1,2
@LorisHW
@LorisHW 3 месяца назад
Great suggestions. Thanks for watching!
@paulmcwhorter
@paulmcwhorter 3 месяца назад
Well done!
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@Richardj410
@Richardj410 3 месяца назад
Thank you.
@LorisHW
@LorisHW 3 месяца назад
Thanls for watching!
@paulmcwhorter
@paulmcwhorter 3 месяца назад
Excellent
@LorisHW
@LorisHW 3 месяца назад
Thanks for the lessons Paul!
@John-te3zd
@John-te3zd 3 месяца назад
Thank you Lori, really helps understanding Paul's classes
@LorisHW
@LorisHW 3 месяца назад
Glad you find the videos helpful. Thanks for watching!
@bigbogeyface
@bigbogeyface 3 месяца назад
Fantastic 🙂👍
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@scottpettygrove7821
@scottpettygrove7821 3 месяца назад
Nice solution, Lori - and excellent video! That ring is pretty cool, too.
@LorisHW
@LorisHW 3 месяца назад
I love neopixels in all shapes. Thanks for watching!
@Richardj410
@Richardj410 3 месяца назад
Thanks
@LorisHW
@LorisHW 3 месяца назад
Thanks for watching!
@peterbrylka7877
@peterbrylka7877 4 месяца назад
Hello Lori, where can I get the better joystick? Peter
@LorisHW
@LorisHW 4 месяца назад
Adafruit has the one I showed in my homework.
@davidbgood2801
@davidbgood2801 4 месяца назад
Hey Lori I am following Paul McWhorter also, that's how I found you, and I am so glad I did I am now following you also I am an old dog trying to learn new tricks so I look forward to going through all your videos and learning from you, I like your way of thinking on this subject and explaining things. Best D.
@LorisHW
@LorisHW 4 месяца назад
Thanks for the feedback and for watching!
@charlotteswift
@charlotteswift 4 месяца назад
@LorisHW Nice video, Lori. I'm treating these early lessons as an opportunity to think up more cunning ways of doing things and, of course, to try to learn C++. When I look back at some of my early videos, they seem very lame indeed👎but as you say that's how you do things when you're learning
@LorisHW
@LorisHW 4 месяца назад
Thanks for watching! I am finding it hard to be "cunning" in both python and C++.
@freddyveza
@freddyveza 4 месяца назад
Very nice explaining. Thanks
@LorisHW
@LorisHW 4 месяца назад
Thanks for watching!
@freddyveza
@freddyveza 4 месяца назад
Very nice explaining, thanks
@paulmcwhorter
@paulmcwhorter 4 месяца назад
Nice work!
@LorisHW
@LorisHW 4 месяца назад
Thanks for the lesson Paul!
@John-te3zd
@John-te3zd 4 месяца назад
Great video Lori, I get as much out of your videos as I do Paul's. Keep them coming
@LorisHW
@LorisHW 4 месяца назад
Thanks for the feedback and watching!
@leeg.1402
@leeg.1402 4 месяца назад
Nice Job as always. I'm picky about what color wires are used for what too. I have a box of the pre-cut wires, but they never seem to be the right length and I end up trimming them to fit. Thanks for posting.
@LorisHW
@LorisHW 4 месяца назад
I have built up quite a collection of pre-cut wires over these past couple of years. Thanks for watching!
@leeg.1402
@leeg.1402 4 месяца назад
Great Job! Adding the matrix to show the decimal number was cool! Thanks for posting.
@LorisHW
@LorisHW 4 месяца назад
Thanks for watching!
@keithlohmeyer
@keithlohmeyer 4 месяца назад
Nice job as always. You can take it one step farther and ditch the if else with digitalWrite(ledPin[i], bitRead(myByte, i)) Thanks for posting.
@LorisHW
@LorisHW 4 месяца назад
I could but I think that it is more "readable" the way I have it. I am not that interested in making it as short as possible. Thanks for watching!