Learn MicroPython #2 - Blink LED (digital output)
ฝัง
- เผยแพร่เมื่อ 27 ส.ค. 2024
- Full code available on Github!
github.com/inv...
In this video you will learn to write your first simple program in MicroPython! By the end of the tutorial, you will have an LED blinking on and off. Ultimately this video is about using microcontroller pins as digital outputs, which are able to source an electric current. Thanks for watching!
arduino uno: amzn.to/2KjxYNt
sparkfun ESP32 Thing: amzn.to/3cvFdhq
We have entire playlists on learning open source software so have fun learning! The solution is right around the corner... InventBoxTutorials.
Great tutorials. Free software. Open to the world.
**************************************************
We use FREE open source software with the following machines:
(ALL open source software is free so YOU can try it too)
**************************************************
LASER CUTTER ENGRAVER: amzn.to/2IjMAeK
extra features (red dot laser & wheels): amzn.to/3cmH341
air assist (for better cutting): amzn.to/38uIvjh
VINYL CUTTER: amzn.to/39AGYs8
WOOD LATHE: amzn.to/33oQVY1
tool set: amzn.to/2w7OWv0
caliper: amzn.to/3b3eisx
CNC ROUTER / MILLING MACHINE
cnc router: amzn.to/336ofTu
mini milling machine: amzn.to/34HTEwn
2 flute end mill set: amzn.to/2xlbj0b
MINI METAL LATHE: amzn.to/2SpLSm2
MICROPHONE/HEADSET FOR MAKING VIDEOS: amzn.to/2wvwUCY
(As an Amazon Associate I earn from qualifying purchases.)
**************************************************
VIDEO DEMOS:
Laser Cutting TIPS & TRICKS
Vinyl Cutting TIPS & TRICKS
Wood Lathing TIPS & TRICKS
Milling / CNC Router TIPS & TRICKS
Metal Lathing TIPS & TRICKS
**************************************************
I use Thonny I just run it from that IDE and it does it in RAM so no burning into the flash, but I can burn it into the flash if I want. I love that.
great thought on Pin( ) // thanks for sharing
Thank you sir, great way to start. I wish I could get micropython running in vs code like you but I barely got platform io going... I'll get it someday.
The fog is beginning to clear...thanks
how do i get the machine library onto my pyCharm IDE?
so what is the difference between Micropython and circuitpython
Hey Darius. Your micropython playlist has video 3 before video 2. So for someone who's watching all of this through the playlist, they'll see the videos in the wrong order. Just a heads-up in case you wanted to reorder them.
Hey Drew,
Just a housekeeping suggestion; your μpy playlist is not in linear order.
The leading GIThub description link is nice, but you might benefit from adding the playlist link as well (be sure it is the mobile app compatible version of the link).
While on the subject of 'talking shop' you could also add video tags for this (and/or this type) of series with the popular names of chips and boards used with μpy. If I were doing this, (I'm not an active CC, just a viewer/new sub here), I would take this a step further and focus on adding tags mostly for the cheapest options available, especially those found from/on AliEx, eBay, and maybe banggood, and seeed studio. The general platforms with streamlined shipping and payment outsell everything else. Some people use Amazon, but many, myself included, do not shop Amazon for electronics/anything mostly due to it's manipulative pricing, search biases, and data mining.
Anyways, I think μpy is easiest+cheapest to use with an ESP32 or any STM32F4. The F411 is what I have, and the "WeAct" blackpill with the F411 is probably the cheapest option.
I'm just mentioning this bc I searched YT for STM32F411, STM32, blackpill, weact, and micropython, on their own and in various combinations. I only noticed your content after searching for micropython by itself. This is still relevant to μpy on my device though, so the tags may help get more views...if the algorithm hasn't already figured out the correlation from this comment...
Thanks for the upload, and for being smart enough to disable midroll ads that destroy tutorial content's focus and value.
-Jake
I have a couple of questions. I uploaded with esptool the *firmware* for my wemos. I can now log into it with minicom and I get that prompt and I can enter instructions. The thing is I would like to upload my main.py file. I take it micropython is in the board. and I can upload my main.py a bit like I would with my arduino? without removing the bootloader in the process? Maybe there is a guide on this, you could point me towards. TY very much.
hi, i 've install ampy on my debian 9, but 'ts say: command not found. !! how does to work it?
Can you do a tutorial to get JLink or StLink up and running please?
I will admit I am not familiar with JLink. There appears to be a Python package called PyLink which might be useful. Are you wanting to debug your MicroPython program?
@@inventboxtutorials1898 hi using St or JLink allows one to use very nice software that can draft Ur schedule. Which helps with knowing resources and timing.