MicroPython Basics: What is MicroPython? with Tony D! @micropython

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ต.ค. 2024

ความคิดเห็น • 66

  • @davidstovall7646
    @davidstovall7646 7 ปีที่แล้ว +15

    Favor, for all us older fokes with very worn eyes... would sure be helpful to enlarge the font in you terminal presentations. The very first thing I did with my RasPi was to increase the font and it sure helped! Tks

  • @michaelj3971
    @michaelj3971 8 ปีที่แล้ว +19

    This is really good information. My grandson is just starting to learn programming, using Python as his first language. These small boards would be a good way to learn both Python and hardware. Thanks for the tutorial!

    • @deanperk
      @deanperk 6 ปีที่แล้ว

      Michael Fillian y

  • @matambale
    @matambale 7 ปีที่แล้ว +3

    I've been writing code since dirt was invented - and Python looked really peculiar to me at first. This was easily the best intro to Python/Micropython I've seen. Thanks, Tony.

  • @RichardEricCollins
    @RichardEricCollins 8 ปีที่แล้ว +4

    I'm an old school coder from the 80's. Had this level of instant coding on the ZX80 to the spectrum. :) Although not as powerful. good to see going back to speed of development. Very nice tutorial Tony. I'm a c/c++ coder yet I can see the value of this. it is an extremely powerful development. I must bring my skills up to date. :-)

  • @element4studios
    @element4studios 8 ปีที่แล้ว +3

    Seriously, mad respect for the Mr Wizard opening :) Thanks for the nostalgia hit!!

  • @stevegables3303
    @stevegables3303 3 ปีที่แล้ว

    "It doesn't matter if it is 10ms or 200ms"
    Beautiful words for Micropython dissidents! What a fantastic and flexible language for embedded systems!

  • @amjedmajeed3218
    @amjedmajeed3218 7 ปีที่แล้ว +1

    Thank you, appreciate the information and the pace of delivery

  • @Cardesie
    @Cardesie 7 ปีที่แล้ว +1

    What a good communicator! Bravo Tony!

  • @databang
    @databang 4 ปีที่แล้ว +3

    OMG, your opening, I thought I was watching an episode of Computer Chronicles.

  • @erickcampos50
    @erickcampos50 6 ปีที่แล้ว

    Dude, I haven't watch a that long video until the end has a long time ago, but you created a great material. Congrats!

  • @jpolarseminario
    @jpolarseminario 4 ปีที่แล้ว

    Excellent review. Good speed. Good focus.

  • @greaterthanbut
    @greaterthanbut 8 ปีที่แล้ว +3

    Awesome video sir.. Thank you from the single board computer club

  • @chillipaste2183
    @chillipaste2183 2 ปีที่แล้ว

    If I may ask.... I always hear "just open a terminal". What exactly is a "terminal" and where can I find it on a Windows7 laptop? Or where can I download a "terminal" program?

  • @BennyInasu
    @BennyInasu 4 ปีที่แล้ว

    Sir, Great. I am a new comer to this field, but I express.

  • @MrEdwardhartmann
    @MrEdwardhartmann ปีที่แล้ว

    I am porting some code from a bluepill stm32 processor running the Arduino C++ to an ESP32 S2 Mini running Circuit Python. I just found out the other day that Circuit Python does not support interrupts which is a real bummer since I have 6 lines that I need to monitor and the polling routine to do that is just dirty. But, we wanted the S2 Mini for the I2S capability that the bluepill did not have.

  • @mybigbeak
    @mybigbeak 8 ปีที่แล้ว +1

    I think I will have to actually get one of these, I hve always been nervous about microprocessor programming, but Python w00t.

  • @gregsullivan7408
    @gregsullivan7408 7 ปีที่แล้ว

    Thankyou - you're an excellent presenter.

  • @Vikas_Singh_Kushwaha
    @Vikas_Singh_Kushwaha 7 ปีที่แล้ว

    when i type led.high() it shows "Pin " object has no attribute "high" why why why

  • @ThomasHaberkorn
    @ThomasHaberkorn 7 ปีที่แล้ว

    for me, in the first example, only print("Hex number: 0x{0:X}", format(255)) works

  • @tnants012345
    @tnants012345 8 ปีที่แล้ว

    Can we upload main.py via Bluetooth ? and Can we upload main.py via Serial Communication (Uart) ?
    Thank you very much.

  • @ejb1011
    @ejb1011 7 ปีที่แล้ว +1

    The performance drag is only during development? Once the code is on the board, then it is in machine language and no performance drag?

    • @linuxcow9870
      @linuxcow9870 7 ปีที่แล้ว

      no , the code is always interpreted , so each source code line is always evaluated and translated by the interpreter

  • @RTmadness1
    @RTmadness1 8 ปีที่แล้ว +1

    Great video!! So much information. Question: What if you wanted to read that temp on your android phone?

  • @chrisschene8301
    @chrisschene8301 ปีที่แล้ว

    How do you load code into the arduino?

  • @Jianju69
    @Jianju69 8 ปีที่แล้ว

    Kinda reminds me of Applesoft BASIC on my first computer, the Apple II+. Those were the days...

  • @mondair99
    @mondair99 8 ปีที่แล้ว

    These are the types of things that make me wanna major in EECS :D

  • @kamakshaiah
    @kamakshaiah 7 ปีที่แล้ว

    This is really a great video. However, I do have a question, that is it possible to play with stm8 (not 32) and ATMega#/### with micropython? if yes, please help me identify resources... thanks

    • @skull132
      @skull132 7 ปีที่แล้ว

      "Yet it is compact enough to fit and run within just 256k(bytes) of code space and 16k(bytes) of RAM." If you can find a MCU with enough flash and RAM on it! (You probably can't, not in the class you listed off.) There's a reason all uPy boards are STM32s: the implementation requires a lot of space.

  • @anmg2024
    @anmg2024 6 ปีที่แล้ว

    nice explanation and demo...

  • @RRP3168
    @RRP3168 5 ปีที่แล้ว

    Very useful! Thanks!

  • @cautious_possum
    @cautious_possum 8 ปีที่แล้ว +1

    Hi Tony, Thanks for the informative video. It's an excellent resource like so much of the education work you are doing for Adafruit. I wonder if you could increase the font size in the terminal when you show code samples? At least one of us out here finds it difficult to read.Thanks for all your fine and fun work!

  • @Shakespeare1612
    @Shakespeare1612 8 ปีที่แล้ว +1

    Could micro-python be rooted to an arduino? Is an Arduino mega powerful enough?

    • @Tyrone-Ward
      @Tyrone-Ward 6 ปีที่แล้ว

      James McLain lol no

  • @ianstoll
    @ianstoll 7 ปีที่แล้ว

    Silly question, but how do you close out a for / while loop?

    • @Codie__
      @Codie__ 7 ปีที่แล้ว +1

      break

  • @tjspov7791
    @tjspov7791 8 ปีที่แล้ว

    Can it be used to control motors? (Might be a stupid question, but I'm a beginner)

    • @FoamyDave
      @FoamyDave 7 ปีที่แล้ว

      The ESP8266 does not have a HW PWM so motor control has to be done through SW.

    • @paulhendrix8599
      @paulhendrix8599 7 ปีที่แล้ว

      Yes. You need extra stuff though, which you can get in a motor driver board.

  • @jamescullins2709
    @jamescullins2709 8 ปีที่แล้ว

    Can it do ext interrupts? I need to read a count for wind speed. I think about 4 counts per rev. Thank great job

    • @Gastell0
      @Gastell0 8 ปีที่แล้ว

      Apparently there are 16 external interrupts: docs.micropython.org/en/latest/pyboard/library/pyb.ExtInt.html#pyb-extint

    • @jamescullins2709
      @jamescullins2709 8 ปีที่แล้ว

      Outstanding ! Thanks

  • @ShaneEngelman
    @ShaneEngelman 8 ปีที่แล้ว +2

    This was awesome!

  • @ThomasHaberkorn
    @ThomasHaberkorn 7 ปีที่แล้ว

    how to post sensor values to a website using a webserver? using MicroPython of course.

  • @TheSamwongms
    @TheSamwongms 5 ปีที่แล้ว

    I would appreciate it if you could enlarge the font size before the recording.

  • @tablatronix
    @tablatronix 7 ปีที่แล้ว

    how do you get out of loop ? my prompt is always ....

    • @conceptualTriad
      @conceptualTriad 5 ปีที่แล้ว

      Press ENTER a few times, then it will execute

  • @MIGuy
    @MIGuy 8 ปีที่แล้ว +1

    TWITCH channel link?

    • @adafruit
      @adafruit  8 ปีที่แล้ว +1

      www.twitch.tv/adafruit

  • @ReganMarcelis
    @ReganMarcelis 6 ปีที่แล้ว +1

    Ireland's WORLD Domination Route.... ;p

  • @barryluft4451
    @barryluft4451 4 ปีที่แล้ว

    Hmmm. Well, I would love to this board, BUT since a Pyboard is 5 times the price of an Arduino board... I have to say, its not something I'll put any effort or money towards.

  • @Brianuyahoo
    @Brianuyahoo 8 ปีที่แล้ว

    Very cool stuff!

  • @oneconfusedbeing2027
    @oneconfusedbeing2027 8 ปีที่แล้ว +1

    On the Bluetooth le tutorial pt one I get masked instead of loaded in the status thing

  • @Donatellangelo
    @Donatellangelo 7 ปีที่แล้ว

    I want a pyboard now.

  • @toastrecon
    @toastrecon 8 ปีที่แล้ว

    So, let's say with the Feather: you build a script on your computer (assuming you don't want to keep trying it into the terminal, ha!) is there a way you can push it to the device? Did you say that there was storage on the device? Sorry, could just be in another video. This is really cool, thanks for sharing!
    P.S. does the feather have the ability to connect to wifi routers and then send data out, make web requests?

  • @ismzaxxon
    @ismzaxxon 8 ปีที่แล้ว

    python is hard to debug. no single step etc that high level languages have. Unless there is an IDE i am not aware of.

    • @blaser80
      @blaser80 8 ปีที่แล้ว +4

      Python has a debugger, it's called pdb (python debugger). You can run your program via pdb and give it the option to step through each line.

    • @ismzaxxon
      @ismzaxxon 8 ปีที่แล้ว +1

      excellent. Thank you.

    • @Norfeldt
      @Norfeldt 7 ปีที่แล้ว +1

      take a look at IPython (now jupyter) or Spyder and I think you'll find what your looking for

  • @AgentOffice
    @AgentOffice 7 ปีที่แล้ว +2

    weird this board is from the 70s

  • @demoncloud6147
    @demoncloud6147 4 ปีที่แล้ว

    import everything
    while True:
    read.all.kinds.of.sensor()
    control.all.kinds.of.devices()

  • @akkudakkupl
    @akkudakkupl 3 ปีที่แล้ว

    1:40 argument in a nutshell - you must not be braindead to do regular embedded stuff.

  • @Evo2Raid
    @Evo2Raid 8 ปีที่แล้ว

    I think it's amazing

  • @paulelliott2459
    @paulelliott2459 4 ปีที่แล้ว

    Mmm looking at all the videos on TH-cam it looks like this language is orientated for Linux users.... I'm from the 80s. Basic, cobol, fortran 6502 assembly and Z80 assembly.. I just cannot seem to get to grips with thease languages... Lol. All the videos seem to presume you allready have a grounding... Wooosh over my head..lol