Paul, dear sir, I love your cold coffee and your style. I follow your lessons and enjoy them very much from a distant little town in Italy. My greetings!
Paul, what an amazing lesson on binary numbers. Very important skill to learn when working with micro controllers and programming in in the field of engineering. Great work 🎉
I love how u teach. I learned fusion 360 watching your videos an now I've found myself watching your videos to learn coding. Your videos are by far the best out of all the videos I've watched to try an learn somthing your videos have always been the easiest for me to follow
WOW! as of the time of this comment I count 13 homework videos. Great job everyone. Paul, it looks like you have a good class going. Thanks for all you do.
Me too! Even though we did a similar lesson on Arduino, new ideas come to mind. I’m thinking a potentiometer to control the color, then I can lay a color pallet down next to the potentiometer with an arrow. It would take some work to calibrate the two, but would be fun. Also I’d like to control the brightness with two buttons. Even if you think you’ve seen all these lessons, rewatch them!
35 years ago I was given a task to program a minicomputer. They had a report that needed a standard deviation calculation. That machine could read and write mag tape and had a hex keypad to input data. There was an array of RED LEDs labeled from right to left 1, 2, 4, 8, 16, ... etc. That was it. I could punch in a machine language program if I liked and save it to mag tape, but it was too easy to get errors. Needless to say, I wrote a disassembler for that processor on a IBM 370, reverse engineered the existing program, wrote a square root function (that mini computer didn't do square roots), wrote an assembler, and finished the job. Interestingly, square root functions are a guessing game. I flipped bits on sequentially from most significant on down. I multiplied the guess times itself and if my guess was too high flipped the bit back off and went to the next. It took at most 16 guesses. AKA binary search pattern. This RED LED was a real flashback for me.
you are too cooll. I wanted to do this way, but not sure how in this envrionment. I sort of forced it with an array. but this is the right way to do it in my opinion (which matters very little to the world). Thanks for sharing. Mind if I copy the code? You are ledgend!,...
Great videos! Will you be releasing a video for using the Pico W for Bluetooth connectivity? Another great video would be how to use Visual Studio Code for Pico W programming.
I did the assignment but I have a question regarding micropython. FYI I'm decent at coding in python and brand spanking new to micro. My approach to writing the code for the assignment was to create a function for each number 1 thru 15. The function for each corresponding number put each LED in the correct setting. I then added all functions to a list. My plan was to use a for loop to iterate thru the list and sleep for one second during each iteration. The result was all LEDs turned on. To troubleshoot the problem I started by simple calling a function by its index in the list (e.g. numbers[4] calls the function five() which sets the LEDs to display binary five). This seems to be the root of the problem in that it didn't work. The function didn't get called correctly. What's going on?
I have tried GP pins 15,14,13,12 (for 8,4,2,1 values), but the wrong LEDs light up. I thought I needed to add a "reset" period between the flashing binary numbers, but that didn't fix the issue.
Lesson 3 - Binary Counter Homework - Thank you Paul ruclips.net/user/shortsjiiDShqNnFg Using Python 3 with the Thonny editor . Hardware includes the use of a 220 ohm resistor array for LED current limiting .
Minor Point, as you are filming it you start counting at the left most bit instead of the right most bit. You should count from the right LED. You could recode, or just rotate your board 180 degrees.
I AM LEGEND, at least as far as sending SOS with a blinking LED. I have sent at 5 WPM, 10 WPM, and 20 WPM. It was fun figuring out the time unit for the 3 different speeds. I just never got my solution up on RUclips. Next up I'm going to ask the user for a string to send and the speed at which they want it sent. I just have to figure out the RUclips piece.
Ok, Paul: New vid: counting from right to left as you suggested. Also, to our friend BBF: who states that my resistors are on the wrong side of the LEDs in the circuit. I have demonstrated that the resistors do function as needed in this case. Is there an electronics dogma that states that this is incorrect, even though it is working? Also, just to mention I initially tried to use the new toggle() tool that Paul introduced, but I could not get that to work with this, and I tried to only use methods that have been introduce in this series of tutorials. I failed since I had to use a variable to store the data, which has not been introduced yet, without just regurgitating 16 lists of bit states, like many others did in their solutions. Anyway, here is the new vid: ruclips.net/video/UsDC6LeA-Xk/видео.html
Homework for Lesson 3 ruclips.net/video/W9GlsWQI6V0/видео.html Paul, I have a feeling that this course will force us to learn a lot more than you're actually teaching. Keep up the good work.
Assignment from lesson 2: A fun and interesting assignment to be sure. Did you know? In 1939 Tim McElroy set the world speed record for copying morse code at a blistering 75.2 wpm. My homework assignment: ruclips.net/video/cCSYFUeO-CU/видео.html
Paul! Just found your channel on Monday night. Your ability to take something complicated and break it down into digestible bite size pieces is amazing. I'm very excited to have found your channel. Can't wait for the next episode.. here's my homework for lessons 3 ruclips.net/video/IGMVrbMtgic/видео.html
Hi Anthony, Great job! If you want comments on your vids you have to click Not made for kids after upload. I know it make you feel like you are posting something bad but that's YT for you. Welcome to the homework club!
@keithlohmeyer122 Hey Keith! Thanks for the explanation about yt kids. I appreciate it. Also, I'm excited to be a part of the club. I can't wait to learn more from Paul and everyone else.
Thanks Paul for the Pico W lessons. Here's my homework for this session. I challenged myself to learn more of the programming syntax in this exercise. ruclips.net/video/ik_GE4eDkGs/видео.html
I tightened up the code further. Only 10 lines - check it out. Learning more every day. from machine import Pin from time import sleep pinNum=[Pin(19,Pin.OUT),Pin(18,Pin.OUT),Pin(17,Pin.OUT),Pin(16,Pin.OUT)] #create an array of pins. Pin19 is least sig. digit while Pin16 is most sig. digit while True: for x in range(16): #run x from 0 to 15 y = x #set y = x for p in range(3,-1,-1): #run p from 3 down to 0 (3,2,1,0) pinNum[p].value(y//(2**p)) #array position p's value = integer of y divided by 2 to the p power (eg. integer of 15/(2^3) = 1) y = y%(2**p) #new value of y will be the remainder of y/(2^p) (eg. new y = 15 - 8 = 7) sleep(1)
Pico W Lesson 3: Homework - Synced with Nightcall by Kavinsky - ruclips.net/video/mUujspsFdiA/видео.html As a Computer Science student I don't get much opportunity to play with hardware so this series has been fantastic for me!!
Guess, I'm late to the party... from machine import Pin from time import sleep led1 = Pin(0, Pin.OUT) led2 = Pin(1, Pin.OUT) led3 = Pin(2, Pin.OUT) led4 = Pin(3, Pin.OUT) led1.value(0) led2.value(0) led3.value(0) led4.value(0) x=0 for x in range(6): # toggle leds to get ready led1.toggle() # flash 3 times then GO led2.toggle() led3.toggle() led4.toggle() sleep(.5) for count in range(16): x = count # print(x) # print(bin(x)) z=4 sleep(.5) for y in range(4): if (x & 1): # print("on") eval ("led" + str(z) +".value(1)") else: # print("off") eval ("led" + str(z) +".value(0)") z=z-1 x=x>>1 sleep(1) led1.toggle()# turn leds off led2.toggle() led3.toggle() led4.toggle()
Lesson 3 using list comprehensions and bit-wise right shift operator: ruclips.net/video/-Kx--UhLOKA/видео.html&ab_channel=Quaternion An inspirational lesson, as always...
While new to using a Raspberry Pi Pico I am not new to programming. I have come up with a much more simpler solution to making a binary counter. This is not a beginners solution but uses a lot less code. A great series of videos looking forward to trying some more. ruclips.net/user/shortsmiYv_pqZMEc
Yes my solution is primitive, but I always only use techniques which I have already taught in the class. So, I only used the commands taught in lessons 1-3.
Once again I made multiple videos for Lesson 2. The first is online, my quick and dirty guide to breadboards and making my own jumpers: ruclips.net/video/vOkfB9EQQp8/видео.html
Yes. I wondered about these items. Which way to locate the bread board, the leads on the resistors and wires lengths. This is the first time of explanation.
Another great lesson Paul, and here's my homework for this one: ruclips.net/video/YGGdWEC8huQ/видео.html Having completed the requested challenge I decided to extend it slightly ;) Now looking forward to next week's lesson :)
sir, i have a question. as a maybe simple exercise, i wanna turn on an LED when my phone camera(or any camera connected to laptop) detects a motion, else turn off the LED. is this possible using opencv, micropython and a araspberry pi pcio w? (my goal is connecting micropython and opencv in thonny or any other programming environments)
Better late than dead! Or, in this case, sounding half dead. My voice cleared up enough to record my Lesson 2 homework, sending Morse code via LED. ruclips.net/video/gw4qO6Xy3fs/видео.html
from machine import Pin from time import sleep LED1 = Pin(10,Pin.OUT) LED2 = Pin(11,Pin.OUT) LED3 = Pin(12,Pin.OUT) LED4 = Pin(13,Pin.OUT) def mod2(num,LED): if num % 2 == 1: LED.value(1) num -= 1 num /= 2 return num def mod16(num): num = mod2(num,LED4) num = mod2(num,LED3) num = mod2(num,LED2) num = mod2(num,LED1) LED1.value(0) LED2.value(0) LED3.value(0) LED4.value(0) for x in range(16): LED1.value(0) LED2.value(0) LED3.value(0) LED4.value(0) mod16(x) sleep(.5)
Finished the homework for this lesson: ruclips.net/video/6Z3xAu_P9ko/видео.html I am not the best video editor but this is forcing me to try and get better.
I did a little homework help ruclips.net/video/ukw2KgI-meU/видео.html Thanks James for letting me hijack your video! Thanks Paul for another great lesson.
Nice work. It is easier for me to see your homework if you will upload as normal youtube video, and not a short. With a short, I can not pause, back up, or see the code clearly. Thanks!
ruclips.net/video/jBSAAmvF-y8/видео.htmlsi=cfG_Ln-_ecNylSV0 Did it the "hard" way with a lot of copy and paste. Figured if Paul hasn't used a loop to this point then I won't either!
ruclips.net/video/mEkMbKu16Cs/видео.htmlsi=XS4LvdsNQuLVylou I used chat gpt to correct my spelling, I'm not very good with python, prefer javascript 🤷♂️😃
Just amazing. I really love mathematics, science, engineering, computers, circuits, robotics, etc. This class is like a dream world for me!
Paul, dear sir, I love your cold coffee and your style. I follow your lessons and enjoy them very much from a distant little town in Italy. My greetings!
Excellent!
Paul, what an amazing lesson on binary numbers. Very important skill to learn when working with micro controllers and programming in in the field of engineering. Great work 🎉
I love how u teach. I learned fusion 360 watching your videos an now I've found myself watching your videos to learn coding. Your videos are by far the best out of all the videos I've watched to try an learn somthing your videos have always been the easiest for me to follow
I love how you say "GIDDY UP"
WOW! as of the time of this comment I count 13 homework videos. Great job everyone. Paul, it looks like you have a good class going. Thanks for all you do.
Paul, I've watched one or two of your earlier lessons on binary numbers in previous series but still found this one taught me a lot! Thank you.
Excellent!
Me too! Even though we did a similar lesson on Arduino, new ideas come to mind. I’m thinking a potentiometer to control the color, then I can lay a color pallet down next to the potentiometer with an arrow. It would take some work to calibrate the two, but would be fun. Also I’d like to control the brightness with two buttons. Even if you think you’ve seen all these lessons, rewatch them!
Hay Paul ,I am from India. I love your tutorials. 😊
Done Homework it works Found 2 led on top part breadboard and 2 led on bottom.
Brilliant explanation of binary 👌
Excellent instruction, teaching, delivery!
By using binary you can count up to 31 by using five fingers.
If you go extra mile and use both hands, it's 2^10-1, which is 1023
Is it just me or am I the only one enjoying watching your videos in X2 speed? Great work, keep it up!
I have to watch all this channel's videos x2 speed, otherwise they are too slow.
Thank you for this, Paul. Truly easy to understand!
Glad it was helpful!
35 years ago I was given a task to program a minicomputer. They had a report that needed a standard deviation calculation. That machine could read and write mag tape and had a hex keypad to input data. There was an array of RED LEDs labeled from right to left 1, 2, 4, 8, 16, ... etc. That was it. I could punch in a machine language program if I liked and save it to mag tape, but it was too easy to get errors. Needless to say, I wrote a disassembler for that processor on a IBM 370, reverse engineered the existing program, wrote a square root function (that mini computer didn't do square roots), wrote an assembler, and finished the job.
Interestingly, square root functions are a guessing game. I flipped bits on sequentially from most significant on down. I multiplied the guess times itself and if my guess was too high flipped the bit back off and went to the next. It took at most 16 guesses. AKA binary search pattern.
This RED LED was a real flashback for me.
Memory Lane!
Hi Paul!!
Congratulations for one more excelent lessons!
Here´s my homework! :c)
Of course it´s possible to do this using for, case and so on but I have used the resources that you teached until now.
from machine import Pin
from time import sleep
led1 = Pin(0, Pin.OUT)
led2 = Pin(1, Pin.OUT)
led3 = Pin(2, Pin.OUT)
led4 = Pin(3, Pin.OUT)
while True:
#0
sleep(2)
led1.value(0)
led2.value(0)
led3.value(0)
led4.value(0)
sleep(2)
#1
sleep(2)
led1.value(1)
led2.value(0)
led3.value(0)
led4.value(0)
sleep(2)
#2
led1.value(0)
led2.value(1)
led3.value(0)
led4.value(0)
sleep(2)
#3
led1.value(1)
led2.value(1)
led3.value(0)
led4.value(0)
sleep(2)
#
led1.value(0)
led2.value(0)
led3.value(1)
led4.value(0)
sleep(2)
#5
led1.value(1)
led2.value(0)
led3.value(1)
led4.value(0)
sleep(2)
#6
led1.value(0)
led2.value(1)
led3.value(1)
led4.value(0)
sleep(2)
#7
led1.value(1)
led2.value(1)
led3.value(1)
led4.value(0)
sleep(2)
#8
led1.value(0)
led2.value(0)
led3.value(0)
led4.value(1)
sleep(2)
#9
led1.value(1)
led2.value(0)
led3.value(0)
led4.value(1)
sleep(2)
#10
led1.value(1)
led2.value(0)
led3.value(1)
led4.value(0)
sleep(2)
#11
led1.value(1)
led2.value(0)
led3.value(1)
led4.value(1)
sleep(2)
#12
led1.value(0)
led2.value(0)
led3.value(1)
led4.value(1)
sleep(2)
#13
led1.value(1)
led2.value(0)
led3.value(1)
led4.value(1)
sleep(2)
#14
led1.value(0)
led2.value(1)
led3.value(1)
led4.value(1)
sleep(2)
#15
led1.value(1)
led2.value(1)
led3.value(1)
led4.value(1)
sleep(2)
Thanks Paul! Another excellent lesson. This Pico W rocks!!! My code:
#Binary Counter by Ed Palacios
from machine import Pin
from time import sleep
#Declare pinout
LED_0=Pin(15,Pin.OUT) #Pin 20
LED_1=Pin(14,Pin.OUT) #Pin 19
LED_2=Pin(13,Pin.OUT) #Pin 17
LED_3=Pin(12,Pin.OUT) #Pin 16
#bit Value
bit_0 = 0
bit_1 = 0
bit_2 = 0
bit_3 = 0
#Clear LEDs
LED_0.value(bit_0)
LED_1.value(bit_1)
LED_2.value(bit_2)
LED_3.value(bit_3)
while True:
try:
for i in range(16):
for j in range(4):
bit=(i >> j) & 1
if j==0:
bit_0=bit
if j==1:
bit_1=bit
if j==2:
bit_2=bit
if j==3:
bit_3=bit
sleep(.5)
print('Step#:',i)
print('Ox%',bit_3,bit_2,bit_1,bit_0)
LED_0.value(bit_0)
LED_1.value(bit_1)
LED_2.value(bit_2)
LED_3.value(bit_3)
sleep(2)
except KeyboardInterrupt:
LED_0.value(0)
LED_1.value(0)
LED_2.value(0)
LED_3.value(0)
break
you are too cooll. I wanted to do this way, but not sure how in this envrionment. I sort of forced it with an array. but this is the right way to do it in my opinion (which matters very little to the world). Thanks for sharing. Mind if I copy the code? You are ledgend!,...
@@robakers6127 No I'd be very glad if you find it useful! I commited to Paul that I would share. Greetings from Portugal!
An excellent presentation 👏
Thank you!
Great videos! Will you be releasing a video for using the Pico W for Bluetooth connectivity?
Another great video would be how to use Visual Studio Code for Pico W programming.
In position to watch lesson #3 on the Pico W.
I did the assignment but I have a question regarding micropython. FYI I'm decent at coding in python and brand spanking new to micro.
My approach to writing the code for the assignment was to create a function for each number 1 thru 15. The function for each corresponding number put each LED in the correct setting. I then added all functions to a list. My plan was to use a for loop to iterate thru the list and sleep for one second during each iteration. The result was all LEDs turned on. To troubleshoot the problem I started by simple calling a function by its index in the list (e.g. numbers[4] calls the function five() which sets the LEDs to display binary five). This seems to be the root of the problem in that it didn't work. The function didn't get called correctly. What's going on?
I see the replay when I get up tomorrow morning. This will run @ 1:00am.
your background video looks like my village ❤❤
I have tried GP pins 15,14,13,12 (for 8,4,2,1 values), but the wrong LEDs light up. I thought I needed to add a "reset" period between the flashing binary numbers, but that didn't fix the issue.
Make sure you understand the pinout on the pico, and the difference between physical pins and GPIO pins.
Is it possible to use just one resistor? as a paralel circuit!? if so should be 4X220ohms? thanks
Very interesting.
Thank you
Lesson 3 homework assignment geared for beginners: ruclips.net/video/J3p6YwTZrmM/видео.html Great lesson as always Paul!
Lesson 3 - Binary Counter Homework - Thank you Paul
ruclips.net/user/shortsjiiDShqNnFg
Using Python 3 with the Thonny editor . Hardware includes the use of a 220 ohm resistor array for LED current limiting .
Minor Point, as you are filming it you start counting at the left most bit instead of the right most bit. You should count from the right LED. You could recode, or just rotate your board 180 degrees.
@@paulmcwhorter Thanks Paul..not sure what I was or was not thinking🙃... New upload should now be correct ..
Nice job. Thanks for posting.
I AM LEGEND, at least as far as sending SOS with a blinking LED. I have sent at 5 WPM, 10 WPM, and 20 WPM. It was fun figuring out the time unit for the 3 different speeds. I just never got my solution up on RUclips. Next up I'm going to ask the user for a string to send and the speed at which they want it sent. I just have to figure out the RUclips piece.
LEGEND!
Sadly I have a conflict Tuesday and will have to catch the replay. My Lesson 2 Morse code homework is coming!
Sorry to hear, hopefully you enjoy the replay.
Ok, Paul: New vid: counting from right to left as you suggested. Also, to our friend BBF: who states that my resistors are on the wrong side of the LEDs in the circuit. I have demonstrated that the resistors do function as needed in this case. Is there an electronics dogma that states that this is incorrect, even though it is working?
Also, just to mention I initially tried to use the new toggle() tool that Paul introduced, but I could not get that to work with this, and I tried to only use methods that have been introduce in this series of tutorials. I failed since I had to use a variable to store the data, which has not been introduced yet, without just regurgitating 16 lists of bit states, like many others did in their solutions. Anyway, here is the new vid: ruclips.net/video/UsDC6LeA-Xk/видео.html
The resistor just needs to be in series with the LED. It can be between long leg and voltage supply, or between short leg and ground.
@@paulmcwhorter Thanks for the reply!!!!!
Sorry Paul! I forgot my results for Binary Counter:
Step#: 0
Ox% 0 0 0 0
Step#: 1
Ox% 0 0 0 1
Step#: 2
Ox% 0 0 1 0
Step#: 3
Ox% 0 0 1 1
Step#: 4
Ox% 0 1 0 0
Step#: 5
Ox% 0 1 0 1
Step#: 6
Ox% 0 1 1 0
Step#: 7
Ox% 0 1 1 1
Step#: 8
Ox% 1 0 0 0
Step#: 9
Ox% 1 0 0 1
Step#: 10
Ox% 1 0 1 0
Step#: 11
Ox% 1 0 1 1
Step#: 12
Ox% 1 1 0 0
Step#: 13
Ox% 1 1 0 1
Step#: 14
Ox% 1 1 1 0
Step#: 15
Ox% 1 1 1 1
Homework for Lesson 3 ruclips.net/video/W9GlsWQI6V0/видео.html
Paul, I have a feeling that this course will force us to learn a lot more than you're actually teaching. Keep up the good work.
Assignment from lesson 2:
A fun and interesting assignment to be sure. Did you know? In 1939 Tim McElroy set the world speed record for copying morse code at a blistering 75.2 wpm. My homework assignment: ruclips.net/video/cCSYFUeO-CU/видео.html
LEGEND!
Ah, This is a good one for future reverence. You have any message and the code stamps it out. Where can I steal the code instead of rewriting it?
highest I ever got was license minimum 12 WPM !
Paul! Just found your channel on Monday night. Your ability to take something complicated and break it down into digestible bite size pieces is amazing. I'm very excited to have found your channel. Can't wait for the next episode.. here's my homework for lessons 3
ruclips.net/video/IGMVrbMtgic/видео.html
LEGEND!
@@anthonyanzalone8491 You've got comments turned off on your video
Hi Anthony, Great job! If you want comments on your vids you have to click Not made for kids after upload. I know it make you feel like you are posting something bad but that's YT for you. Welcome to the homework club!
@@charlotteswift Thank you for the heads up! Made the switch a few minutes ago.
@keithlohmeyer122 Hey Keith! Thanks for the explanation about yt kids. I appreciate it. Also, I'm excited to be a part of the club. I can't wait to learn more from Paul and everyone else.
Thanks Paul for the Pico W lessons. Here's my homework for this session. I challenged myself to learn more of the programming syntax in this exercise. ruclips.net/video/ik_GE4eDkGs/видео.html
LEGEND!
Nice simple short length of code. The array is still confusing to me.
I tightened up the code further. Only 10 lines - check it out. Learning more every day.
from machine import Pin
from time import sleep
pinNum=[Pin(19,Pin.OUT),Pin(18,Pin.OUT),Pin(17,Pin.OUT),Pin(16,Pin.OUT)] #create an array of pins. Pin19 is least sig. digit while Pin16 is most sig. digit
while True:
for x in range(16): #run x from 0 to 15
y = x #set y = x
for p in range(3,-1,-1): #run p from 3 down to 0 (3,2,1,0)
pinNum[p].value(y//(2**p)) #array position p's value = integer of y divided by 2 to the p power (eg. integer of 15/(2^3) = 1)
y = y%(2**p) #new value of y will be the remainder of y/(2^p) (eg. new y = 15 - 8 = 7)
sleep(1)
Are you going to do java lessons i would love if you do java lessons
Probably not
Pico W Lesson 3: Homework - Synced with Nightcall by Kavinsky - ruclips.net/video/mUujspsFdiA/видео.html
As a Computer Science student I don't get much opportunity to play with hardware so this series has been fantastic for me!!
LEGEND!
Guess, I'm late to the party...
from machine import Pin
from time import sleep
led1 = Pin(0, Pin.OUT)
led2 = Pin(1, Pin.OUT)
led3 = Pin(2, Pin.OUT)
led4 = Pin(3, Pin.OUT)
led1.value(0)
led2.value(0)
led3.value(0)
led4.value(0)
x=0
for x in range(6): # toggle leds to get ready
led1.toggle() # flash 3 times then GO
led2.toggle()
led3.toggle()
led4.toggle()
sleep(.5)
for count in range(16):
x = count
# print(x)
# print(bin(x))
z=4
sleep(.5)
for y in range(4):
if (x & 1):
# print("on")
eval ("led" + str(z) +".value(1)")
else:
# print("off")
eval ("led" + str(z) +".value(0)")
z=z-1
x=x>>1
sleep(1)
led1.toggle()# turn leds off
led2.toggle()
led3.toggle()
led4.toggle()
or 4 resistor of 220ohms?
Lesson 3 using list comprehensions and bit-wise right shift operator: ruclips.net/video/-Kx--UhLOKA/видео.html&ab_channel=Quaternion An inspirational lesson, as always...
LEGEND!
While new to using a Raspberry Pi Pico I am not new to programming. I have come up with a much more simpler solution to making a binary counter. This is not a beginners solution but uses a lot less code. A great series of videos looking forward to trying some more. ruclips.net/user/shortsmiYv_pqZMEc
Yes my solution is primitive, but I always only use techniques which I have already taught in the class. So, I only used the commands taught in lessons 1-3.
homework failed😓. I got two LEDs to shine, but when I added a third, the whole thing failed.
Hi folks new to PI , can anyone i tell me why my Prog does not run after i unplug my Pico? I know dumb question. Prob to stupid to answer
SOLUTION POSTED HERE: ruclips.net/video/GCTIyuMZHaE/видео.html
Great lesson. Nice homework assignment.
Homework assignment for Lesson #3: 8-bit LED Binary Counter.
ruclips.net/video/2eKm6feJhZQ/видео.html
LEGEND!
Once again I made multiple videos for Lesson 2. The first is online, my quick and dirty guide to breadboards and making my own jumpers: ruclips.net/video/vOkfB9EQQp8/видео.html
Nice Explanation
Yes. I wondered about these items. Which way to locate the bread board, the leads on the resistors and wires lengths. This is the first time of explanation.
Another great lesson Paul, and here's my homework for this one: ruclips.net/video/YGGdWEC8huQ/видео.html Having completed the requested challenge I decided to extend it slightly ;) Now looking forward to next week's lesson :)
Love it!
Never mind, its a counter, not just turn the leds on off 😂
sir, i have a question. as a maybe simple exercise, i wanna turn on an LED when my phone camera(or any camera connected to laptop) detects a motion, else turn off the LED. is this possible using opencv, micropython and a araspberry pi pcio w? (my goal is connecting micropython and opencv in thonny or any other programming environments)
Here is my homework with both a beginner-level and an advanced-level solution: ruclips.net/video/jGUIRa2HUOQ/видео.html Thanks Paul!
Nicely done
Better late than dead! Or, in this case, sounding half dead. My voice cleared up enough to record my Lesson 2 homework, sending Morse code via LED. ruclips.net/video/gw4qO6Xy3fs/видео.html
from machine import Pin
from time import sleep
LED1 = Pin(10,Pin.OUT)
LED2 = Pin(11,Pin.OUT)
LED3 = Pin(12,Pin.OUT)
LED4 = Pin(13,Pin.OUT)
def mod2(num,LED):
if num % 2 == 1:
LED.value(1)
num -= 1
num /= 2
return num
def mod16(num):
num = mod2(num,LED4)
num = mod2(num,LED3)
num = mod2(num,LED2)
num = mod2(num,LED1)
LED1.value(0)
LED2.value(0)
LED3.value(0)
LED4.value(0)
for x in range(16):
LED1.value(0)
LED2.value(0)
LED3.value(0)
LED4.value(0)
mod16(x)
sleep(.5)
Homework exercise. Once more - using C on Arduino IDE2 rather than Micropython. ruclips.net/user/shortsV3T5KuaikRk
Finished the homework for this lesson: ruclips.net/video/6Z3xAu_P9ko/видео.html I am not the best video editor but this is forcing me to try and get better.
LEGEND!
This is my Version of Binary Counter Code. Fun Stuff (Z=1 - O=2 - T=4 - F=8)
On my Channel you'll find Videos of Breadboard Computers using IC Logic chips and a 65C02 Processor, and a Error detection Circuit using "D" flip-flops to calculate the CRC code of a message.
ruclips.net/user/shorts2CYH013FwSY
from machine import Pin
from time import sleep
ZLED=Pin(12,Pin.OUT)
OLED=Pin(13,Pin.OUT)
TLED=Pin(14,Pin.OUT)
FLED=Pin(15,Pin.OUT)
while True:
ZLED.off()
OLED.off()
TLED.off()
FLED.off()
sleep(1)
ZLED.on()
OLED.off()
TLED.off()
FLED.off()
sleep(1)
ZLED.off()
OLED.on()
TLED.off()
FLED.off()
sleep(1)
ZLED.on()
OLED.on()
TLED.off()
FLED.off()
sleep(1)
ZLED.off()
OLED.off()
TLED.on()
FLED.off()
sleep(1)
ZLED.on()
OLED.off()
TLED.on()
FLED.off()
sleep(1)
ZLED.off()
OLED.on()
TLED.on()
FLED.off()
sleep(1)
ZLED.on()
OLED.on()
TLED.on()
FLED.off()
sleep(1)
ZLED.off()
OLED.off()
TLED.off()
FLED.on()
sleep(1)
ZLED.on()
OLED.off()
TLED.off()
FLED.on()
sleep(1)
ZLED.off()
OLED.on()
TLED.off()
FLED.on()
sleep(1)
ZLED.on()
OLED.on()
TLED.off()
FLED.on()
sleep(1)
ZLED.off()
OLED.off()
TLED.on()
FLED.on()
sleep(1)
ZLED.on()
OLED.off()
TLED.on()
FLED.on()
sleep(1)
ZLED.off()
OLED.on()
TLED.on()
FLED.on()
sleep(1)
ZLED.on()
OLED.on()
TLED.on()
FLED.on()
sleep(1)
Homework solution to lesson 3: ruclips.net/video/bzWMz_FJwOE/видео.html
Excellent!
Here is my homework, not sure if I am doing this correctly. I recorded my code along with the lite show. ruclips.net/video/VvuufH5yXhU/видео.html
Nice, but you are doing it reversed, left to right. You need to start counting with the rightmost LED, not leftmost.
@@ericsmith7988 You would get a lot more out of these lessons if you enabled comments on your videos. Just a suggestion
@@paulmcwhorter I had the board reversed when I filmed it, sorry for posting it in reverse.
Lesson 3 HW: ruclips.net/user/shorts16H3xnAWn4A
Here is my (worst ever) video for lesson 2: ruclips.net/video/N5Kwe1irolw/видео.html
Oh my. This is a way to enter a message, then have that message coded out.
Homework 0b11: ruclips.net/video/ticu5W4MGxw/видео.html
Thank you for these lessons, they are very helpful 😀
Oh, so simple. I knew it could be done. Thanks for sharing.
My Lesson 3 Homework: ruclips.net/video/Ro4MseRRxpM/видео.html
Mu were ancient and justified.
I did a little homework help ruclips.net/video/ukw2KgI-meU/видео.html
Thanks James for letting me hijack your video!
Thanks Paul for another great lesson.
Yes, this one uses binary values. Good one.
homework: ruclips.net/user/shorts0BajIgw0eLE?feature=share ( i added a button for incrementing the counter )
Nice work. It is easier for me to see your homework if you will upload as normal youtube video, and not a short. With a short, I can not pause, back up, or see the code clearly. Thanks!
ruclips.net/video/jBSAAmvF-y8/видео.htmlsi=cfG_Ln-_ecNylSV0
Did it the "hard" way with a lot of copy and paste. Figured if Paul hasn't used a loop to this point then I won't either!
LEGEND!
Homework for this lesson:
ruclips.net/video/O8xvtJByshU/видео.html
i am lenged
LEGEND!
Thank you for the lesson! My homework assignment is here: ruclips.net/video/NTSju8-JPIo/видео.html
My homework for Lesson #3
ruclips.net/user/shortsIZAtW3AZs4A?feature=share
Another great exercise, Paul! Here is my solution to the homework:
ruclips.net/video/5HP9AS1LX94/видео.html
Hi
Hello Wrld! I think you missed an o 01101111 after the W 01100100
Here's my homework: ruclips.net/video/UkK1iS6nUk4/видео.html 🙂👍
LEGEND!
ruclips.net/video/JQoiLpPplB0/видео.htmlfeature=shared hope this is elegant enough lol so proud of my self, thank you Paul.
LEGEND!
Here is my homework link. ruclips.net/video/noTl7_LC_9Q/видео.html
Nicely done!
Here is my solution for today's homework ruclips.net/video/6bcwvptJYSM/видео.html
LEGEND!
Nice!
Excellent 👍
Homework for Lesson 3 ruclips.net/video/25SLD0MfvcE/видео.htmlsi=F-VQJqE-00XaI8jr Your lessons rock!!!!
LEGEND!
Here's my homework solution: ruclips.net/video/5lFaO-M4SOA/видео.html ! A little late!
LEGEND!
My homework assignment ruclips.net/video/uM2vcU3x8dQ/видео.html
LEGEND!
Just uploaded Homework. ruclips.net/video/DWmhfz194OU/видео.html
LEGEND!
ruclips.net/video/mEkMbKu16Cs/видео.htmlsi=XS4LvdsNQuLVylou
I used chat gpt to correct my spelling, I'm not very good with python, prefer javascript 🤷♂️😃
LEGEND!