• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

ESP8266, raspberry and thonny

Q&A Forum › ESP8266, raspberry and thonny
0 Vote Up Vote Down
Alain Falcoz asked 6 years ago

Oops, question started without body !

See my answer to my question…

8 Answers
0 Vote Up Vote Down
Alain Falcoz answered 6 years ago

I would like to use thonny on a raspberry, but I do not see a USB connected ESP8266 (or ESP32) on it.
Any ideas ?

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

Are you using Raspbian OS? Which serial chip does your ESP boards have? 

0 Vote Up Vote Down
Alain Falcoz answered 6 years ago

Hello Rui,
I use Jessie raspbian and ESP8266 Witty cloud with CH340G serial chip
https://www.instructables.com/id/Witty-Cloud-Module-Adapter-Board/

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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.

0 Vote Up Vote Down
Alain Falcoz answered 6 years ago

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 ?

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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!

0 Vote Up Vote Down
Alain Falcoz answered 6 years ago

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

0 Vote Up Vote Down
Rui Santos Staff answered 6 years ago

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.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.