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

Поделиться
HTML-код
  • Опубликовано: 4 окт 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!!

  • @Cardesie
    @Cardesie 7 лет назад +1

    What a good communicator! Bravo Tony!

  • @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

  • @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!

  • @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.

  • @jpolarseminario
    @jpolarseminario 4 года назад

    Excellent review. Good speed. Good focus.

  • @greaterthanbut
    @greaterthanbut 8 лет назад +3

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

  • @RTmadness1
    @RTmadness1 8 лет назад +1

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

  • @chillipaste2183
    @chillipaste2183 Год назад

    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?

  • @ThomasHaberkorn
    @ThomasHaberkorn 7 лет назад

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

  • @Jianju69
    @Jianju69 8 лет назад

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

  • @gregsullivan7408
    @gregsullivan7408 7 лет назад

    Thankyou - you're an excellent presenter.

  • @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.

  • @BennyInasu
    @BennyInasu 3 года назад

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

  • @TheSamwongms
    @TheSamwongms 5 лет назад

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

  • @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

  • @mondair99
    @mondair99 8 лет назад

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

  • @ShaneEngelman
    @ShaneEngelman 8 лет назад +2

    This was awesome!

  • @RRP3168
    @RRP3168 5 лет назад

    Very useful! Thanks!

  • @ThomasHaberkorn
    @ThomasHaberkorn 7 лет назад

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

  • @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!

  • @anmg2024
    @anmg2024 6 лет назад

    nice explanation and demo...

  • @chrisschene8301
    @chrisschene8301 Год назад

    How do you load code into the arduino?

  • @tnants012345
    @tnants012345 8 лет назад

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

  • @Shakespeare1612
    @Shakespeare1612 8 лет назад +1

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

  • @Vikas_Singh_Kushwaha
    @Vikas_Singh_Kushwaha 7 лет назад

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

  • @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.

  • @oneconfusedbeing2027
    @oneconfusedbeing2027 8 лет назад +1

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

  • @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

  • @Brianuyahoo
    @Brianuyahoo 8 лет назад

    Very cool stuff!

  • @ianstoll
    @ianstoll 7 лет назад

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

  • @MIGuy
    @MIGuy 8 лет назад +1

    TWITCH channel link?

    • @adafruit
      @adafruit  8 лет назад +1

      www.twitch.tv/adafruit

  • @tjspov7791
    @tjspov7791 7 лет назад

    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.

  • @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.

  • @Donatellangelo
    @Donatellangelo 7 лет назад

    I want a pyboard now.

  • @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

  • @ReganMarcelis
    @ReganMarcelis 6 лет назад +1

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

  • @AgentOffice
    @AgentOffice 7 лет назад +2

    weird this board is from the 70s

  • @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

  • @Evo2Raid
    @Evo2Raid 8 лет назад

    I think it's amazing

  • @demoncloud6147
    @demoncloud6147 4 года назад

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

  • @paulelliott2459
    @paulelliott2459 3 года назад

    Mmm looking at all the videos on RUclips 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

  • @akkudakkupl
    @akkudakkupl 3 года назад

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

  • @daddy3118
    @daddy3118 8 лет назад

    It's Python pronounced pie-thunn of course ;-)