Starting coding

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
bansteadninjo
Posts: 1
Joined: Wed Feb 17, 2021 12:48 pm

Starting coding

Post by bansteadninjo » Wed Feb 17, 2021 1:03 pm

Hi, I'm 9 years old and I've been coding my Lego EV3 brick with Scratch. I've just put micropython on the brick and I want to learn how to code. Can someone suggest a good place to look please? :)

Thanks

User avatar
mathieu
Posts: 54
Joined: Fri Nov 10, 2017 9:57 pm

Re: Starting coding

Post by mathieu » Sun Feb 21, 2021 4:19 pm

Excellent question: as the parent of a 9-year-old I've been curious about these lego/micropython bricks for a while now, but from reading official descriptions it was never entirely clear how this differs (or not) from a lego-less microcontroller. So I'm also interested in a good place to learn more. Anybody?

User avatar
jimmo
Posts: 2244
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia
Contact:

Re: Starting coding

Post by jimmo » Mon Feb 22, 2021 3:25 am

bansteadninjo wrote:
Wed Feb 17, 2021 1:03 pm
Hi, I'm 9 years old and I've been coding my Lego EV3 brick with Scratch. I've just put micropython on the brick and I want to learn how to code. Can someone suggest a good place to look please?
Hi!

That's awesome. I was ~9 years old when I first learnt to program on Lego's pre-cursor to the pre-cursor to the pre-cursor to the pre-cursor to EV3 and haven't looked back since.

Unfortunately I don't know of any specific resources for the EV3, however for Python there are some quite good introductory materials on Hour of Code and code.org.

For MicroPython specifically, there are some free Hour of Code courses about the micro:bit at Grok Learning. Doesn't matter if you don't have a micro:bit as you can use their online simulator. https://groklearning.com/hoc/ If you're based in Australia (?) then a lot more of the more detailed Grok content is free. (Disclaimer, I used to work there and am very familiar with the courses, so that's why I'm recommending them).

And feel free to ask questions here in the forum! We'd be very happy to help!

User avatar
aivarannamaa
Posts: 109
Joined: Fri Sep 22, 2017 3:19 pm
Location: Estonia
Contact:

Re: Starting coding

Post by aivarannamaa » Mon Feb 22, 2021 9:02 am

If you downloaded a sd-card image from Lego site, then you should start with https://pybricks.github.io/ev3-micropython/index.html

If you downloaded the image from Ev3Dev site, then you probably have a bit different MicroPython API. At the moment I wasn't able to find the documentation for this variant.
Aivar Annamaa
https://thonny.org

Post Reply