I can use any value from 0 to 100 (0 and 100 included) as duty cycle for PWM, and it works as expected. I think it also worked for you in lesson 9. Note that Trigger mode Normal on an oscilloscope will NOT trigger a change on the screen for fixed DC voltages. Duty cycle 100 will output a DC voltage of 3.3V. On my scope, I changed Trigger mode to Auto, and I could see the expected output for any duty cycle between 0 and 100.
@davidschnider12972 жыл бұрын
Thanks Paul.. .I applied your starting Duty Cycle to my solution.. I wasn't starting at Zero brightness.. glad that there was no more homework... I did play with mine and using the same hardware setup.. ignored the push buttons .. and had the program generate a random number between 1 and 20 for each of the colors and then output that combo to the OLED.. applying the newly calculated Logarithmic Constant for 20 steps between zero and 100%. and repeating endlessly at 0.5 second intervals... FUN..... impressed my wife
@bruceward64712 жыл бұрын
Thanks!
@paulmcwhorter2 жыл бұрын
Thanks, Really appreciate that!
@AbdelrahmanAl-Manassra10 ай бұрын
you are the True Legend!!!! i did solve the assignment correctly, but thank you so much for what you are doing, I have been looking for a while for a course like this and finally here we are. thank you so much and please do not stop sharing this knowledge, we are really enjoying following up with you!! Abd.
@yashdangat70182 жыл бұрын
You are the best teacher i have got ❤
@larryplatzek90172 жыл бұрын
I enjoyed this lesson, looking forward to next lesson! Sorry to miss tuesday and thursday live sesions , Tuesday is election day, but will watch when I can next week!
@theamazingnachocamacho6500 Жыл бұрын
I have learned so much from this series, 9 months behind, but thank you for taking the time, as a welder learning coding and completing these exercise, then trying to trouble shoot, Why isn't it working! What's this error? But when you figure it out, the dopamine rush! Eureka! Thank you.
@xavierbraive44702 жыл бұрын
great lesson Paul, thank you ! i will adapt that to my common anode RGB LED.
@WilliamLundy-e5t11 ай бұрын
Ok I am just learning the Raspberry PI python coding so trying to understand the try, and while true statements, I had a real struggle to get this to finally work. Note to my self there is a lot of deference to the "if DCr=>99 than if DCr=>.99 Took watching the assignment about four times to find my mistake. thanks for the good work
@DaniSpeh2 жыл бұрын
excellent lesson, as always
@pralaymajumdar12062 жыл бұрын
You r legend sir.. Outstanding lesson.
@paulmcwhorter2 жыл бұрын
Wow, thanks!
@miraclealozie25282 жыл бұрын
Looking forward for this
@whoknows18932 жыл бұрын
Hey paul. I just wanted to share my story of the last year. I have watched this channel for about nine months on an acount with my real name. I didnt want to peapole to know I was commenting so I made this acount. Anyways. I took your arduino series and had lots of fun. Then I watched the sucsesfull enginer video thing. It really made the diffirence hearing those words. I decided to take a little harder course with a much better teacher and work harder. Now I got an A as my grade, before I had E wich is accepted here but you know, not great. I looked at a thing that mapped out all my tests and the only one on C was the first test I did there. Everything else was a and I only missed 1 a question. Thank you for those motivating words!
@floridian0802 жыл бұрын
Great lesson, thanks. Also enjoyed the quick view of pied kingfisher diving in the Nile at the end of the lesson. A simple question please: why are 3 resistors needed for RGBLED? Couldn't we just have 1 resistor attached to the RGB ground pin?
@paulmcwhorter2 жыл бұрын
you can not use 1 resistor. If you did, changing the value of one channel would change the value of the other channels. If you do not believe me, connect three seperate LED, connect grounds together, and then run through a resistor to circuit ground. You will see changing brightness of one will affect brightness of the others.
@connectme2karthik Жыл бұрын
@@paulmcwhorterwhy is it so? How a single resistor can impact by bringing a change in other resistors when you try to change in one?
@mecatronicsforeveryone95652 жыл бұрын
thank you. I have learned a lot from your channel.
@paulmcwhorter2 жыл бұрын
Glad to hear it!
@frankowalker46622 жыл бұрын
Cheers, Paul.
@rvsoffgrid7884 Жыл бұрын
Great lesson! We are similar age and my eyes have difficulty seeing the white writing on black background on the LXTerminal. When I go to preferences I can change the background color but I can’t accept it because the preferences window extends below my screen. Any ideas?
@TheScissorunner Жыл бұрын
Who''s your Huckleberry!!! Thanks to you Mr. McWhorter!
@bobingridshaw53612 жыл бұрын
You could bend the LED backwards to shine on the punchboard and the colours might show up better on camera.
@wardeneternal11406 ай бұрын
thanks to you, Mr McWhorter, I am LEGEND.
@captinkrazy696811 ай бұрын
im getting the same results with your program that i did with mine. the red button works but the green button is activating the green and blue channels but the ligts dont work. only for red. I think i fried my PWMs or something.
@martinlewis645 Жыл бұрын
Thanks again. Legend
@paulmcwhorter Жыл бұрын
LEGEND!
@garethhunt6220 Жыл бұрын
i am legend! double chest bump! used a value of 1.5 as integer!
@pokechampion14932 жыл бұрын
you can't copy in nano editor but you can cut text (^K) and paste it with (^U)
@ShinesMonkey1 Жыл бұрын
I am legend! Which pins are PWM on the pi 4? I used the pins you used but my Pinout doesn’t show PWM on pins 35 and 37. EDIT: Just figured out that since we are using a software PWM set-up, all the GPIO pins will work. I will leave this comment up, in case somebody else was wondering the same thing. Thanks for the great lesson Paul!
@IbnSarBit2 жыл бұрын
Can u explain about 555 timer please 🥺🥺🥺
@jessekloberdanz2462 жыл бұрын
Thank you for another great video Paul! I am still working through many of your series of lessons, but I wanted to put in a request if you have not done it yet. For either Arduino or RPi, it would be cool to add a lesson on using a 12 V relay, something like a SRD-12VDC-SL-C. Took me awhile to figure it out the first time on my own and I think you would have a lot of interest if it was taught by you. I know it requires a power supply of some sort, so maybe for a different series.. But for me it was the next stepping stone using GPIO's so that I could use it for a practical use (i.e running a liquid pump). Just a thought! We appreciate you.
@paulmcwhorter2 жыл бұрын
I dont do lessons on the relays because I avoid any topic where someone could hurt themselves. Using relays can involve voltages and currents that can actually kill you. Really to use relays you need to first really understand electrical safety. So, I stick to things that there is no way someone could get hurt.
@MultiTechEducation4U2 жыл бұрын
Nice sir
@johnhechtlinger9465Ай бұрын
my program works fine but I get this annoying type error and traceback and exception mumbo jumbo whenever I run it. Again, these errors are ignored and the program runs fine. I've done everything to suppress the messages whenever I control c out of the program but to no avail. I want to see a nice clean terminal when my program terminates
@johnhechtlinger9465Ай бұрын
ok...i figured out what the problem was. I had rpi.gpio and lgpio both installed and there was a conflict. I removed lgpio and everything is ok now. what a nightmare...
@LucasBiunessa2 жыл бұрын
HI paul, my name is Lucas and i want to know if you are gonna make more videos about arduino ? Thank you !
@teymurasgarli9506 Жыл бұрын
I actually wait till the very end to hear Paul mentioning silly cat videos...
@MultiTechEducation4U2 жыл бұрын
👍👍
@freddyveza Жыл бұрын
I'm trying to reach premiere on this lesson, won't be making any videos for the sake of speed, but I am legend
@liamoliverdarroch6482 Жыл бұрын
I am legend! Although I forgot part of the command to set up a PWM thingy so I had to go back to an older lesson. Does this count? Either way I'm proud of what I achieved :p
@paulmcwhorter Жыл бұрын
LEGEND!
@calebprenger39282 жыл бұрын
I think you could make reading a dictionary sound interesting
@peterkarlsson78012 жыл бұрын
There are at least 2 ways I can copy and paste in Nano.
@patrickfox-roberts75282 жыл бұрын
oo tut tut ...no comments in the code ...........
@paulmcwhorter2 жыл бұрын
These videos are long, and if I typed comments in the code, they would be twice as long. I explain each step in the video, there is no need for me to bore you by haveing you watch me type what I am already saying. I am very deliberate in what I do.
@suelingsusu13392 жыл бұрын
👌👌👏👏💪💪💪🖖🖖🖖🖖
@waynel43442 жыл бұрын
i am legend :)
@paulmcwhorter2 жыл бұрын
LEGEND!
@peterbush3972 Жыл бұрын
I am legend.
@paulmcwhorter Жыл бұрын
LEGEND!
@DrDave3272 жыл бұрын
Great lesson, Paul. Here is a link to my homework: kzbin.info/www/bejne/jZfMeaSln7F5mZY. I did not get the RGB button covers in my kit. I wonder if anyone else experienced that.
@paulmcwhorter2 жыл бұрын
Nice Work!
@brucemilyko85492 жыл бұрын
I am legend
@ScottSummerill2 жыл бұрын
Not sure why you're even doing this series since there are ZERO model 4's available anywhere.
@paulmcwhorter2 жыл бұрын
Because there are lots of pi's out there, and everything we have done so far could be done on any pi.
@keithlohmeyer2 жыл бұрын
Adafruit still has pi 400's in stock. You should be able to do everything except the pi camera with it.
@aregayohannes99732 жыл бұрын
Know that you are helping and serving a lot of people throughout the world! you are doing it all out of good and kind heart! someone from Africa, Ethiopia, is so grateful of what you doing! who doesn't love paul after all? Thank You Paul! God bless you! is there a way that we can contact you? contact address please?