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
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!
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.
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. :-)
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?
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.
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
"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.
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!
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.
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?
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
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
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!
Michael Fillian y
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.
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. :-)
What a good communicator! Bravo Tony!
"It doesn't matter if it is 10ms or 200ms"
Beautiful words for Micropython dissidents! What a fantastic and flexible language for embedded systems!
Seriously, mad respect for the Mr Wizard opening :) Thanks for the nostalgia hit!!
Thank you, appreciate the information and the pace of delivery
Dude, I haven't watch a that long video until the end has a long time ago, but you created a great material. Congrats!
Excellent review. Good speed. Good focus.
OMG, your opening, I thought I was watching an episode of Computer Chronicles.
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?
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.
Awesome video sir.. Thank you from the single board computer club
The performance drag is only during development? Once the code is on the board, then it is in machine language and no performance drag?
no , the code is always interpreted , so each source code line is always evaluated and translated by the interpreter
Great video!! So much information. Question: What if you wanted to read that temp on your android phone?
Can we upload main.py via Bluetooth ? and Can we upload main.py via Serial Communication (Uart) ?
Thank you very much.
Thankyou - you're an excellent presenter.
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
"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.
when i type led.high() it shows "Pin " object has no attribute "high" why why why
for me, in the first example, only print("Hex number: 0x{0:X}", format(255)) works
Sir, Great. I am a new comer to this field, but I express.
How do you load code into the arduino?
how to post sensor values to a website using a webserver? using MicroPython of course.
Can it do ext interrupts? I need to read a count for wind speed. I think about 4 counts per rev. Thank great job
Apparently there are 16 external interrupts: docs.micropython.org/en/latest/pyboard/library/pyb.ExtInt.html#pyb-extint
Outstanding ! Thanks
I would appreciate it if you could enlarge the font size before the recording.
Silly question, but how do you close out a for / while loop?
break
Can it be used to control motors? (Might be a stupid question, but I'm a beginner)
The ESP8266 does not have a HW PWM so motor control has to be done through SW.
Yes. You need extra stuff though, which you can get in a motor driver board.
I think I will have to actually get one of these, I hve always been nervous about microprocessor programming, but Python w00t.
This was awesome!
These are the types of things that make me wanna major in EECS :D
Could micro-python be rooted to an arduino? Is an Arduino mega powerful enough?
James McLain lol no
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!
Very useful! Thanks!
nice explanation and demo...
TWITCH channel link?
www.twitch.tv/adafruit
how do you get out of loop ? my prompt is always ....
Press ENTER a few times, then it will execute
Kinda reminds me of Applesoft BASIC on my first computer, the Apple II+. Those were the days...
Very cool stuff!
On the Bluetooth le tutorial pt one I get masked instead of loaded in the status thing
Ireland's WORLD Domination Route.... ;p
I want a pyboard now.
python is hard to debug. no single step etc that high level languages have. Unless there is an IDE i am not aware of.
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.
excellent. Thank you.
take a look at IPython (now jupyter) or Spyder and I think you'll find what your looking for
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.
1:40 argument in a nutshell - you must not be braindead to do regular embedded stuff.
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?
I think it's amazing
weird this board is from the 70s
import everything
while True:
read.all.kinds.of.sensor()
control.all.kinds.of.devices()
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