Learn MicroPython - Part 1 Controlling the flow

  Рет қаралды 19,014

Kevin McAleer

Kevin McAleer

Күн бұрын

Пікірлер: 46
@JohnJones-oy3md
@JohnJones-oy3md 2 жыл бұрын
Me yesterday: I don't think I want to learn yet another programming language. Me today: OK, maybe just one more. ;)
@phmiii
@phmiii Жыл бұрын
I am going through your entire "LEARN MICROPYTHON" class. This is my second time through this video.
@MrFirephly
@MrFirephly 2 жыл бұрын
I'm a beginner and look forward to the rest of this series as I do all your videos, which have been very helpful so far. At 7:12 in the microphone hello world example you missed a " at the end. I'm getting used to spotting silly things like that in my own code. What gets me is a computer will stop the code working and say "expecting ..." , if the pc knows it should be there then just carry on or put it in. Computers are stupid somethimes😂 edit........Other, turns out you did see it.
@EarnestWilliamsGeofferic
@EarnestWilliamsGeofferic 2 жыл бұрын
Explaining Computers sent me! (Well, he had your channel open in one of his videos ... ) 🕶
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Awesome! Pleased to meet you! Chris (@ExplainingComputers) was very kind and generous to include my channel in the Chrome OS Flex video! He's also given me some excellent tips to grow this channel even faster too. Hope you like what you find, and let me know if there is anything else you think I should cover!
@SteveH-TN
@SteveH-TN Ай бұрын
Again I find myself watching another of your excellent videos. Yes I’m a subscriber and definitely click the like button on your KZbin videos. Much appreciated
@SteveH-TN
@SteveH-TN Ай бұрын
Thanks for sharing this video and information.
@phmiii
@phmiii 2 жыл бұрын
Great information! I look forward to Part 2.
@shannonjohnson8842
@shannonjohnson8842 Жыл бұрын
I'm using Micropython to control Lego trains. As a beginner these tutorials are so useful!
@christopherlyons7613
@christopherlyons7613 6 ай бұрын
Thanks for these videos. Looks like you've done 3 parts in the learning Micro Python series. Have you considered doing more? These really cover the absolute basics and it would be really great to see s few more videos that jump into more intermediate & advanced topics. Things like interrupt handling (and +/-s vs polling), more sophisticated looping options, greater peeks into available libraries and when best to use them, differences and comparison between Micro Python and CircuitPyhon, etc.. Lots of different options for digging deeper that I think could help lots of makers. Hope you'll consider expanding this video line. Thanks.
@kevinmcaleer28
@kevinmcaleer28 6 ай бұрын
Let me add that to the video ideas list. Sounds like a great topic to cover
@christopherlyons7613
@christopherlyons7613 6 ай бұрын
​@@kevinmcaleer28Well it certainly seems like your original idea was to make this a longer running series. You state at several spots in the first 3 videos that you'll be covering more on topics discussed "later" but never mention the topics again. There's definitely a need for better coverage of intermediate & advanced MicroPython (and CircuitPython) topics. Think that would help you draw in more viewers.
@apaskiewicz
@apaskiewicz 28 күн бұрын
Much love! Thanks for the tutorial.
@riswandisurjo8981
@riswandisurjo8981 8 күн бұрын
Great and clear explanation, I just start to get esp32 and try to programm.
@AndersJackson
@AndersJackson 2 жыл бұрын
I think that Thonny is installed on Raspberry Pi by default. Python strength is that is fast and easy to code and test, because of the REPL. The weakness is that there are no phase where they type of variables is checked, so it will show up when you run the code, not when you load the code. Yes, that is a major drawback for finding common programming errors. The best Editor is Emacs, which is marvelous. And it can be run from any main OS.
@PapaKn
@PapaKn 2 жыл бұрын
I think you will find that anything retrieved by input is of type String. Thus, "age" is always a string in your example.
@michaelmccloy9466
@michaelmccloy9466 3 ай бұрын
Hi Kevin, I have. Spent the last month trying to find a good source of information on the Pico and how to use it, I even purchased books that were almost useless in explaining the basics of even connecting the Pico for the first time. I should explain that I am 80 year’s old and have had computers since the Apple 2. I have never mastered any language but have a small Knowledge of a few. Your videos are amazing well explained, I can’t believe that they are in my option better than Raspberry Pi itself. 🔓 Well done, I look forward to learning more in the future, Thanks.
@MrBobWareham
@MrBobWareham 2 жыл бұрын
Thanks, I have joined as I would like to learn, the video was very good
@laurentstrodiot8434
@laurentstrodiot8434 2 жыл бұрын
Very nice video Kevin ! thanks for sharing your knowledge on micropython. I think this is a very useful language and very fun for making coded objects like led matrix or robots like you do ! Thanks.
@lephtovermeet
@lephtovermeet Жыл бұрын
You're amazing. Thank you so much for this.
@jps99
@jps99 Жыл бұрын
That was pretty painless, I think I'll subscribe and follow the other tutorials!
@iKostanCom
@iKostanCom 2 жыл бұрын
Nice and simple tutorial, thanks.
@Book_worm_1999
@Book_worm_1999 2 жыл бұрын
Waiting for your next video
@anDromedaIOT
@anDromedaIOT 2 жыл бұрын
@kevin, big fan and really excited about this series, i'm a dev and love the Pico and learning cool code tricks is just what i want. I hope you will cover BLDC motors at some stage as i have a hard time getting them to spark up on my Pi4's but havent tried using the Pico which has better timing i believe. Thanks for all your effort, much appreciated.
@amilaanuradha8409
@amilaanuradha8409 Жыл бұрын
Thank you
@baygidhasan
@baygidhasan Жыл бұрын
Great❤❤
@doochies
@doochies 4 ай бұрын
Hi went through the part 1 all went well ,excepting - const not defined error message -in the PI example, i am using Rasbery picoH
@Unrealizedlosses
@Unrealizedlosses 2 жыл бұрын
I love the idea. But I’ve done many beginner python courses. I would love to take it to the next level especially focused on making. Like coding displays, breakouts, etc.
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Yes - we'll definitely get to that, I realised that I'm a bit all over the place (beginner, expert, intermediate), so I thought it was time to start from the beginning so I can at least point people to that when we're covering more advanced topics. I've documented this course over at beta.kevsrobots.com/beta - its in Beta testing at the moment, but feel free to feedback too.
@vasudev16180
@vasudev16180 2 жыл бұрын
Hi @@kevinmcaleer28 , This link is not working :( Could you please fix it?
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
@@vasudev16180 sure - can you paste the link that’s not working so I can troubleshoot it?
@Rich-can-do
@Rich-can-do 2 ай бұрын
I have a esp32 vroom I think its called and I use thonny. To install it was easy, as I just used thonny and it asks you a few questions on what board you have and version and after than it installs micropython, and I didn't need to press any buttons.
@victormiranda9163
@victormiranda9163 Жыл бұрын
Am new to micro python. I programmed a pdp-11... I can't decide about your pace of presentation I'll watch a few more then decide
@kevinmcaleer28
@kevinmcaleer28 Жыл бұрын
Hey Victor - let me know any feedback you have; too fast, too slow, too much detail, not enough detail etc
@victormiranda9163
@victormiranda9163 Жыл бұрын
​@@kevinmcaleer28 good order. good pace. The three include details I want. Your examples have answered some questions I had about creating what I think as calls to subroutines both the call and the routine.. I found your vid about PHEW before the python guides. now I need to practice.
@mrsbrent1015
@mrsbrent1015 2 жыл бұрын
Enjoy Cambridge ❤
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Thank you!
@richards7909
@richards7909 2 жыл бұрын
Apart from being the correct way, is there any benefit to specifying a variable as a constant?
@kevinmcaleer28
@kevinmcaleer28 2 жыл бұрын
Yes - it is assigned more efficiently in memory by Micropython so it’s better to store it as a constant than a variable
@carlosmartinezreborned6403
@carlosmartinezreborned6403 14 күн бұрын
Hello Kevin.. I'm just beginning my micropython journey. I know, a bit late, but better late than never right? I'm using your videos to learn. Is there also a good book that you could recommend?
@kevinmcaleer28
@kevinmcaleer28 13 күн бұрын
Simon monk has a great book for beginners as does Danny Staple - google them and you should find what you’re looking for
@carlosmartinezreborned6403
@carlosmartinezreborned6403 13 күн бұрын
@ Thank you Kevin
@itsUser-n2m
@itsUser-n2m 4 ай бұрын
Q. can you do lua
@steam1977-u1g
@steam1977-u1g Жыл бұрын
im getting a const not defined and also a PI not not defined? I have typed everything exactly the same
@kevinmcaleer28
@kevinmcaleer28 Жыл бұрын
Which microcontroller and version of micropython are you using?
@steam1977-u1g
@steam1977-u1g Жыл бұрын
I have this sorted now but thanks for your reply @@kevinmcaleer28
Learn MicroPython - Part 2 If, Else & Data Types
26:49
Kevin McAleer
Рет қаралды 8 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
IL'HAN - Qalqam | Official Music Video
03:17
Ilhan Ihsanov
Рет қаралды 700 М.
I Helped 2,000 People Walk Again
15:31
MrBeast
Рет қаралды 24 МЛН
Using PICO Interrupts
25:15
Making Stuff with Chris DeHut
Рет қаралды 20 М.
Moving from Arduino to MicroPython - 10 Things you need to know.
15:49
ESP32 MicroPython Projects for Beginners | ESP32 Projects
12:34
Electronic Clinic
Рет қаралды 2,9 М.
How to set up Raspberry Pi 5 ? | Raspberry Pi 5 Tutorial 2025
10:51
RaspBerry Pi Made Easy
Рет қаралды 4 М.
MicroPython #1 - Lets Get Started
12:35
Unexpected Maker
Рет қаралды 146 М.
Comparing C to machine language
10:02
Ben Eater
Рет қаралды 5 МЛН
Arduino VS CircuitPython Speed Comparison
5:48
educ8s.tv
Рет қаралды 46 М.
A new way to generate worlds (stitched WFC)
10:51
Watt
Рет қаралды 553 М.