ESP32 as a sensor with MicroPython

pijnxiii
Posts: 1
Joined: Sun Apr 19, 2020 1:50 pm

ESP32 as a sensor with MicroPython

Postby pijnxiii » Sun Apr 19, 2020 2:01 pm

Hello.
I have to inform you that I am really new with this stuff so I am facing a lot of problems right now.
I have connected my raspberry pi to a display screen(monitor). On my raspberry pi are also connected the keyboard, the mouse and the ESP 32. My connection to the internet is via WiFi.
I am trying to download and flash microPython, but after the : $pip install esptool, all I get is: bash: $: command not found.
For example, when I type : esptool.py --chip esp32 --port /dev/ttyUSB0 erase_flash, the "command not found" appears.
I have searched on the internet to amend my issue, and I saw that if I am using Linux or macOS , ttyUSB should work. But if Im using Windows, I should change this to: COM1.
In my case, I don't know what is the operating system, because I am just using a raspberry pi connected to a monitor .
Could anybody help me?
Thank you in advance.

ESP_Sprite
Posts: 9052
Joined: Thu Nov 26, 2015 4:08 am

Re: ESP32 as a sensor with MicroPython

Postby ESP_Sprite » Mon Apr 20, 2020 2:52 pm

The $ is not part of the thing you need to enter. Entering 'pip install esptool' (without the quotes) should work (given that whatever you have installed on the RPi has pip installed)

Who is online

Users browsing this forum: No registered users and 117 guests