You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • @user118421,

    you not need the USB-TTL adaptor, you can use the Espruino as that link. You can configure it to pass data thru... that is how I updated my very first ESP8266 ESP-01 and later the ESP-09.

    Before you though move into more things, check the wiring, measure voltages, and - flip tx w/ rx. Even though latter is trivial, I was not the first to have it the other way around... :

    Check this conversation about Espruino on ESP8266 ESP-09 - 1 powerful cm2 out. Even though you see the USB-to-TTL adapter on the first pic, reading thru the posts shows you that I did talk to the module thru an Espruino first, and even updated the software.

    I assume you use a Pixl. Did you power it with 5V from USB? Can you measure the voltage on the ESP8266 Module? It may well be that there is something missing.

    There two links you may check out as well (if you not already did): https://claus.bloggt.es/2017/02/26/ardui­no-esp8266-wifi-shield-elecshop-ml-by-wa­ngtongze-comparison/ and https://claus.bloggt.es/2017/01/14/using­-esp8266-shield-esp-12e-elecshop-ml-by-w­angtongze-with-an-arduino-uno/

    To just talk to the ESP8266 - shield not stacked onto the Pixl - connect D0, D1 and GND from Pixl with RX, TX and GND of the shield, and 5V AND GND of a 5V source to GND and 5V of the shield, all debug port pins. Furthermore, check in what mode the module is. The way I interpret the red-white dip switches on the shield, they should be in the run mode... but you never trust... you measure. Even though I used the ESP-09 to describe required signals on the pins (ports) for run mode, the pins (ports) are the same on ESP-12. ESP-12 just exposes more pins (ports) than the ESP-01 or ESP-09.

    For updating the ESP8266 software thru Espruino, I took the hints from https://www.espruino.com/WiFi - Advanced ESP8266 Reflashing. I use the Pico to do it. I've not verified (yet)if you can do it with a Pixl as well.

    Regarding the code you posted in #9, I would place the invocation of your go() as last inside the onInit() ( after the line with Terminal.setConsole(); ).

About

Avatar for allObjects @allObjects started