Easy & Powerful Arduino Alternative? #4 Pyboard (MicroPython) Beginner's Guide

29. 11. 2020
141 884 zhlédnutí

$2 for 4-Layer PCBs: jlcpcb.com
Previous video: csworld.info/mem/video/g7avo5WK22mcfYs.html
Arduino Alternative #1 STM32 video: csworld.info/mem/video/eMSPrX-JtaqnmaE.html
Arduino Alternative #2 MSP432 video: csworld.info/mem/video/gbR-oZ2J2X18q2Y.html
Arduino Alternative #3 Teensy video: csworld.info/mem/video/aNyfnISZpZWTbpk.html
Raspberry Pi Arduino video: csworld.info/mem/video/p7R6paiZw4NifIs.html
Facebook: facebook.com/greatscottlab
Twitter: twitter.com/GreatScottLab
Support me for more videos: www.patreon.com/GreatScott?ty=h
You can get the used Pyboard here (affiliate link): s.click.aliexpress.com/e/_AC19Cw
The eBay store I was talking about (affiliate links): rover.ebay.com/rover/1/711-53200-19255-0/1?mpre=https%3A%2F%2Fwww.ebay.com%2Fstr%2Fgcsupermarkethkcoltd&campid=5337582279&toolid=10001&customid=
You can download my created code for the video here: www.patreon.com/posts/43960549
Websites which were shown in the video:
In this video we will be having a closer look at the Pyboard in order to find out whether it is a good Arduino alternative. Along the way we will discover all of the features the board comes with and learn quite a bit of MicroPython programming. Let's get started!
Thanks to JLCPCB for sponsoring this video.
Visit jlcpcb.com to get professional PCBs for low prices.
2011 Lookalike by Bartlebeats

  • Now it is an 'Easy & Powerful Raspberry pi pico Alternative? #4 Pyboard (MicroPython) Beginner's Guide'

    Christian CodingChristian CodingPřed 20 dny
  • You can set the STM32 timers almost that easy too, take a look at stm32duino library and the HardwareTimer library.

    Vitor MorenoVitor MorenoPřed měsícem
  • Can i program IT in arduino ide?

    Przemysław WronaPrzemysław WronaPřed měsícem
  • I would recommand you to learn Python, because students in school learn it as well. This way you might reach the young generation better than with C.

    Ray KlauckRay KlauckPřed měsícem
  • hi raspberry pi pico here

    ElectroBrocoliElectroBrocoliPřed 2 měsíci
  • Now we got Raspberry pi pico

    Duy Khánh GamingDuy Khánh GamingPřed 2 měsíci
  • 👍👍

    Gacheru MburuGacheru MburuPřed 2 měsíci
  • Thanks, very well-done video! What about a repeat with the Raspberry pi pico that came out today for 4$?

    rgc orgc oPřed 2 měsíci
  • It's sad that you took so long to discover stm

    Rex BairdRex BairdPřed 2 měsíci
  • seems, then, that it executes python code fast enough for quite a few 'real-time' applications. NIce into!

    Lohi KarhuLohi KarhuPřed 2 měsíci
  • As someone who is a fan of Python syntax, I think this board would be amazing for me. I still like C syntax more, but damn is C a pain in the arse. I hate working with C strings.

    IndellableIndellablePřed 3 měsíci
  • Thank You! I Bought 2 from AliExpress and LC-STM32-python_EN.zip is a great resource for having fun with the board. Plan to buy more of these boards!

    DNA iQ Sound Labs, LLCDNA iQ Sound Labs, LLCPřed 3 měsíci
  • I'm getting a few of these 👍 I'm simple so I prefer Python.

  • As a beginner go with M5stack. Micropython is Tony Stark Ironman cool. I'm currently (trying to) install the microWebSrv2 webserver on a tiny 23*23mm M5atom lite for an easy-peacy user interface. csworld.info/mem/video/eriKoZeDr4ekmZk.html

    Erik SchieggErik SchieggPřed 3 měsíci
  • Does it have native usb support?

    Magicman8508Magicman8508Před 3 měsíci
  • You can use Arduino_Core_STM32, too.

    Flo SFlo SPřed 4 měsíci
  • teensy 4

    Flo SFlo SPřed 4 měsíci
  • The board looks awesome! Had to order one right after the video.

    TenOndraTenOndraPřed 4 měsíci
  • PIC using the JAL programming language is also a good alternative for Arduino. JAL is a Pascal based programming language for PIC microcontrollers. More info on: justanotherlanguage.org/

    RobJRobJPřed 4 měsíci
  • What is most important is (i) manufacturer support, (ii) forum/community support, (iii) programming environment (IDE), and (iv) longevity of the product. And I don't see any of it.

    odissey2odissey2Před 4 měsíci
  • 7:46 song name please! It's not in the video description

    Matheus BitencourtMatheus BitencourtPřed 4 měsíci
  • I was waiting for the pins on this thing,Isnt it all about the pins?

    Gfx GrafixGfx GrafixPřed 4 měsíci
  • Sir power diode ke paller me resistance capacitor sunbber curcite me resistance, capacitor ka value kase nikale pl. Video kanye

    rajendra raj kumarrajendra raj kumarPřed 4 měsíci
  • I often wonder why folks select the Arduino over the ESP8266/NodeMCU/Wemos Mini D1 boards?

    Rud DogRud DogPřed 4 měsíci
  • Hello my friend can you diy solar charger controller using alternator regulator

    omar sariomar sariPřed 4 měsíci
  • teensy 4.1 >>> $8 more and wayyy more features

    ErgpoplerErgpoplerPřed 4 měsíci
  • STM32s are another level I love them

    Alex CarterAlex CarterPřed 4 měsíci
  • Thanks! This was a great intro.

    D. JensenD. JensenPřed 4 měsíci
  • lol keysight scope nice

    Kollective RadioKollective RadioPřed 4 měsíci
  • Hast du auch einen deutschen Kanal?

    L3NKL3NKPřed 4 měsíci
  • is it possible to put 3 raspberry pi zero or zero w in a 10' table and have them works as one machine.

    chrisjacksonukchrisjacksonukPřed 4 měsíci
  • Your channel is Great knowledge source, i learned alomst 90% of my electronics, phisics and even a lot of english from you Thanks so much for want to share your knowledge with us, I really respect such people

    Kim Dzong DzwonKim Dzong DzwonPřed 4 měsíci
  • Can it utilize the USB port for user applications or only for development?

    ElMariachiElMariachiPřed 4 měsíci
  • Hi can you do a review fot this www.seeedstudio.com/Seeeduino-XIAO-Arduino-Microcontroller-SAMD21-Cortex-M0+-p-4426.html . Its an amazing arduino clone and support python programingb too....

    Walter CerviniWalter CerviniPřed 4 měsíci
  • Thanks for the video @GreatScott! At 3:52 you say you downloaded the latest firmware version, and it looks like you went to the micropython site but then 4:05 you said you went to the board manufacturer's site and downloaded something from there too. Then flashed the board with that second file using their DfuSe_Demo tool. Question: Did you do anything with the first file?

    James BurgessJames BurgessPřed 4 měsíci
  • Can we flash it with other firmwares?

    NathanNathanPřed 4 měsíci
  • Esp32 + micropython ftw

    TheUggeliTheUggeliPřed 4 měsíci
  • hi man you are the Best ......please if one day you read this please make a video about Arduino in OBD2 car Logger

    Said MissoumSaid MissoumPřed 4 měsíci
  • can you make 48v 50ah battery please I need to see how to make

    CG 17 LIFECG 17 LIFEPřed 4 měsíci
  • What scope are you running

    Josh KoertJosh KoertPřed 4 měsíci
  • I miss ur *LET'S GET STORTED*

    Rajat GhoshRajat GhoshPřed 4 měsíci
  • Type: from pyb import * Instead of: import pyb Reason: You dont have to say pyb.pin.. And use "pyb." All the time

    Redicrafty - TechRedicrafty - TechPřed 4 měsíci
  • Stm32f405 most of drone Flight controller using that micro controller

    Paul Titus ArmentiaPaul Titus ArmentiaPřed 4 měsíci
  • You should try the STM32F103C8T6 or the "Blue Pill"

    pEEEnoy TVpEEEnoy TVPřed 4 měsíci
  • Can you make a power backup for wifi modem/router ??...it's 12v

    Jijo JoseJijo JosePřed 4 měsíci
  • How to water proof a coil for diy BLDC

    Ijas AhamedIjas AhamedPřed 4 měsíci
  • Nice job

    MMPřed 4 měsíci
  • Was just looking for a guide on pyboard and this video came in! Thank you, Great Scott!

    Yash KumarYash KumarPřed 4 měsíci
  • Really awesome product i am waiting you new videos about it and i will buy one so soon keep discovering bro

    Rida KrRida KrPřed 4 měsíci
  • this is basically an arduino, except it's easier to use and is more computationally powerful. Not to mention, it uses a language that a lot of people already know, and is very simple to learn.

    bluesillybeard2 bczhefgthspswdbluesillybeard2 bczhefgthspswdPřed 4 měsíci
  • "Impressive. Most Impressive.'" Thanks for the video. GR8 Info! And also FOSS?

    Psylent RagePsylent RagePřed 4 měsíci
  • Looking forward to more videos on this board!

    Aaron LancasterAaron LancasterPřed 4 měsíci
  • Adafruit has many sensor and actuator libraries for CircuitPython that are compatible with MicroPython and your microcontroller.

    Juan RodJuan RodPřed 4 měsíci
  • Great walkthrough Thanks for sharing :-)

    Asger VestbjergAsger VestbjergPřed 4 měsíci
  • I installed micropython on a Lolin32 (ESP32) board, so far horrible. Nothing works, you code doesnt work. pyb module does not exist (its old or not available on ESP, still dont get it), its suppose to be 'machine'. But ok somehow your code works, wtf....

    W BoumansW BoumansPřed 4 měsíci
  • paa-tee

    mweverettmweverettPřed 4 měsíci
  • Finally a worthy accessible development alternative! You can just run micropython on a typical Nucleo Board by ST. So no need to get some chinese replica. They are very cheap anyways.. Performance comparisons between C, Arduino and uPython would be so intersting!

    arjay UUarjay UUPřed 4 měsíci
  • hi scott I have problem my helicopter transmitter are not working and I opened it then the problem is the 3 ir led the of led is so very rusty and the pin of led is got broken can I buy or get in tv remote

    kage bunshinkage bunshinPřed 4 měsíci
  • Python?? In a microcontroller?lol Pinch me to see if im still alive please

    César MartinezCésar MartinezPřed 4 měsíci
  • You could use UIFlow from M5Stack to do the conversion to python from "Blockly" layout really easily if you're completely new to programming, and, more importantly to me, it allows importing/converting older .ino files. Edit: flow.m5stack.com/ And yes, you'll still have to probably do a bit of learning and make some minor tweaks to the code, but overall I've found it very simple and useful. Heck, I still use it now that I COULD rewrite a whole program because... why do all that again when I can just convert and troubleshoot? Lazy coders (like me) can rejoice!

    FerretFerretPřed 4 měsíci
  • Hello, i cant find your compare chart in your description.

    SupercowSupercowPřed 4 měsíci
  • I do prefer micropython vs arduino. I had a small project with an ESP32 and could not get any SSH client working (Not SSH server!) on the ESP32. In my project the ESP32 should remote execute some commands with SSH. So finally I found the LoBo Micorpython for the ESP32 that had a working SSH client github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki. Since that I am hocked up to the micro python. Unfortunately there have not been any updated to the code since almost 2 years for LoBo micro python. BTW LoBO is an acronym for Boris Lovosevic the author.

    Empusas1Empusas1Před 4 měsíci
  • what about security ?? atmgea328 has fuse bits to prevent hex code reading but in this whole source code will be copied

    sandeep singh jagdevsandeep singh jagdevPřed 4 měsíci
  • Micropython is just a wrapper to interpret python code. This board is an STM32. Micropython is pretty useless and bloated for most applications imo.

    anonameanonamePřed 4 měsíci
    • Completely agree!

      CRCRPřed 4 měsíci
  • Can you also show tutorial on nrf51822 ble using arduino IDE?

    Sahil SawantSahil SawantPřed 4 měsíci
  • try STM32F Hardware Abstraction Layer. Its good. Python has lesser execution speed compared to C/C++

    Laukik TodankarLaukik TodankarPřed 4 měsíci
  • The serial connection to an interactive python shell for arduino is already there its called tinyBasic+

    NSG650NSG650Před 4 měsíci
  • Indonesia is here watching again :)

    Aditya ElectronicsAditya ElectronicsPřed 4 měsíci
  • Ъ

    DKCDKCPřed 4 měsíci
  • Python is good but its slooooooooooooooooooooooooooooow

    Neelabhro GhoshNeelabhro GhoshPřed 4 měsíci
  • Very nice job. Thanks for the education....

    liudas5377liudas5377Před 4 měsíci
  • That sd socket, I guess you can load some wav files and play them into the dac without any latency issue? Like you could build a small sample board at full 44.1 or 48kHz like a bosss

    BrutaltronicsBrutaltronicsPřed 4 měsíci
  • No platform for program this board,but arduino lakh of options

    Badusha shaikBadusha shaikPřed 4 měsíci
  • I love how you say "micro controller"!

    Photonic DestructionPhotonic DestructionPřed 4 měsíci
  • should have been called the rasberry py

    Indigo CatIndigo CatPřed 4 měsíci
  • The PCB is kind of large. It seems like mostly empty space, but micropython is good stuff.

    HyssHyssPřed 4 měsíci
  • You might want to checkout CircuitPython by Adafruit. Much more advanced by boards supported and libraries.

    William PinyanWilliam PinyanPřed 4 měsíci
  • Thank you for posting! Within the last week I started my journey of learning Python. This couldn't have come at a better time.

    Matthew LaCroixMatthew LaCroixPřed 4 měsíci
  • Thanks GreatScott! very interesting. To be honest I have not seen anything better than esp32 so far

    A KA KPřed 4 měsíci
  • Can you use this board but replace micropython with a C based language

    Nick ManuelNick ManuelPřed 4 měsíci
  • Maybe visual studio code would be better suited? It is super fast and can handle micropython, plus has extension for it. It is also free, and open source.

    der.Schtefander.SchtefanPřed 4 měsíci
  • Could you do a video about sound-based trilateration in 3D space? I've thought about using buzzers and sound sensors with an Arduino to track an autonomous little robot inside a room by measuring the time the sound takes to get through the room from the robot to the sensors, pretty much like GPS, but I don't know whether this would even be feasible. Have you ever tried something like that?

    GayusSchwuliusGayusSchwuliusPřed 4 měsíci
  • visual studio code, much better than Notepad++

    Jody WhitlockJody WhitlockPřed 4 měsíci
  • Horses for Courses guys if your flashing an LED do you need a 168MHZ the other problem that I dont know if it was covered is how much power will it take. I have an arduino running on 2 AA batteries for 5 years.. Its not an alternative its a choice and it may not be a better one depending on what your requirements are.

    Paul DriscollPaul DriscollPřed 4 měsíci
  • Dude, did u not check out teensy 4.0. It is a beast with 600 mhz, 32 bit processor. has FPU too

    pd. DataFramepd. DataFramePřed 4 měsíci
  • I imagine him now reviewibg Nucleo boards even though they are already relatively well known among the community

    StageDiveBomb number 0StageDiveBomb number 0Před 4 měsíci
  • You should check out the Parallax Propeller & Propeller 2. They both have 8 cores (32 bits), and the P1 clocks at 80 MHz and P2 runs at 320 MHz. Check them out at parallax.com. They can run C/Python or their custom languages Spin and PASM.

    Colin FoxColin FoxPřed 4 měsíci

    UJustGotGamedUJustGotGamedPřed 4 měsíci
  • What is the best way to run a visual machine learning. Can any Arduino run this kind of visual learning

    KijngsKijngsPřed 4 měsíci
  • Was there SWD pins available?

    LimbaZeroLimbaZeroPřed 4 měsíci
  • You should check out some Kendryte K210 boards from Sipeed. Their Maix boards normally run MicroPython like this one but it has a dual core RISC-V rv64gc CPU with an AI accelerator and 8mb of RAM so you can run any code compiled for RISC-V that doesn't use an MMU. They're around the same price as that board you just got. Some variants also have Wifi, TFT connector, and a camera connector

    RalakusRalakusPřed 4 měsíci
  • This is Chinese a replica. Check the originals (a bit expensive though) and their new versions: store.micropython.org/category/pyboard%20D-series

    Milen HristovMilen HristovPřed 4 měsíci
  • You must have alot of those led signs with your name on them lying around......

    DJ BarrettDJ BarrettPřed 4 měsíci
  • WHy not use the Raspberry Pi Zero W instead? cheaper than this board.

    Aniket DessaiAniket DessaiPřed 4 měsíci
  • Cool wish was Half the Size..lot of empty space on the board..

    weerobotweerobotPřed 4 měsíci
  • Imagine the even faster performance this would get with c++

    Lohk'sLohk'sPřed 4 měsíci
    • Imagine the even even faster performance with machine code.

      Jan Erik LöfflatJan Erik LöfflatPřed 4 měsíci
  • I think this is a great alternative!

    To NaN Or Not to NullTo NaN Or Not to NullPřed 4 měsíci
  • I need a microcontroller that's programming language is English! Ha-ha! But yeah, about the only thing I can program, is a clock!

    JAMES T. not kirkJAMES T. not kirkPřed 4 měsíci
  • I would recommend vs code for python (with the python extension of course). notepad ++ is just a bit to basic.

    Sutsuj OwOSutsuj OwOPřed 4 měsíci
  • or use tha Adafruit version, Circuitpython which can also use their libraries for many hardware add-ons like sensors/led rings/strings ...

    Jyv BenJyv BenPřed 4 měsíci