I would like to use thonny on a raspberry, but I do not see a USB connected ESP8266 (or ESP32) on it.
Any ideas ?
Hello Rui,
I use Jessie raspbian and ESP8266 Witty cloud with CH340G serial chip
https://www.instructables.com/id/Witty-Cloud-Module-Adapter-Board/
That chip should work with Raspbian. If you run the command with the ESP connected:
lsusb
What does it print? Then remove the ESP and run the command again:
lsusb
Can you tell me what it prints in those two situations (with and without the ESP connected). Also make sure that you’re using a USB cable with data wires.
Hi Rui,
Device USB is detected by lsusb
but device not seen by Thonny
Can I insert print captures or join files to improve the dialog ?
Is the USB port being used anywhere else? For example, do you have another terminal or program that uses the serial port? It should display it in Thonny then…
Yes, but unfortunately our website currently doesn’t support image uploads, but you can drag your images to Google Drive, Dropbox, https://imgur.com/ for example. Then, post the link here to the images.
Thanks for your time!
Rui, here is the link to the thonny directory of one of my google drives. It hosts screen captures
of my vnc connected Raspberry
https://drive.google.com/open?id=1x7dUhvHIgQmY0gYSzK-dMwA8gVGQbH7z
My raspberry is vnc connected to my w10 pc.
I have installed Thonny on this pc and on my raspberry.
The same ESP8266, PC USB connected, is detected by the pc thonny
The same device Raspberry USB connected is not recognized by Raspberry Thonny
It would be nice to have ESP/Thonny/MQTT/mosquitto working together in the vnc connected Raspberry : headless operation reached from any LAN pc !
Thank you for your help,
Alain
Hello again, unfortunately I honestly don’t know exactly what’s going on or what’s missing i your setup, because it should be working…
- What’s the Thonny IDE version that you have installed in your Raspberry Pi?
- Can you see that option in Thonny IDE? According to your screenshot, I’m not sure if I can see all the options… You might need to update Thonny IDE.
- More information about Thonny IDE on Linux: https://github.com/thonny/thonny/wiki/Linux
- You might also need to install Thonny-ESP in your Thonny IDE: https://github.com/thonny/thonny/wiki/MicroPython
For this, open Thonny’s plug-in manager (Tools → Manage plug-ins …), enter the name of your chosen plug-in name and press “Search” for thonny-esp . You should now see the details. Press “Install” to install the default version or “…” to choose specific version.