Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #9937
    A_X_C
    Keymaster

    I wanted to start playing with this language using an ESP32 on a linux platform.
    I just installed linux on an old pc still with XP (which I have not deleted) with dual boot at power on in order to decide which OS to work with.
    In practice I have never used any of the three LINUX elements, MICROPHITHON e ESP32
    Where do I start? There are tutorials to start practicing in Italian?
    It should be noted that I have installed Linux Mint to get started, the lightest and Windows-like.

    #9941
    Picmicro675
    Moderator

    Then, I try to help out.
    Linux is an operating system and so choose an easy one to install. How to say it starts with Ubuntu. When you have installed then you may also see if Python is already installed, otherwise you will need it to be able to write the ESP32 card.
    It would be to be seen if instead of MicroPython you want to write Arduino sketches, so only C ++. If you opt for MicroPython, you should find the sequence of commands to install it on ESP. After that you can also start the commands remotely if you have chosen to enable this function. So you can also try the commands remotely right away.
    If you can make a script in MicroPython, you should use a certain function that loads it into the ESP memory.
    Sorry if I have not yet explored which tools are suitable. It would be wise to understand at what level you have acquired knowledge. All in all in a period of one month (I presume) you should be able to do something. But the crux is knowing how to program in Python.
    To program in python, it is not a great mystery, there are some rules such as forced indentation of the syntax. Then the commands are similar to basic or C.

    #9947
    Just4Fun
    Participant

    I had to struggle an entire afternoon to install Arduino IDE + the ESP32 core on a Linux Mint 20 Cinnamon.
    I hadn't had any problems in the past (su un Linux Kubuntu), but from what i saw the switch from python 2.7 (which is currently “deprecate” on linux) a python 3 has created quite a few problems.
    As for micropython I can't tell you as it has never been used on ESP32.

    • This reply was modified 10 months, 4 weeks ago by Just4Fun.
    • This reply was modified 10 months, 4 weeks ago by Just4Fun.
    #9950
    Picmicro675
    Moderator

    Python3 has been around for years, I immediately started using it, but who knows what reason you continue to keep a zombie. A bit like the backward compatibility of a 8086, a method that cannot last forever.
    Micropython is excellent because if the program is not correct you fall on your feet and the system is ready to be corrected. As for Arduino there are many libraries ready and just import the module to do the necessary things.

    #9952
    A_X_C
    Keymaster

    I thank everyone for your interest as I will have doubts, I will contact you by breaking up with questions that for the experts will be emeritus nonsense but that, per me, at my current level of knowledge, they will be inexplicable mysteries.
    I hope you have the patience to put up with me

    #9956
    Picmicro675
    Moderator

    Good, the first thing you can consider is to upload MP to ESP32. I started with my ESP-01 as can be seen in the article “Dot clock”. I think it will not be difficult to follow the stage installation, basically just copy the command line.

    #9984
    Just4Fun
    Participant

    About Linux, I have recently upgraded to the version 20.1 by Mint Cinnamon, and he must say that this distro is one of the best I've tried:

    It has no problems in dual monitor mode and on SSD it is great. With some little customization I also have the monitor “in transparency” of the main parameters of the PC and the indicator of the current upload / download speed.

    • This reply was modified 10 months, 3 weeks ago by Just4Fun.
    • This reply was modified 10 months, 3 weeks ago by Just4Fun.
    #9987
    Picmicro675
    Moderator

    Installing an OS is not difficult. Most of them are automated. I have installed Archlinux, but you have to start with the CLI interface, that in some cases it is difficult to find network information. Otherwise one starts from a Live and maybe decides to install it. I started with the Knoppix.
    I would say it's a bit of a quick way to get carried away. Without subverting the already installed system.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.