Have been searching online and got a lot of mixed information - some saying that you need an Arduino to sit between the chromebook and ESP8266, because an ESP8266 won't be recognised/accepted directly over USB - is this true?
What's the current cheapest/easiest route for someone with only an ESP8266, a usb cable, and a new chromebook?
Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
-
- Posts: 9
- Joined: Mon Sep 02, 2019 4:36 pm
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
I too have been looking for a solution using a Chromebook using crostini/Linux. Unfortunately it is not possible as of right now as USB support for such serial devices is not present in chrome. Maybe it will change in the future.
For Arduino, there appears to be some sort of web app and ide.
For Arduino, there appears to be some sort of web app and ide.
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
The ESP8266 (and ESP32) don't have a USB interface on them. Originally, it was very common to buy ESP8266 modules that were not much more than just the chip itself with a spiflash. If you wanted to connect them to a computer, you used a separate USB->UART board (e.g. FTDI). Or an Arduino, where you wrote a simple sketch to read bytes in from USB and sent them out the UART (which I suspect is what this is referring to -- it's especially easy on the Leonardo).PixelShady wrote: ↑Sun Nov 03, 2019 3:07 pmsome saying that you need an Arduino to sit between the chromebook and ESP8266, because an ESP8266 won't be recognised/accepted directly over USB - is this true?
Nowadays, it's much more common to see all-in-one boards that have the ESP8266 or ESP32 and a USB-UART adaptor built-in. In other words, if your ESP8266 board has a USB port, it probably has this.
So... this means that if you can get an Arduino serial console to work in Chrome OS, you can almost certainly access an ESP8266 running MicroPython (i.e. MicroPython just looks like an Arduino program). Once you have a prompt on the device via the serial console, you can set up WebREPL and then use that to access it from any browser, and also use it to copy files. (It looks like Arduino Create might be a great option here, and possibly Chromeduino 2).
You just won't be able to actually flash the MicroPython firmware onto it (but that only has to be done once).
I'm surprised to hear that Crostini doesn't provide access to USB serial ports... but I don't know much about Chrome OS.
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Looks like the most recent update on my Chromebook to Chrome stable version 83 has finally enabled pass through of the serial ports to crostini. I have only tried it on my nodemcu esp32. Once you connect it, you get a popup asking if you want to pass to Linux.
It then shows up as /dev/ttyUSB0 inside linux. I was able to connect after installing rshell. The first time, I used sudo rshell to connect but on subsequent connects just rshell seemed to be enough. I was also able to flash the firmware after installing esptool.
I'm glad that this works after waiting for a really long time.
It then shows up as /dev/ttyUSB0 inside linux. I was able to connect after installing rshell. The first time, I used sudo rshell to connect but on subsequent connects just rshell seemed to be enough. I was also able to flash the firmware after installing esptool.
I'm glad that this works after waiting for a really long time.
-
- Posts: 4
- Joined: Thu Dec 24, 2020 9:07 am
- Location: https://mini-militia.com/
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
I think you'll have a hard time programming on a 2GB chromebook TBH. Python will be ok, so will some web and a little javascript. But something heavyweight like Java will be out of the question.rpr wrote: ↑Sun Nov 03, 2019 8:50 pmI too have been looking for a solution using a Chromebook using crostini/Linux. Unfortunately it is not possible as of right now as USB support for such serial devices is not present in chrome. Maybe it will change in the future.
For Arduino, there appears to be some sort of web app and ide.
Background: I had a 4GB Samsung Chromebook Plus and was frequently frustrated by the dev experience. I've since upgraded to a Slate 16GB which I would recommend in every way for development.
If you want to use the Chromebook you have (or any browser, really), you might consider checking out Cloud 9 from Amazon. I use it quite a bit and it's a pretty decent experience.
-
- Posts: 2
- Joined: Wed Jun 02, 2021 6:27 pm
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
Unfortunately it is not possible as of right now as USB support for such serial devices is not present in chrome.
-
- Posts: 1
- Joined: Mon Sep 13, 2021 9:11 am
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
I have the same question, Sir. Please if there's someone who knows an accurate answer to this question, let us know. I really don't want to spend money of buying an Arduino. I'm on a tight budget.PixelShady wrote: ↑Sun Nov 03, 2019 3:07 pmHave been searching online and got a lot of mixed information - some saying that you need an Arduino to sit between the chromebook and ESP8266, because an ESP8266 won't be recognised/accepted directly over USB - is this true?
What's the current cheapest/easiest route for someone with only an ESP8266, a usb cable, and a new chromebook?
best regards: Ethan.Winters
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
I prefer usb cable with the ESP8266 and andruino.
Re: Programming ESP8266 on Chromebook in Nov 2019; with both Linux/android apps now accessible, is it easier?
No, it is not true that you need an Arduino to sit between a Chromebook and an ESP8266. While it is true that Chromebooks have limited support for external devices compared to other platforms, you can still program and communicate with an ESP8266 directly from a Chromebook without the need for an Arduino.PixelShady wrote: ↑Sun Nov 03, 2019 3:07 pmHave been searching online and got a lot of mixed information - some saying that you need an Arduino to sit between the chromebook and ESP8266, because an ESP8266 won't be recognised/accepted directly over USB - is this true?
What's the current cheapest/easiest route for someone with only an ESP8266, a usb cable, and a new chromebook?
The ESP8266 can be programmed using the Arduino IDE, which is available as a web-based version called Arduino Create. With the Arduino Create web editor, you can write and upload code to the ESP8266 using the Chromebook.